# Cannot filter packages in nuget v2 repository

**URL:** <https://community.sonatype.com/t/cannot-filter-packages-in-nuget-v2-repository/16037>\
**Category:** Sonatype Nexus Repository\
**Tags:** nuget\
**Created:** [February 10, 2026, 9:37pm UTC](https://community.sonatype.com/t/cannot-filter-packages-in-nuget-v2-repository/16037 "2026-02-10T21:37:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Orion\_Poplawski](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/orion_poplawski/32/3883_2.png) [@Orion\_Poplawski](https://community.sonatype.com/u/Orion_Poplawski)\
**Post date:** [February 10, 2026, 9:37pm UTC](https://community.sonatype.com/t/cannot-filter-packages-in-nuget-v2-repository/16037/1 "2026-02-10T21:37:47Z")

</div>

We have a nexus 3.83 nuget v2 proxy repository. I’m trying to get a filtered list of packages via “/repository/ChocolateyInternal/Packages()?$filter=Id eq ‘chocolatey’” but I get a list of all packages returned. What am I doing wrong here?

---

<div class="post-metadata">

**Author:** ![Orion\_Poplawski](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/orion_poplawski/32/3883_2.png) [@Orion\_Poplawski](https://community.sonatype.com/u/Orion_Poplawski)\
**Post date:** [February 10, 2026, 10:14pm UTC](https://community.sonatype.com/t/cannot-filter-packages-in-nuget-v2-repository/16037/2 "2026-02-10T22:14:12Z")

</div>

The upstream repository is running nexus 3.71.0.6 and it is returning status 400 for the query and:

```auto
<m:error xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
<m:code>NuGet.V2.Deprecated</m:code>
<m:message xml:lang="en-US">The combination of parameters provided to this OData endpoint is no longer supported. Please refer to the following URL for more information about this deprecation: https://aka.ms/nuget/odata-deprecation</m:message>
</m:error>

```

which I suppose is the primary issue here?

---

<div class="post-metadata">

**Author:** ![mpiggott](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@mpiggott](https://community.sonatype.com/u/mpiggott)\
**Post date:** [February 11, 2026, 2:42pm UTC](https://community.sonatype.com/t/cannot-filter-packages-in-nuget-v2-repository/16037/3 "2026-02-11T14:42:41Z")

</div>

Yes, Microsoft discontinued a number of expensive queries in nuget v2 a long time ago
