Questions tagged [http-status-code-403]

The 403 or "Forbidden" error message is a HTTP standard response code indicating that the request was legal and understood but the server refuses to respond to the request.

A 403 Forbidden may be returned by a web server due to an authorization issue or other constraint related to the request. File permissions, lack of encryption, and maximum number of users reached (among others) can all be the cause of a 403 response.

2271 questions
5
votes
3 answers

Do you know a simple php script to throw 403, after ip check?

I have a script where payment processors come with payment confirmations. To make the page secure, as it can access order information and other user related stuff, I had to limit the acces by ip(/24) as it follows: $ipAllowed =…
amstegraf
  • 597
  • 1
  • 5
  • 11
5
votes
4 answers

Uploadify 3.1 Trying to Upload to Amazon S3 (SignatureDoesNotMatch)

Here is some background http://www.uploadify.com/documentation/ http://aws.amazon.com/articles/1434/ I have been struggling with Uploadify to Amazon S3 for a greater part of 3 days now. This was my first torture (HTTP 400 ERROR -…
4
votes
1 answer

Encountering 403 error while using ajax call on IE

I've my website loading pages using ajax. The pages are loaded properly in all the browsers except IE which throws an error 403 on the ajax request. However, it works fine in localhost even in IE. (Earlier it use to work properly, not sure when it…
ptamzz
  • 9,235
  • 31
  • 91
  • 147
4
votes
0 answers

Exception: Unexpected error while getting the method or property getContentUrl on object SpreadsheetApp.CellImage

I'm trying to extract an in-cell-image from google sheets to later paste to a google docs. Using this method I'm getting an error and couldn't find any documentation about this. function onClick(){ var app = SpreadsheetApp; var sheet =…
4
votes
0 answers

GET request to opensea API giving 403 error

I'm trying to retrieve the asset info from a specific collection using the asset endpoint. Example: https://api.opensea.io/api/v1/asset/0x1a92f7381b9f03921564a437210bb9396471050c/2000/?format=json Now, if you open that on your browser, it works…
Relativity
  • 127
  • 2
  • 10
4
votes
1 answer

Python requests response 403 forbidden

So I am trying to scrape this website: https://www.auto24.ee I was able to scrape data from it without any problems, but today it gives me "Response 403". I tried using proxies, passing more information to headers, but unfortunately nothing seems to…
4
votes
1 answer

iOS ask for Instagram Basic Api Fail, response status code: 403

I have checked the request body's data. These data run in Android or Postman are all successful, and will use new code to ask access_token every time. But the response status code is always 403 make me confused. However I just first time develop iOS…
4
votes
1 answer

Nginx 403 Forbidden when running PHP

Note: I didn't Get my answear anywhere That's why I'm making this My nginx.conf file: #user nobody; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #pid …
Ryan The Ghost
  • 116
  • 1
  • 13
4
votes
1 answer

GCP App Script API Auth not working (code: 403, "PERMISSION_DENIED") for just two users

I have Google Apps Script-based software deployed to multiple users via Google Cloud Platform. Most of it works via triggers running every x minutes. However, currently there is one script that runs by being called through Apps Script API. I made…
4
votes
1 answer

Angular/Spring Boot with Keycloak throws 403

I secured my Spring Boot application with Keycloak 11.0.2 and Spring Security following this documentation. I used the basic Keycloak configuration in application.properties: keycloak.auth-server-url=http://localhost:8085/auth …
4
votes
2 answers

How to restrict an image used in an tag in a Web App to "anyone within corporation"?

I can restrict the usage of the Web App but I cannot limit the access to the images referred in the tag. Now I am developing a Web application with Google Apps Script. This is an internal application of the corporation and I got to set the…
4
votes
1 answer

Preflight (OPTIONS) returns 403, CORS

We are using Kubernetes with Istio and have configured a virtual service: http: - match: - uri: prefix: /api rewrite: uri: /api route: - destination: host: svc-api port: number: 80 …
Casper Nybroe
  • 1,179
  • 3
  • 23
  • 47
4
votes
2 answers

Set directory index to .html file in Apache2

I have a Debian web-server with Apache2 installed and need to set in one directory DirectoryIndex to .html file (exactly this name - .html). But when I try to open page from browser it send 403 error. I've changed apache2.conf (set to allow .ht…
4
votes
2 answers

403 redirect doesn't work

How to force apache to redirect to a 403 error? I've tried: RewriteRule ^forbid/(.*)$ / [R=403,L] this caused 500 server error on the whole site RewriteRule ^forbid/(.*)$ - [R=403,L] and RewriteRule ^forbid/(.*)$ [R=403,L] these simply don't…
tsds
  • 8,700
  • 12
  • 62
  • 83
4
votes
5 answers

Getting a strange error 403 forbidden for accessing an API through python

I am trying to access some email stats: My code: import json import os from sendgrid.helpers.stats import * from sendgrid import * # NOTE: you will need move this file to the root directory of this project to execute properly. # Assumes you set…
user12677644