Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [http-status-code-401]

Similar to 403 Forbidden, but specifically for use when authentication is possible but has failed or not yet been provided. The response must include a WWW-Authenticate header field containing a challenge applicable to the requested resource.

http-status-code-401
0 votes
0 answers
14 views

Get data from P6 EPPM API using Python with response 401

I am trying to retrieve data from P6 EPPM API following their documentation as per https://docs.oracle.com/cd/F51301_01/English/Integration_Documentation/rest_api/index.html I am using PySpark in ...
Tong LIU's user avatar
0 votes
0 answers
37 views

401 unauthorized while downloading file using the graph api, all other requests work

I have been stuck for couple of hours debugging some strange behaviour with the Graph API of Microsoft. I have made a onedrive importer/exporter a few years back and I am trying to get it to work ...
RolandMakkelie's user avatar
0 votes
1 answer
56 views

Keycloak Account API returns Unauthorized 401 with token from user logged in via my spring client

I think the client I added for spring security is missing something that the built-in admin client uses when you visit the http://0.0.0.0:8080/realms/testrealm/account/ manually and login - chrome dev ...
Jim P's user avatar
  • 571
0 votes
0 answers
35 views

401 error returned when running backend in docker but not in visual studio

I am facing an strange issue. The backend is written in .Net Core and I add authorization policy to restrict user to visit. Since a user might have multiple roles, I design the policy as follows in ...
AoLiGei's user avatar
  • 51
0 votes
0 answers
13 views

Reactjs getting 401 error only at the first time

I am getting 401 error (mern stack project)only when i tap on the profile icon for the first time, but if i refresh the account page then all the datas are shown correctly. This is the page in which i ...
Alim Bin Yeasin's user avatar
0 votes
1 answer
67 views

401 unAuthorized response when making get request in flutter with Dio or http packages

I am facing a big problem when I am making an http get request to a server when using both dio and http packages, I am sending a token in the header of request, but always get 401 unauthorized ...
Muhammed Ashraf Al-Arabi's user avatar
0 votes
0 answers
49 views

401 Not authorized - Problem accessing a Fiori application

I have always been able to access one of our apps from our client 910 via a Fiori Launchpad without any problems. However, presumably without anyone having made any changes in the backend or system, a ...
user25633323's user avatar
0 votes
0 answers
31 views

Code works but shows 401 client error in replit

I wrote this piece of code on my pycharm which works and still works anytime I run it on pycharm. But I needed to put the code on replit and it keeps giving me 401 client error on replit On replit I ...
David Oladeji's user avatar
0 votes
0 answers
21 views

How to send custom status code in Spring Boot /oauth/token API (spring version 2.5.2)

In spring boot projact, I want to handle oauth/token API. If credentials are correct, it successfully return status: 200 and other details (access token, refresh token, etc). I created Java class ...
Lakshmi Kanchana's user avatar
0 votes
1 answer
63 views

401 on wordpress webpage and showing all white

I have a wordpress website that was working fine until this morning. Now, all pages show white. the funny thing is that if I hover my mouse over the white pages, I can see the links on the back. When ...
Bruno Andrade's user avatar
0 votes
1 answer
119 views

Authorize in API returning 401 error (invalid token) when using duende identityserver and docker compose

So I'm playing around with docker, .net (8) and angular. I'm currently trying to secure my API by sending a token I obtained from my duende identityserver solution to the API to get data there. ...
John Jameson's user avatar
0 votes
1 answer
48 views

401 error in axios post method in react project

So, I have to add a product to the basket in the project I wrote with React. But I get a 401 error, while I send the access token in the header.When logging in, I store the tokens locally, and I have ...
Pasha Mammadov's user avatar
0 votes
1 answer
216 views

Spring boot 401 Unauthorized on Post Request for authentication

i'm using spring boot as an api and i'm testing with postman , i tried to implement spring security authentication with roles using the following configuration : public SecurityFilterChain ...
Youssef Elhejjioui's user avatar
0 votes
1 answer
40 views

rails api app with devise gem- always getting 401 error

I have set up a new rails api app and trying to use devise for login, but even with correct email and password getting 401 always Trying to solve it for a couple of days but no luck Below are the ...
Subi's user avatar
  • 23
1 vote
0 answers
422 views

Bearer error="invalid_token",error_description="The signature key was not found"

I am new to asp.net identity and jwt token authentification and having trouble authorizing API endpoints, or more exactly making calls to enpoints that require authorization. I created an Asp.net Core ...
Luca Ionut's user avatar

15 30 50 per page
1
2 3 4 5
76