Unable to load the service index for source https://api.nuget.org/v3/index.json.

Sajjad Afzal 1 Reputation point
2025-05-11T07:23:07.2+00:00

User's image

Visual Studio2022: Nuget package manager is giving error:

Unable to load the service index for source https://api.nuget.org/v3/index.json.

  1. Windows 10 machine
  2. Cannot access https://api.nuget.org/v3/index.json. in the browser
  3. https://www.nuget.org/api/v2/ works in browser and Visual Studio
  4. TLS 1.2
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,242 questions
{count} vote

1 answer

Sort by: Most helpful
  1. Sajjad Afzal 1 Reputation point
    2025-05-11T17:10:05.2166667+00:00

    Or you can change the nuget source to https://www.nuget.org/api/v2/ in Visual Studio options.

    User's image

    and In the Nuget Package Manger change the Package source the new source

    You found this answer helpful.

Your answer

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