Nuget throwing 401 unauthorized error for no apparent reason

Viewed 12867

I'm using VS2015 and Nuget to install external packages. Everything was working fine until today when Nuget started spitting out a:

Response status code does not indicate success: 401 (Unauthorized)

I tried looking around for a solution, everyone is suggesting to provide again the credentials, either from the console or the UI under tools -> nuget package manager -> manage nuget packages for solution

No luck, what's going on here?

2 Answers

I've faced this problem recently. The reason was password expiration for the user in the NuGet.config. After resetting, everything worked fine.

Related