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
9
votes
2 answers

Forbidden (403) error when processing Stripe payments on home server

I am an iOS developer looking to add Stripe payment to one of my apps. I have created a page on my SSL site which hosts the suggested code from the below link: https://stripe.com/docs/charges When I try to process a payment, I receive a 'forbidden…
Ben Sullivan
  • 2,134
  • 1
  • 18
  • 32
9
votes
1 answer

Bug in iOS 9 when using client SSL certs and generating HTTP 403 errors

I think we just discovered a bug on iOS 9 (version as of Oct 23rd 2015) when using client SSL certs to talk to a backend API. In common with a lot of REST services, our API generates 4xx error codes to communicate status. One of those is a 403…
9
votes
2 answers

git commands on GitLab HTTP remote fail with 403

I have a GitLab 5.0 installation that suddenly, for no apparent reason, started failing git commands on the HTTP URLs. Any command such as git clone/pull/push fails with the following error: fatal: unable to access 'http://host/user/project.git/':…
kruipen
  • 299
  • 2
  • 10
9
votes
0 answers

Chrome and Firefox caching a 403

I've got a weird bug and wondered if anyone else can think of a cause. Scenario: - User tries to access restricted content, gets a turn away page with 403 status code User logs in User tries to access content again but should be allowed, browser…
James
  • 1,541
  • 12
  • 25
9
votes
4 answers

403 Forbidden message when calling the v3 Google Calendar API using a Service Account via OAuth 2.0

This is a follow on from my thread about a 401 error when using the Google Calendar API and OAuth2, which can be found here This contains details of the account setup that leads onto my next question, so I wont repeat myself in this thread. OK, so…
Justin Phillips
  • 1,358
  • 2
  • 12
  • 26
9
votes
4 answers

Error - Directory index forbidden by Options directive?

I have been working on this server for the entire semester and have not changed any configuration options - the directories/files I created a couple weeks ago are still accessible, however any new directories, even exact duplicate of old working…
antonpug
  • 13,724
  • 28
  • 88
  • 129
8
votes
1 answer

Instagram Basic Display returns media url with Bad Url Timestamp message

Integrated the Instagram Basic display API with my website. It was working fine. From last few days some of the media url throws error code 403 with the message Bad Url Timestamp(these media were working fine earlier). I have tried refreshing the…
8
votes
8 answers

Problem redirecting 403 Forbidden to 404 Not Found

The pertinent part of my .htaccess looks like this: Options -Indexes Order allow,deny Deny from all RedirectMatch 404 ^/include(/.*)$ And it's generating the following responses: /include 403 /include/…
8
votes
2 answers

Is there a way to make AuthorizeAttribute respond with status code 403 Forbidden rather than a redirect?

If the user is not logged in and they request an action marked [Authorize], then the response is a redirect to the Account/LogOn action (status code 302 Found). Is there a way to make the response be status code 403 Forbidden instead?
Daniel Trebbien
  • 38,421
  • 18
  • 121
  • 193
8
votes
4 answers

Spark is inventing his own AWS secretKey

I'm trying to read a s3 bucket from Spark and up until today Spark always complain that the request return 403 hadoopConf = spark_context._jsc.hadoopConfiguration() hadoopConf.set("fs.s3a.access.key", "ACCESSKEY") hadoopConf.set("fs.s3a.secret.key",…
8
votes
1 answer

(python) Spark .textFile(s3://...) access denied 403 with valid credentials

In order to access my S3 bucket i have exported my creds export AWS_SECRET_ACCESS_KEY= export AWS_ACCESSS_ACCESS_KEY= I can verify that everything works by doing aws s3 ls mybucket I can also verify with boto3 that it works in python resource =…
Johny19
  • 5,364
  • 14
  • 61
  • 99
8
votes
3 answers

Connect Azure Website to Xero Partner Application

I'm integrating my app with Xero which requires two certificates. I uploaded them to Azure with help from this article, but I'm still unable to connect to the Xero API. I'm hoping someone has experience integrating a Xero Partner Application with an…
tqrecords
  • 542
  • 1
  • 5
  • 20
8
votes
3 answers

Django API Post method returns 403 error

I am trying to setup the Django API (a POST API endpoint). I want to have the same URL path pointing to the same function that handle differently due to if it is POST or GET. Thus, I used the method like this def handle_post(request): dict =…
Terry
  • 855
  • 4
  • 12
  • 16
8
votes
0 answers

SoundCloud API 403s on Some Tracks

I've had an application that embeds soundcloud links as valid players using the soundcloud API for awhile now, I recently noticed a moderate volume of 403 Unauthorized errors returning from track lookups (api.soundcloud.com/tracks/[TRACK…
8
votes
3 answers

Heroku 403 Forbidden for static js files

I have push my simple php app to Heroku and get 403 status for some js files. https://guarded-forest-7267.herokuapp.com/vendor/jquery/dist/jquery.min.js Failed to load resource: the server responded with a status of 403…
toliklunev
  • 303
  • 1
  • 12