Share via

VS 2026 Unable 2 load service index 4 source https://api.nuget.org/v3/index.json -- occurs when attempting to compile

Picazo, Paul 5 Reputation points
2026-01-29T18:06:27.58+00:00

Attempting to use VS 2026. I have been trying to use AI to find a solution. I clicked on the Send Feedback button and selected report a problem but received "This site can’t be reached" message.

When I click on Build or Rebuild Solution I get "NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json. The content at 'https://api.nuget.org/v3/index.json' is not a valid JSON object. The JSON document is not an object." while on command prompt I tried "dotnet restore --force --no-cache" but received the same message. In command prompt I can enter the following command "curl https://api.nuget.org/v3/index.json" and I can see alot of stuff but in power shell I see very little. When I loaded VS 2026 this problem began and it effected VS 2022 the same way. On another machine I had where I did not load VS 2026, VS 2022 still worked.

Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other

A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.


2 answers

Sort by: Most helpful
  1. Picazo, Paul 5 Reputation points
    2026-01-30T20:18:00.08+00:00

    We had the file whitelisted and it is working now.

    Was this answer helpful?

    1 person found this answer helpful.

  2. Picazo, Paul 5 Reputation points
    2026-01-30T21:03:34.8633333+00:00

    I accept my answer of whitelisting the file from within our security side.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.