How are we doing? Please help us improve Stack Overflow. Take our short survey

Questions tagged [unauthorized]

If referring to the HTTP error code "401 Unauthorized", use "http-status-code-401".

unauthorized
Filter by
Sorted by
Tagged with
0 votes
0 answers
25 views

error "401" unauthorized_client while requesting for refresh and access token using authorization code

I am trying to get refresh token and access token from OAuth2 using the authorization code. But I am repeatedly getting unauthorized_client error as response. I have configured the consent screen and ...
0 votes
2 answers
470 views

ActiveMQ Classic 6 on Docker - When login to Admin console with default credentials I get 401 unauthorized error

I am using the latest official ActiveMQ Classic 6 Docker image via Docker Desktop. However, authorization doesn't work with default credentials (i.e. admin/admin). I am getting 401 unauthorized error. ...
0 votes
1 answer
41 views

businesscentralPrefix- Dynamic 365 Bussiness central

I'm Working Oauth2.0 authentication for Dynamic Bussiness central, Actually i've Got all required tokens & the issue is i can't create any endpoints by using post, get , put, delete. i dont know ...
0 votes
1 answer
16 views

Unauthorized Error while using CLoud Config Spring Security and Eureka together

I have been trying to run my Eureka server and Cloud config together, I'm using Spring Boot 3.1.3 and Spring Cloud version 2022.0.5. Since a lot of things get deprecated I updated my code and got ...
0 votes
0 answers
12 views

Mailgun 401 forbidden

send email with react, node using mailgun I try to send a email message by using mailgun. I use node.js (nest.js) and this is my js file. What should I change? I got this Error Unauthorized, forbidden ...
0 votes
1 answer
86 views

