© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
18 replies
Aye

swagger Error: response status is 401

Hi. I've a c# web project; it's about a phonebook with two entities: user and contact. I use Swagger to prove the endpoints and it's works with the user's ones but throw an error in the case of contacts's endpoints. The project has jwtSecurityToken, it's generates correctly but i haven't get the contact's endpoints works. The console only indicates: "Failed to load resource: the server responded with a status of 401". If someone can help me, I could send parts of the code and review the error. And this is the remote repo https://github.com/AyeVillagra/AgendaTelefonicaApi
Thanks!
GitHub
GitHub - AyeVillagra/AgendaTelefonicaApi
Contribute to AyeVillagra/AgendaTelefonicaApi development by creating an account on GitHub.
GitHub - AyeVillagra/AgendaTelefonicaApi
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

✅ api response 401
C#CC# / help
3y ago
✅ Describing `object` response in swagger
C#CC# / help
2y ago
Swagger multiple error types
C#CC# / help
4y ago