Questions tagged [unauthorized]

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

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

401 unauthorized in Orange

401 unauthorized in Orange Please, can anybody to tell me how to fix that error "401 unauthorized in Orange" ? Uninstal orange Reinstal with app and rar Get new twitter api And still error:...
0 votes
1 answer
33 views

Custom 401 page when Windows authentication fails using ASP.NET Core 6 Blazor on IIS / Kestrel

I am using Blazor Server and would like to display content for unauthorized users to help them. Instead of the defined NotAuthorized content, I receive error messages from IIS / Kestrel. App.razor: &...
0 votes
0 answers
43 views

Cookies on safari, vercel hosting

i put my page online on vercel hosting. I noticed i can't set cookies on safari, my page works on opera and chrome but on safari im getting 401 when im trying to login. I tried every tip i've found ...
  • 1
0 votes
1 answer
21 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 annonymous. But when I set api endpoint with [...
  • 1,576
-1 votes
0 answers
21 views

Status code Unauthorized while getting response from an URL

I tried to capture the response of a website using Response.get(). The status code in response says UNAUTHORIZED(401) but when I inspect in web browser it shows status code 200. I even tried to use ...
-2 votes
1 answer
46 views

Expose end-point in Spring Security for unauthenticated users

I'm trying to expose an endpoint in a way that everyone can access it. That is, even a user who is not logged in can access. I have the following setup: My Config class: @EnableGlobalMethodSecurity(...
  • 552
1 vote
1 answer
33 views

How to fix unauthorized error (401) after post method in Node.js?

I have a project for log in and sign up. Everything works on the local environment. After registering an account, it is sent to the database. If I try to register an account with the same information ...
0 votes
0 answers
32 views

How i can redirect to my custom URL Component when unauthorized login with azure ad?

I want to redirect to custom url when any user login with unauthorize or unathenticated email ,it should Not be redirect to https://login.microsoftonline.com/common/federation/oauth2msa it should be ...
0 votes
0 answers
31 views

The Asp Net Core Identity Server 6's Access Token does not work in authorizing the underlying API

I am currently trying to integrate my client and API applications with Duende IdentityServer but I am encountering issues when it comes to authorizing the API. After I get the access token from the ...
0 votes
0 answers
26 views

Synapse Serverless Pool in "Unauthorized" status

I created a synapse workspace several months ago, and it was working and I also created a serverless pool database in the Synapse Studio. And now I cannot see the database in the Synapse Studio even ...
  • 1
0 votes
0 answers
32 views

How to remove authorize functionality in case of login endpoint in c#?

I have created two endpoints one for login and other for logout and used JWT token to authorize the endpoint. So when I authorize the whole class using [Authorize] it authorizes both the login and ...
0 votes
0 answers
21 views

401 Unauthorised when attempting to login to site C#

Attempting to login to habbo.com using anticaptcha to solve HCaptcha but getting a 401 Unauthorised Unsure if HCaptcha has another URL I need to hit with some data or if I'm missing a header / cookie ...
  • 21
0 votes
0 answers
18 views

Chrome returns unathorized(401) but Firefox returns 200

I have a server running behind a nginx proxy with SSL on. Testing the Admin front page gives different results on Firefox browser vs Chrome/Chromium browser. On Firefox is working fine On Chrome ...
0 votes
0 answers
12 views

Not Authorized Token Failed On a hosted server But it works Fine on Local Server

[enter image description here](https://i.stack.imgur.com/bzdmJ.png) This Same middleware works for local server but not working on hosted server even thought i hav ementioned all the keys of env file ...
0 votes
0 answers
22 views

I am trying to run a AWS Glue ETL job to query data from MongoDB that has been crawled but when I try to perform an aggregation on it I am not ableto

After configuring my mongodb connection and testing it, I wanted to run an ETL job to transform the mongodb data and dump it into an s3 bucket for data laking. I was expecting to see the data being ...
0 votes
1 answer
51 views

Fetch returns unathorized and undefined

I'm trying to access to an API using fetch however the error I receive in console: XHR GET https://api.geoapify.com/v1/geocode/search?street=buenos%20aires&city=barcelona&country=espa%C3%B1a&...
  • 1
0 votes
1 answer
29 views

How to convert ajax in javascript to UrlFetchApp in Google script?

I'd like to get data from szimek ad suite api in google script. Here is example to get data from szimek api in javascript. var settings = { "url": "https://adapi.uat.sizmek.com/sas/...
0 votes
0 answers
18 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 ...
  • 21
0 votes
1 answer
57 views

Role from JWT 401 unauthorized while using Authorized on controller

I'm getting 401 unauthorized while using GET with JWT in header. For single role authorized doesn't work as well. SecurityService.cs - Generated random key on creation. Role is taken from user ...
0 votes
1 answer
126 views

MS Azure Blob Storage Shared Access Tokens work for local IP, but throws 403 (Unauthorized) when another token using VM's IP is generated

I'm using Azure Portal to generate these tokens, while they seem to be working with the local IP Address, they fail when generated using VM's IP with 403. Infact, they seemed to be working fine a few ...
0 votes
0 answers
56 views

Laravel Sanctum SPA with React js unexpected logout error 401 (Unauthorized)

My application works perfectly (Login and all other apis) using laravel Sanctum SPA authentication with react js. But sometimes the system is logout unexpectedly, api response shows error 401 ...
0 votes
0 answers
20 views

"Only authorized Google accounts can view this content.". cannot read documentation

Why I cannot see the documentation: https://developers.google.com/pay/issuers/apis/push-provisioning/android?pli=1 And how to authorized my google account?
0 votes
1 answer
39 views

REST API call is unauthorized

I am trying to make a REST API call from my .Net MAUI mobile app. First I log in, and get a JwtSecurityToken: JwtSecurityToken JwtToken = new JwtSecurityToken(authenticationResult.IdToken); Then I ...
-1 votes
1 answer
39 views

How to post data with token?

I can't solve this problem in react I tried 2 options (2 headers here) but can't solved This is post funtion I can't sent tokens in postUserFunction
0 votes
0 answers
79 views

SendGrid API v3 using NodeJS @sendgrid/client - Call is Unauthorized / API Key is valid with full permissions

I'm really struggling with a problem where every call I make to the @sendgrid/client comes back unauthorized. The exact same key can be used with @sendgrid/mail in the same code and it works fine. I'...
0 votes
0 answers
166 views

Laravel Sanctum 401 error after on reloading

I am using Laravel Sanctum's API Tokens to authenticate requests from a React application. I don't use SPA Authentication and cookies. For now, the Laravel sessions are managed with files. After you ...
0 votes
0 answers
74 views

CyberSource Payment with Flex API V2 Token UnAuthorised issue?

When I am using cyberSource Payment with Flex V2 Token always i am getting 401 Unauthorized error. Headear and Request API: Request{method=POST, url=https://apitest.cybersource.com/pts/v2/payments, ...
0 votes
1 answer
293 views

Gitea Docker Registry - Unauthorized on first login?

I have a Jenkins pipeline where a Docker (Podman) image is built und pushed to a private Gitea docker registry. This basically works. But I have the problem, that the first build after several hours, ...
  • 8,306
0 votes
0 answers
357 views

Error The remote server returned an error: (401) Unauthorized EWS

My application was working yesterday without any problems and today I can not run it, because I'm getting this error: Error The remote server returned an error: (401) Unauthorized. How can I fix this ...
0 votes
0 answers
265 views

Jupyter Notebook display data frame in pandas "UNAUTHORIZED" Mac m1

I have been searching for a solution for a week now, to no avail. our class is using Jupiter notebooks and we are provided with sheets and csv files for each lab. I have a Mac m1, and have used ...
  • 1
1 vote
1 answer
993 views

OpenAI API returns an "unauthorized" error when the key is correct

I'm coding a Discord bot in Lua and I thought it would be fun to implement OpenAI's api somehow, and I've got everything right except I keep getting a 401 error. Here's a portion of my code coroutine....
0 votes
2 answers
151 views

Making post request after authentication expired

I'm writing a web application using C#, ASP.NET, jQuery and using forms authentication: <authentication mode="Forms"> <forms loginUrl="Account/Login.aspx" defaultUrl=&...
  • 839
0 votes
0 answers
155 views

SSH connexion failed between two ecs tasks

I try to run gitlab-runner with AWS fargate. So,i have deployed a gitlab-runner on ecs service that contains ecs driver fargate task and ci job task(ci-coordinator). I have allowed connexion 22/tcp ...
  • 19
0 votes
1 answer
68 views

Selenium python return history 302

I got a problem when trying scrape content from a website by trying access api I use this code to login the page options = webdriver.ChromeOptions() #options.add_argument("--headless") # ...
0 votes
1 answer
1k views

401 unauthorized error when testing endpoint in Azure API

I'm working on azure to make a cloud service for my summer job. I wanted to make an API, calling my database, and it is supposed to be OPEN, meaning if we open a web browser and write the endpoint ...
0 votes
1 answer
999 views

spring boot rest app secured by keycloak 18 return always error 401 Unauthorized

I'm developing microservices some of them with spring boot web and other with spring boot data rest and I want secure them with keycloak server 18 through OpenId protocol. The microservices endpoint ...
  • 69
0 votes
2 answers
132 views

Unauthorization in flutter even I pass Authorization token

I have login screen which will take a few fields and return a response. login login(String phn, String password) async { final prefs = await SharedPreferences.getInstance(); await ...
0 votes
2 answers
838 views

401 Unauthorized API

I've stumbled upon a problem whilst working on a weather app. I have 401 error popping up every time i'm trying to fetch API from openweathermap.com. I've tried everything so far to fix this problem ...
0 votes
1 answer
118 views

Unauthorized Spring Security

I am programing a Springboot api rest but i have a problem with Spring security. When i want to Make a request to the server , it throws Unauthorized 401 but i have already configured spring security. ...
1 vote
0 answers
32 views

How to make only logged in user delete their cards in Rails backend react frontend?

Im new with rails and imm stuck on this deleting part.When a user logs into his account I want the user to be able to delete only his review cards and not the review cards of other users i know this ...
user avatar
0 votes
1 answer
264 views

I can't authorized in Azure using Python code

I am trying to authorize in Azure using below Python code: from os import environ as env from azure.identity import ClientSecretCredential from azure.keyvault.secrets import SecretClient import json ...
  • 27
0 votes
0 answers
336 views

401 error occurs between react, redux-toolkit, and node express

I'm currently forming a Web page by using react, Redux-toolkit and node.js. as I refresh the page, I send axios to server and save response value in the redux store state.however, the error 401 (...
0 votes
0 answers
640 views

Getting an unauthorized-401 error every first time I call, but it works once I refresh the page

Each time I call the user API, I get an unauthorised error, but it works after I have refreshed the page 1. This is my fetch user method import { useContext, useEffect, useState, useCallback } ...
  • 21
0 votes
1 answer
106 views

How can I delete all scripts and triggers, and remove unauthorised access from my account?

I opened a virus file and someone got access to my emails. After this, I have changed the password and enabled 2FA, but the hacker is manipulating my Google Script. I keep receiving emails, for ...
0 votes
0 answers
67 views

How to authorize the file upload api using ckeditor 4

I am using CKEditor 4 for upload image upload and file upload option in my angular web app, while I am trying to upload a file and getting an Unauthorized error (status 401). How to authorize, please ...
1 vote
1 answer
448 views

Rebus: Could not resolve Rebus.Bus.IBus with decorator depth 0 - registrations: Rebus.Injection.Injectionist+Handler"

Getting error while working with Azuer Service Bus, if I use MSMQ queue then no error, so please suggest what is wrong with code or any missing configuration? Note: Below Rebus initialization code is ...
0 votes
1 answer
58 views

How to add permission while making a request to outlook calendar api (create event)?

I was trying to add outlook calendar api (create event) to my web app but stuck on an error of unauthorization. So I guess it might be the reason that I did not add permission? This is my ajax ...
  • 1
-2 votes
1 answer
3k views

No 'Access-Control-Allow-Origin' header is present on the requeste

- BUG: Access to XMLHttpRequest at 'https://*.execute-api.*.amazonaws.com/api' from origin 'http://localhost:4200' has been blocked by CORS policy: Response to preflight request doesn't pass access ...
0 votes
0 answers
84 views

Unauthorized error Full authentication is required to access this resource

I'm working on training management application and I'm using JWT authentication in my application just for the admin and the teacher (spring boot/ angular) But I need to make an exception just for one ...
0 votes
2 answers
2k views

Unable to debug 401 Unauthorized error in .Net 6 Web API

The custom Authorization has been used in this code from a referenced library.. It's working and getting 200 OK when I run the code over visual studio and invoke from postman but when I deploy getting ...
  • 34

1
2 3 4 5
10