RicoSuter/NSwag

Unauthorised error while using NSwagStudio

Open

#2,008 opened on Mar 8, 2019

View on GitHub
 (2 comments) (0 reactions) (0 assignees)C# (1,189 forks)batch import
help wantedtype: question

Repository metrics

Stars
 (6,291 stars)
PR merge metrics
 (No merged PRs in 30d)

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