0

I'm using dotnet version 2.1.503, and I'm trying to run the command:

dotnet tool install dotnet-ignore --global

But I'm getting an error saying error

C:\Program Files\dotnet\sdk\2.1.503\NuGet.targets(114,5): error : Response status code does not indicate success: 401 (Unauthorized).

What's going on?

hannes neukermans
  • 12,017
  • 7
  • 37
  • 56
  • 1
    It really sounds like a networking issue on your end. Can you reproduce the problem on another machine or from another network? – omajid Mar 28 '19 at 03:15
  • I had a similar problem. For me the problem was that I am under a corporate proxy-server. [This](https://stackoverflow.com/a/15463892/6560579) answer solved my problem. – Ackdari Jul 27 '20 at 09:28

1 Answers1

0

Try removing the nuget machine wide configurations that require authorization. See the answer to this question: Permanently remove machine-wide package source

Joe.P
  • 319
  • 4
  • 10