NuGet V2 Feed Error about Returned Unexpected 401 Status Code
Environment
| Product | Progress® Telerik® Reporting |
| Private Telerik NuGet Feed | Installation |
Description
After changing my Telerik password, I get a Telerik NuGet V2 feed error about a returned unexpected status code 401.
Error Message
[Telerik Nuget] The V2 feed at '...' returned an unexpected status code '401 Logon failed.'
Cause
After changing your Telerik password, you need to reset your credentials in the NuGet.config file.
Solution
Update your credentials and use an API key instead of a password. Using an API key instead of a password is a more secure approach:
- Generate an API key.
- Update the credentials for the Telerik NuGet feed by running
NuGet Sources Update -Name "telerik.com" -Source "https://nuget.telerik.com/v3/index.json" -UserName "api-key" -Password "YOUR-API-KEY" -StorePasswordInClearText