Questions tagged [unauthorized]

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

Filter by
Sorted by
Tagged with
0votes
0answers
10views

How to authorize an MS Flow connector in Asynchronuous Pattern

I have an azure function that is a long-running process but MS Flow connector has a limit of 2 minutes. I followed this article - What you should know about building Microsoft Flow connectors , (...
user avatar
  • 479
-1votes
0answers
44views

Error 401 unauthorized only appears in heroku api, works locally

I keep geting this error when i added token validation in the middleware in some routes. I'm using git oauth to generate the token. When i press the sign in with gituhub button, the normal way is to ...
user avatar
0votes
0answers
24views

NuxtJS - Error 401 (Unauthorized) on localhost

I guys, I cannot find a way to fix this problem: I get a 401 error (unauthorized) when trying to get data from the API on localhost, we are using azure to hold both the API and the website in dev mode....
user avatar
0votes
0answers
17views

Irregular AD login prompts for SharePoint 2013 after subsequent AJAX calls in Edge

Since some time ago some customers complain that they get login prompts while using our webparts on a SharePoint 2013 web part page. The web application has been configured to use Windows ...
user avatar
  • 1
0votes
0answers
14views

.Net WEB API Unauthorized

I created WEB API project in VS and Authentication type I choose is Individual User Account. After that I created one model class and controller which has [Authorize] parameter on get data method for ...
user avatar
0votes
1answer
56views

Can a service principal Access admin Portal settings in PowerBi service?

I cannot assign a capacity Id to a workspace via Powershell commands, logged in with a service principal. $workspace = Get-PowerBIWorkspace -name 'XXX-XX-XXXX-XXX' $workspaceId = $workspace.Id echo $...
user avatar
5votes
1answer
137views

Prevent unauthorized http requests redirected to /error from setting session cookie - spring boot - spring security

Context I'm having some trouble with my application. We're using Spring Boot 2.4.10 and Spring Security 5.4.8. We use cookies to interact with the app. We have a frontend application stored in src/...
user avatar
  • 87
0votes
0answers
74views

Accessing android device unauthorized with adb

I need to access a phone with a broken screen, I can't see or touch anything. ADB detects the phone but it says: $$ adb: device unauthorized. This adb server's $ADB_VENDOR_KEYS is not set Try 'adb ...
user avatar
-1votes
1answer
99views

Not able to send http Request with authorization header in my Azure function when deployed in Server

I have used HttpClient and I'm setting Authorization headers to it, when I run my Timer Trigger and HTTP trigger functions locally Everything is working fine and able to get the expected response, But,...
user avatar
  • 1
0votes
0answers
128views

Unable to verify Signature Sendgrid Event Webhook?

Webhook: @ApiTags('SendGrid Event') @Controller('/sendgrid-event') export class SendGridEventController { constructor( private readonly appService: AppService, private readonly ...
user avatar
-1votes
1answer
28views

How can I find out which program is sending data out, and what the data is?

I have a connection to a websocket server that some python code runs, and after some time (doesn't happen right away), it begins to send massive amounts of data "out" as shown in the ...
user avatar
0votes
0answers
22views

Axios unathorized error when I try to send a PUT request

I am using axios for sending http requests to Node backend API with React frontend. For almost all my routes are protected, so I have to send Bearer token to backend with my requests. I set it ...
user avatar
  • 188
0votes
2answers
148views

OKTA access token using token endpoint url returns http 401 error

I am new to OKTA. Using the below code to get the access token.. but getting 401 unauthorized error in this line inputBuff = new BufferedReader(new InputStreamReader(httpsClient.getInputStream())); ...
user avatar
  • 25
0votes
0answers
39views

ASP .Net Core cookie authorization 401 on Ajax and redirecttoaction

created a project with asp.net core 3.1 MVC. In the admin panel, I tried to change some properties using forms. here is the code below; var ogr = uow.GetRepository<Ogrenci>().Find(x=>x....
user avatar
0votes
0answers
11views

attempt in Web API AuthorizeAttribute to bypass AuthorizeFilter

I have a requirement that i on a Web API call need a method to Allow Anonymous in a base project but to able to place a policy on the method in a derived project. I tried to achieve this by placing a ...
user avatar
2votes
1answer
163views

401 error when using docker push to private registry (Heroku Registry)

While following Heroku's docs for how to push a docker image to their registry, I keep running into this error: > docker push registry.heroku.com/<MY-APP>/web ...
user avatar
  • 336
1vote
0answers
682views

Unauthorized: authentication required Harbor

I am facing the following issue. I have a harbor private registry and i am trying to login through docker cli. I am able to login successfully with: docker login <harbor_ip>. When i execute this ...
user avatar
0votes
0answers
31views

Fcm 401 error when using HttpsURLConnection in java

I'm trying to test out Firebase Cloud messaging in java and used the following code String url = "https://fcm.googleapis.com/fcm/send"; URL obj = new URL(url); HttpsURLConnection con = (...
user avatar
0votes
0answers
39views

Sawtooth validator cannot write to the influxdb2 database: Unauthorized

I am trying to connect Hyperledger Sawtooth 1.2.6 validator to Influxdb 2.0.8. When I try to start my validator with this command: sudo -u sawtooth sawtooth-validator -vv , I get the following warning ...
user avatar
  • 1
0votes
0answers
21views

Blazor client-side : calling API from DataService : 401 (Unauthorized)

My user is authenticate. If I call the API inside the razor.cs file (code behind) [Authorize] works. But when I try to do the very same call from my DataService I got this one : Unhandled exception ...
user avatar
  • 51
1vote
1answer
58views

OroCommerce store rest api always throwing error for 401 UnAthorized

I have created access token using oauth-token api for orocommerce. using that access token when i am going to call any admin api for OroCommerce it's throwing 401. Anyone can help? Any suggestions ...
user avatar
0votes
0answers
57views

Displaying a error message when 401 Unauthorized + windows authentication+ IIS

I have Windows Authentication Enabled for my application With Windows Authentication, access given to specific Users <authorization> <allow users="user1, user2"/> &...
user avatar
1vote
1answer
270views

Prevent 401 error browser console angular

I have this problem, i have implemented a JWT token with refresh token options when the JWT token expire. When the token expires my serverless backend return a 401 and in this case with my angular ...
user avatar
  • 53
0votes
1answer
59views

Lumen+JWT token + Flutter request: Unauthorized error

I have flutter app use login with facebook and gmail ,I want after register to return data conatin token. I have no problem with request which register in database successfully. but I get error : ...
user avatar
0votes
1answer
260views

Cognito php password SRP verifier challenge returns incorrect username and password

I have a PHP webpage in which I have configured the aws sdk and instantiated the cognito client The client is configured with a client secret as well and the auth flows USER_PASSWORD_AUTH, ...
user avatar
3votes
3answers
1kviews

C# HttpClient authorization header removed after send to server

I wanna send request to external API through the HttpClient from my own API in c#. I am using dot net 5 and basic authentication. Here is my code: var client = new HttpClient { BaseAddress = new ...
user avatar
0votes
0answers
100views

API request returns 401 on powershell but on postman 200

I have this request that is a carbon copy (from the chrome console, thank you google) The session is opened and the cookie is alive but for some reason on Powershell is prompting 401, however on ...
user avatar
0votes
1answer
236views

How do i fix 401 unauthorized error in react and laravel sanctum

hello I have a problem in react and laravel sanctum, it's running fine when I test on postman, but it showing an error 401 Unauthorized when I implementing it in react i put this on my .env laravel ...
user avatar
  • 13
0votes
1answer
345views

DevOps App Center Distribute Task gives Unauthorised error

I have 2 tasks in my Release Pipeline in DevOps. One distributes the Android package (Xamarin Forms) to App Center, which is working fine. The second distributes the iOS package (Xamarin Forms), also ...
user avatar
2votes
1answer
372views

Azure Analysis Service Rest API Error - Status 400 (Bad Request) with "unauthorized" message

I am trying to call the Azure Analysis Service API, to refresh my model, using this documentation as a reference, (https://docs.microsoft.com/en-us/azure/analysis-services/analysis-services-async-...
user avatar
0votes
0answers
513views

google oauth in golang:oauth2: cannot fetch token: 401 Unauthorized Response: { "error": "invalid_client", "error_description": "Unauthorized" }

I tried to use Oauth2.0 by google That error occurred the moment I selected the account to log in. func googleAuthCallbackHandler(w http.ResponseWriter, r *http.Request) { oauthstate, err := r....
user avatar
0votes
0answers
291views

POST http://127.0.0.1:8000/api/login 401 (Unauthorized) error when login

I can't find an explanation to this error and I don't even know what code I should post here so I really need guidance and help thank you. Im working with Laravel and angular this is the CORS.php ...
user avatar
0votes
0answers
93views

POST http://127.0.0.1:8000/api/login 401 (Unauthorized)

I can't find an explanation to this error and I don't even know what code I should post here so I really need guidance and help thank you. this is the CORS.php public function handle($request, Closure ...
user avatar
0votes
1answer
71views

Rails: send a 401 error without rendering a page

I'm trying to send a 401 authorized from a Rails controller for webhooks, but I can't seem to the right way to do it since I'm not rendering a page. render plain: "Unauthorized", status: :...
user avatar
1vote
1answer
65views

AccessDenied Page with incorrect returnUrl for unauthorized user in .net core

I have created a custom /AccessDenied page for unauthorized users with a returnUrl link. If a user currently present at /ProductList page and want to access /EditProduct page then I am redirecting an ...
user avatar
  • 41
0votes
0answers
172views

Persistent Google Cloud Anchors Android - Missing apikey in keyless authentication

Issue: Trying to host a persistent Google Cloud Anchor with the keyless android authentication strategy (case below) or resolving an existing persistent Google Cloud Anchor, both with a new project ...
user avatar
5votes
1answer
342views

FCM Push - Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential

I am trying to send fcm message to specific topic by using cURL command but it says error like { "error": { "code": 401, "message": "Request had invalid ...
user avatar
  • 410
0votes
0answers
553views

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 ...
user avatar
  • 1
0votes
0answers
82views

Spring boot return 401 Unauthorized when use HTTPS but it works with HTTP

I have a program developed by react and spring boot. react is lunch on url.com and spring boot API is on api.url.com My APIs are correctly work when I use HTTP protocol. but it return 401 (...
user avatar
0votes
0answers
133views

Selenium is giving 401 Unauthorized error

While running automated test for my application Selenium gives 401 Unauthorized error. In my application I have New button that will display new data on UI. it('should display new data', () => { // ...
user avatar
0votes
0answers
64views

FormDigest from SharePoint online return unauthorized error

I am trying to get the FormDigest from SharePoint online. I am using credentials which are working when I login to SharePoint site. However, when I connect to SharePoint via C#, it gives * The remote ...
user avatar
0votes
0answers
278views

CoreDNS logs report unauthorized

We deployed new Kubernetes cluster, and it has 2 pods for Coredns. $ kubectl get pods --namespace=kube-system -l k8s-app=kube-dns NAME READY STATUS RESTARTS AGE coredns-...
user avatar
  • 19.2k
0votes
0answers
977views

Kubernetes API return 401 for default token

We deploy new Kubernetes cluster, when I was trying to troubleshoot the things, I find the link to test the API is working fine or not. Access Cluster. When I ran same code snippet, it failed with 401....
user avatar
  • 19.2k
1vote
1answer
410views

How to make an https post request with Node.js (authorization required)

I need to make a simple POST request to a server. It works well with curl: curl --basic -u foo -d '' https://bar.com/path/to/smth But when I try to do it with Node.js I get a 401 Authorization ...
user avatar
2votes
0answers
526views

Blazor Server fails Authentication when consuming Same Origin Web API with Windows Authentication only - 401 Unauthorized

I am calling a Web API from a Blazor Server application published on IIS as a IIS Application under the main site with Windows Authentication only on both. This means the the Same Origin rule is ...
user avatar
2votes
1answer
607views

coinbase api always 401 unauthorized

I have waited faithfully for well over 48 hours since generating api keys as suggested and no matter what I do, every coinbase api call gives 401 Unauthorized I have checked basic non-authentication ...
user avatar
0votes
0answers
165views

MS SSIS: Import Data from REST API into SQL Table. ERROR (401) "Unauthorized" by Using ZappySys

I need to Import Json Data from REST Api (BMC Discovery) into SQL Server Table. A local connection with a token and execution from Visual Studio works perfectly. But once deployed on the SQL server, ...
user avatar
0votes
1answer
90views

Ant media server invalidate token while fetching VOD chunks

I have the ant media server VOD embedded on a different domain. While playing the stream it works fine for the first chunk request, but as soon as you click anywhere on the seek bar and it tries to ...
user avatar
0votes
1answer
181views

SSRS 401 unauthorized when connecting to data source

I have searched google and stack overflow before making this post, but i might have missed the answer to my issue. I have an SSRS report server installed on a server hosting MS SQL server as well. The ...
user avatar
0votes
1answer
53views

I'm having trouble using axios post in react

When I using axios post error pesistenly comes out. I also installed cors. I have no idea why this happening. Here is my react code. import React, { useState } from 'react' import { Link } from 'react-...
user avatar

15 30 50 per page
1
2 3 4 5
9