I can confirm this issue is due to the API Blocked in your country. I used the desktop vpn and I was able to connect to nuget.
Unable to load the service index for source https://api.nuget.org/v3/index.json.
Sajjad Afzal
51
Reputation points
Visual Studio2022: Nuget package manager is giving error:
Unable to load the service index for source https://api.nuget.org/v3/index.json.
- Windows 10 machine
- Cannot access https://api.nuget.org/v3/index.json. in the browser
- https://www.nuget.org/api/v2/ works in browser and Visual Studio
- 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,264 questions
3 answers
Sort by: Newest
-
-
Waqas Anwar 20 Reputation points
2025-05-12T16:33:00.7033333+00:00 As per the following blog post Nuget v3 API is down but it will be available soon so for now it's suggesting same solution of going back to v2 temporarily.
-
Sajjad Afzal 51 Reputation points
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.
and In the Nuget Package Manger change the Package source the new source