RicoSuter/NSwag

Unauthorised error while using NSwagStudio

Open

#2,008 opened on Mar 8, 2019

 (2 comments) (0 reactions) (0 assignees)C# (1,356 forks)batch import
help wantedtype: question

Repository metrics

Stars
 (7,358 stars)
PR merge metrics
 (PR metrics pending)

Description

I am using NSwagStudio to generate C# classes for my project. But when I give production API url in swagger specification URL, throws 401 error. Same URL if I try in chrome works fine without any error.

Error Message - Response status code does not indicate success: 401 (Unauthorized).

Please assist to solve this issue.

Contributor guide