Category "http-status-code-401"

401 unauthorized browser alert after fetch call with bearer token in react

I have a get fetch request with header having Bearer token, getting 401 unauthorized error, even if the response status condition checked in the then statement,

Why do I get a 401 unauthorized error when logging in?

I am using the NextAuth.js credentials provider for the log in procedure. When logging in I am catching the errors in a try-catch block and set the error state

How to pass NTLM credentials using angular http post call? [duplicate]

I am working on localhost where angular and web api using 2 different ports that's causing issue now. I am trying to call web api c# from angu

WebDAV return 401 - How to authenticate?

I have a problem with WebDAV. I have to get a list of files. I have this request: <?xml version="1.0"?> <D:searchrequest xmlns:D = "DAV:"> <D:sq

HTTP/1.1 401 Authorization Required with HttpClient 4.1.1

Updated Code:- Using SSL, still am getting the same error.. I am trying to open this uri https://some-host/a/getmeta?id=10 (this url is passed to proxi.jsp

403 Forbidden vs 401 Unauthorized HTTP responses

For a web page that exists, but for which a user does not have sufficient privileges (they are not logged in or do not belong to the proper user group), what is