Invoke-PowerBIRestMethod: One or more errors occurred. (Response > status code does not indicate success: 401 (Unauthorized)

I try to get Power Bi transactions in PowerShell but got 401 unauthorized error. I run first the commando 'Login-PowerBIServiceAccount' and the browser opened automatically to sign in with my ...
0 votes
0 answers
25 views

New issue in server Php Laravel Sanctum Unauthenticated 401 after login live server

Local server is ok but Laravel Sanctum Unauthenticated 401 after login live server .env file app url check. Database check generate token. Server optimize clear run in server My project is subdomain. ...
0 votes
0 answers
42 views

OAUTH_TOKEN_HEADER_INVALID with Google Ads API in PHP using Web client or Service account

I've set up an OAuth2 web project as well as a Service Account. Both IDs have been added with domain-wide delegation with the adwords scope in my Google Workspace. I have a Google Ads Manager account ...
1 vote
2 answers
983 views

Getting Unauthorised 401 for my nextjs 13 app on Search Console

I built out a nextjs 13 webapp using clerk for auth. The issue is that the homepage of the web app isn't discoverable on Google. when i Test Live URL, this is how it looks: enter image description ...
-1 votes
2 answers
57 views

PostMan Unauthorized 401

I'm having an issue when trying to register a new user in my Laravel application that uses Passport for API authentication. Here's the scenario and the error I'm facing: Scenario: I'm developing a ...
0 votes
0 answers
116 views

Authorization error on the UI in HealthChecks.UI using the UI (/healthchecks-ui endpoint) but works fine when calling the JSON endpoint (/health)

UPDATE: I definitely have some sort of deep-rooted authentication problem. This doesn't really have anything to do with the HeakthCheck.UI project I don't think. I set up a simple test controller and ...
0 votes
0 answers
119 views

IIS Express - localhost - authentication - unauthorized

Visual Studio 2017 and 2022 Windows 11 Perhaps something was changed in my local environment by my organization's IT... Ctrl-F5 launches app on localhost as usual, but I am prompted for authentication ...
0 votes
1 answer
95 views

Getting UnAuthorized 403 Error in Postman Read or Patch on Azure FHIR API

I'm using Azure FHIR API, Created and FHIR API, Registered an Client Application and added Azure Health Care APIS as well data FHIR contributor role for my user. Trying to access this FHIR API via ...
570 votes
43 answers
1.1m views

ADB Android Device Unauthorized

Since I reinstalled Eclipse (simply deleted and downloaded it again) I can't debug my applications on Samsung Galaxy i9001 (with CyanogenMod - Android 4.4.2). It worked fine before reinstallation. ...
-2 votes
1 answer
73 views

I am getting the Following error while running my typeScript code I am also using appwrite for my application [closed]

Failed to load resource: the server responded with a status of 401 () api.ts:88 AppwriteException: User (role: guests) missing scope (account) at Client.<anonymous> (http://localhost:5173/...
1 vote
0 answers
3k views

API http call returns 401 Unauthorized with httpClient in Angular 5

return this.http.get<any>('https://test.p-44.com/api/v3/tl/shipments/'+id+'/statuses?includeMapUrl=true', { headers: new HttpHeaders() .append('Accept', 'application/json'...
55 votes
1 answer
2k views

Intermittent 401 Unauthorized from Google GCM

We are getting intermittent 401 Unauthorized errors from Google's GCM service. In the past, it worked 100% of the time. The problem might coincide with our routers accepting IPv6 traffic, but the ...
0 votes
1 answer
68 views

spring controlleradvice is not catching aexpirerJwtException

@ExceptionHandler(DataIntegrityViolationException.class) public ResponseEntity handleRegisterUsernameDuplication(DataIntegrityViolationException e){ ErrorObject errorObject = new ErrorObject( ...
16 votes
11 answers
90k views

I'm not able to log in Tomcat Manager App

I have read a lot of topics in stackoverflow for solve my problem, but none was useful. When I tried to log in Manager App ([http://localhost:8080/manager/html][1]) using a lot of different ...
20 votes
6 answers
77k views

Keycloak API always returns 401

I'm trying to interact with Keycloak via its REST API. I have the master realm and the default admin user, and a test realm. Firstly, I get an access token for the admin account and test realm: let ...
0 votes
1 answer
371 views

How to add authorize token to js function to download file function?

I have a blazor client and there's a function need to download a file. I have a look at this reference. It works if I set the API endpoint to allow anonymous. But when I set API endpoint with [...
0 votes
0 answers
36 views

Laravel 5.8: Laravel Passport API Authentication Issue Outside PHP artisan serve

I am encountering an authentication problem with my Laravel API when attempting to run it without using PHP artisan serve. I have implemented Passport for authentication. The authentication process ...
0 votes
0 answers
50 views

Token get unauthorized in keycloak cluster even for active session

I’m using keycloak 16.1.1 with two node cluster. If one node shutdown I’ll get 401 unauthorized response with the below message for valid token. { "error": "invalid_request", "...
32 votes
15 answers
37k views

Credentials do not work for "docker login"

Copy/pasting my username and password into the Docker Hub website works fine. The password is long, but does not contain shell-breaking symbols. Copy/pasting those same credentials into command-line ...
0 votes
1 answer
91 views

Java 8 - POST request with Bearer token fails with 401

Please note that I must use java 8 for this work. Initially do a POST for authentication to the middleware Gateway and get accessToken. Using the same access token I do a POST to the service end ...
-2 votes
1 answer
48 views

Spring Boot Authorization

I do not know how to be able to do request from endpoint localhost:8080/manage/** First off before everything I go on my endpoint localhost:8080/api/auth/register and I do enter my user that already ...
0 votes
0 answers
43 views

How to Scraping by Tweepy

This is my first time using Tweepy to scraping my tweet, i use Google colab and i get stuck while make a query # Define query query = 'from:BarackObama -is:retweet' # get max. 100 tweets tweets = ...
1 vote
2 answers
2k views

What is /?next=/ in url django?

I wonder why my url is http://localhost:8000/?next=/randomization/ when I directly type http://localhost:8000/randomization/ in the browser for an unauthorized user?
0 votes
0 answers
37 views

.NET Framework 4.7 API v2 doesn't see call from Blazor server as authenticated

I feel like I'm really close to solving this, since I must be from mashing keystrokes for 4 days straight. :) Here's the env: Legacy .NET Framework 4.7 (app 1) has login form (Owin packages below) ...
1 vote
0 answers
59 views

golang docker client build failed : 401 Unauthorized

cli, err := client.NewClientWithOpts(client.WithVersion("1.40")) if err != nil { return "", err } defer cli.Close() authConfig := types.AuthConfig{ ...
1 vote
2 answers
5k views

Confluence REST API Authorization issue

I am having issues with Atlassian Confluence REST API authentication. Please take a look at following C# code : private string USERNAME = "test"; private string PASSWORD = "test"; HttpWebRequest ...
0 votes
1 answer
148 views

Apache HttpClient skips Authorization header in the next call after getting 401

When I do two sequential same HttpGet requests with the wrong authentication data, the first request returns proper 401 error but second does not return the 401 error. I'm calling HttpGet request with ...
1 vote
2 answers
227 views

How to customize Unauthorized response in Quarkus?

Because we use a custom format of error we want to customize all error responses ... in particular Forbidden (we succeed) and Unauthorized (we failed). I read many docs, posts and I tried different ...
0 votes
0 answers
1k views

Getting error 401 (Unauthorized) when trying to fetch data

I am building this small project with C# and Vue.First I had CORS problems (blocked CORS)and I fixed it by adding <customHeaders> <add name="Access-Control-Allow-Origin" ...
0 votes
0 answers
188 views

An error occurred (Unauthorized) using boto3 upload file with python

I encountered an error while trying to upload a file to the Storage using boto3 on CloudFlare R2. Until a few days ago, there were no issues with this code, but suddenly, an issue arose, and it's ...
0 votes
1 answer
100 views

This Action is Unauthorized 403 / Unable to Load Form Page on Laravel 7

I can't open edit profile page (a form), and I'm not sure what went wrong, because I can access it at first. Then I wrote code here and there (not touching any file/class related to edit profile), but ...
0 votes
0 answers
214 views

Retry failed requests due to 401 Unauthorized after token refresh Angular

I am currenlty using angular-oauth2-oidc for authentication I am facing an issue with retrying the failed requests after token refresh. i.e I when I make a request it fails due to an expired token ...
0 votes
1 answer
54 views

Getting Unauthorized error when executing createRole on MongoDB

Below are the privileges for my account svc-mydbuser user { privileges: [ { actions: ["dropRole", "createRole", "grantRole", "find", "...
0 votes
0 answers
2k views

net::ERR_ABORTED 401 (Unauthorized). How do I fix this react error?

I am trying to create very simple react app that can create POST requests. The API that I am trying to reach is password protected so I tried having Authorization header in post request but couldn't ...
0 votes
2 answers
2k views

Is there a way around the yfinance Ticker method returning that I'm not authorized?

yfinance.Ticker (version 0.2.22) was working for my well for the past 2 months: hndl = yf.Ticker(symb) info = hndl.info Today it fails immediately - returning: HTTPError: 401 Client Error: ...
0 votes
1 answer
889 views

Delphi TRestrequest resulting in a 401 Unauthorized error

I'm trying to call API to post a zip-file using the Delphi TRestRequest-components. If I use Postman, I get the expected result. However if I'm using TRestRequest I'm getting an 401 Unauthorized error....
0 votes
0 answers
133 views

Unauthorized 401 on calling scan URL CopyLeaks API

I am trying to call an api of copyleaks using Postman https://api.copyleaks.com/v3/scans/submit/url/my-special-id but I am getting this error { "type": "https://tools.ietf.org/html/...
0 votes
0 answers
54 views

Getting 401 error in jenkins job during Nexus deplyment

I have a Jenkins job with Nexus and GitLab integration. When deploying the repo in nexus it's giving 401 error. I have checked this error is unauthorization, but I have tried with my credentials. I ...
0 votes
0 answers
45 views

How to manage cookies in SAP CDC application for authentication

I have added http cookie manager. Still getting error message: unauthorised user I have also changed the property in user.properties file: CookieManager.save.cookies=true What to know about how to ...
0 votes
0 answers
375 views

Jfrog Artifactory - Unable to do build project due 401 error

I’m trying to build a project and it throws a Artifactory Unauthorized error . I seem to have the same settings.xml as the rest of the team with my Jfrog Artifactory username/password in it. Would ...
1 vote
1 answer
242 views

401 Unauthorizied Error in Postman using Spring Boot App

I'm trying to implement a JWT token using Spring Boot, this is my WebSecurityConfiguration: @Autowired private JwtAuthenticationEntryPoint jwtAuthenticationEntryPoint; @Autowired private ...
-1 votes
1 answer
78 views

docker push failure getting unhelpful unspecific "unauthorized" message

image builds fine and successfully tags. then the below is logged. f5274dbb265d: Preparing 0c484a3ebe7d: Preparing a0f976e3bcb6: Preparing 367c87d34790: Preparing b0be1ac61406: Preparing 7a2766f96db9: ...
0 votes
0 answers
407 views

401 ERROR downloading github package with maven

Im trying to import a github package for a java program and I'm getting a 401 error. I have set up setting.xml (/.m2/) with my github username and password. code: <settings xmlns="http://maven....
0 votes
0 answers
42 views

"Unauthozied acceess" error when I access influxDB from my python code with token

I am facing an issue. I did a tutorial of influxDB The tutorial provides python code with token for accessing influxDB. However, It's failed and show "Unauthoried access" error message. ...
0 votes
1 answer
217 views

JMeter gives Response code 401 Unauthorized

I use JMeter 5.5. I have an HTTP Request GET to URL_A. This will auto direct to URL_A/Authentication, then will auto direct to URL_B. The URL_B prompts username & password. This is how my Test ...

1
2 3 4 5
11