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
6
votes
3 answers

Why am I getting a 403 for Google AdSense on my verified site?

AdSense shows that it is verified. I have waited about 10 hours and even the placeholder for ads is not appearing. AdSense does not show any Policy violations, Crawler errors, or messages. I found this while inspecting the headers for the adsense…
Dshiz
  • 3,099
  • 3
  • 26
  • 53
6
votes
2 answers

How to get round the HTTP Error 403: Forbidden with urllib.request using Python 3

Hi not every time but sometimes when trying to gain access to the LSE code I am thrown the every annoying HTTP Error 403: Forbidden message. Anyone know how I can overcome this issue only using standard python modules (so sadly no beautiful…
JoeTilsed
  • 111
  • 1
  • 1
  • 4
6
votes
4 answers

HTTP403: FORBIDDEN - The server understood the request, but is refusing to fulfill it

I keep getting the above 403 error when performing an AJAX call to an API. The error occurs in Microsoft Edge, but does not occur in IE, Chrome, Firefox or Safari. The page does not use bootstrap, as i have read that it can be caused by the page…
Scott Thornton
  • 331
  • 1
  • 3
  • 17
6
votes
4 answers

java.io.IOException: No X-Jenkins-CLI2-Port (jenkins cli not working )

I'm trying to run the following command: java -jar jenkins-cli.jar -s http://jenkins_URL/ --username myusername --password mypassword help But I'm getting the error : java.io.IOException: No X-Jenkins-CLI2-Port among [null, X-Required-Permission,…
6
votes
2 answers

403 forbidden for AWS Beanstalk Flask static files without SSL

My local machine is a virtual CeontOS-7 with a Python 2.7 virtualenv containing a Flask application directory, the structure is the following: /var /www /myAppenv /myApp /.ebextensions myApp-env.config …
6
votes
2 answers

Facebook links to my site resolve as 403 forbidden

Hi I'm experiencing a super weird problem. Whenever I post links to my website on Facebook, they come up as Forbidden. The site itself works great and I have no seen this when linking on other sites. Could this be a server misconfiguration? Any…
filip
  • 3,036
  • 4
  • 22
  • 20
6
votes
4 answers

How to fix access to the requested resource which has been denied in Tomcat?

I want to enable form based authentication by using database as realm but I'm always getting that message whenever I try to authenticate as Tomcat manager in Tomcat 6. I have already created a table user_name and user_roles and mapped the…
6
votes
2 answers

Chef-client throws 403 forbidden intermittently

I am using a brand new chef-server (not enterprise), and running chef-client throws a 403 forbidden error approximately every 1 out of 5 runs. Anyone know why this might occur? chef-server 11.0.12 via getchef.com/chef/install chef-client 11.12.4…
Jahkobi Digital
  • 728
  • 11
  • 24
6
votes
4 answers

System.Net.WebClient request gets 403 Forbidden but browsers do not with Apache servers

An odd one, I'm trying to read the section of a lot of different websites out there, and one particular type of server, Apache, sometimes gives the code 403 forbidden. Not all apache servers do this, so it may be a config setting or a…
Grant BlahaErath
  • 2,630
  • 2
  • 17
  • 12
6
votes
3 answers

Why am I getting a 403 Forbidden error using codeigniter locally?

I'm new to Database work and I'm wondering if anyone can help me understand why I keep getting a 403 Forbidden error when I'm simply developing locally. I'm using codeigniter to try to create a simple login program. The other day I had the program…
Rambo8000
  • 323
  • 1
  • 12
  • 23
6
votes
0 answers

Azure website - 404 - yet, published fine

I’ve looked into this (on and off now) for over a month… and frankly, I’m at a loss. I would appreciate anyone pointing me to some answers here. I've searched the web for answers – and thus far have found none. Here is my situation: We have a…
6
votes
1 answer

Throw http exception (Unauthorized) from Application_Error

I am trying to throw this row from Global asax Application_Error throw new HttpException((int)HttpStatusCode.Unauthorized, "Forbidden"); But for some reason I am getting 200 and not 401 in the browser, do you know why? Update: protected void…
SexyMF
  • 10,657
  • 33
  • 102
  • 206
6
votes
2 answers

SignatureDoesNotMatch error when Content-type is 'text/*' using TAmazonStorageService.UploadObject

Using the following Delphi XE2 (update 4) code: var ConInfo: TAmazonConnectionInfo; RespInfo: TCloudResponseInfo; Service: TAmazonStorageService; Content: TBytes; Headers: TStringList; begin ConInfo:=TAmazonConnectionInfo.Create(self); …
Mick
  • 846
  • 2
  • 7
  • 18
5
votes
1 answer

YQL "Redirected to a robots.txt restricted URL" Error for Google Domain

I am using YQL Console and I want to return results from this link in Google Shopping Using the following in YQL: select content from html where…
ToddN
  • 2,901
  • 14
  • 56
  • 96
5
votes
3 answers

403 Forbidden Issue in Amazon S3

I'm using Amazon S3 for hosting images of users. Although I set all of them to be available for public (it means I could access images by their URLs in Chrome/Firefox/IE), I get a 403 Forbidden exception in my code. It's a thumbnail handler (C#,…
user438233