Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 1.44 KB

error-unauthorized.md

File metadata and controls

39 lines (27 loc) · 1.44 KB
title description type page_title slug tags res_type
Error 401 Unauthorized
Learn how to resolve issues related to "Error 401 Unauthorized".
troubleshooting
How to solve Error 401 Unauthorized
error-unauthorized
server, error, unauthorized, nuget, telerik nuget server
kb
Author
Dobrinka Yordanova

Description

I receive Error 401 Unauthorized when trying to connect the Telerik NuGet server. I verified my credentials and they are correct. I also have an active license for the product.

Cause

If you receive Error 401 Unauthorized but your credentials are correct and your license includes the requested product and version, the most probable cause are special characters in the password.

Solution

Escape the special character in your password, for example, an ampersand (&) or a section character (§).

To solve the issue, use either of the following methods:

  • Change the password so that it doesn't include characters you need to escape.
  • Escape the special characters before storing the credentials. For example, my§uper&P@§§word encodes to my§uper&P@§§word.

Avoid using an online encoder utility for a password. Instead, use a PowerShell command:

Add-Type -AssemblyName System.Web
[System.Web.HttpUtility]::HtmlEncode('my§uper&P@§§word')

PowerShell Encoding