Error, "Failed to fetch results from V2 feed", When downloading from group repo using nuget.exe

When I tried to download a package from group repo using nuget.exe, I failed with the error saying “Failed to fetch results from V2 feed”. When I download from hosted repo, I don’t have any issue.

Detail message I see is as follows.

GET https://sparkbinsand.collaboration.agilent.com/repository/SPSD-PLAJSW-G/FindPackagesById()?id=‘ICPMassHunterGoldMasterImage’&semVerLevel=2.0.0
BadGateway https://sparkbinsand.collaboration.agilent.com/repository/SPSD-PLAJSW-G/FindPackagesById()?id=‘ICPMassHunterGoldMasterImage’&semVerLevel=2.0.0 937ms
An error occurred while retrieving package metadata for ‘ICPMassHunterGoldMasterImage’ from source ‘sandbin’.
Failed to fetch results from V2 feed at ‘https://sparkbinsand.collaboration.agilent.com/repository/SPSD-PLAJSW-G/FindPackagesById()?id=‘ICPMassHunterGoldMasterImage’&semVerLevel=2.0.0’ with following message : Response status code does not indicate success: 502 (The group repository SPSD-PLAJSW-G contains a proxy with different nuget version).
Response status code does not indicate success: 502 (The group repository SPSD-PLAJSW-G contains a proxy with different nuget version).

Nuget version that I am using is NuGet Version: 5.7.0.6726.

We have both Nexus PRO and OSS environments, and this issue takes place only on OSS environment.

Thanks for your help in advance.
Chang

This sounds like you have a group repository which is mixing v2 and v3 Nuget repositories.

Thanks for your response. Can you please help how I can check version of Nuget from Nexus server or group repository? It only shows “Nuget” without version.

Thanks,
Chang