Questions tagged [http-status-code-429]

The HTTP 429 “Too Many Requests” status code is related to rate limiting. Servers respond with the 429 status code to any client that has, in a given amount of time, sent some number of requests that exceeds whatever particular number of requests the server limits clients to. A Retry-After header might be included in a 429 response, to indicate to the client how long to wait before making a new request.

See:

169 questions
156
votes
7 answers

How to avoid HTTP error 429 (Too Many Requests) python

I am trying to use Python to login to a website and gather information from several webpages and I get the following error: Traceback (most recent call last): File "extract_test.py", line 43, in response=br.open(v) File…
Aous1000
  • 2,052
  • 3
  • 16
  • 16
98
votes
2 answers

Examples of HTTP API Rate Limiting HTTP Response headers

One of the Additional HTTP Status Codes (RFC6585) is 429 Too Many Requests Where can I find examples of HTTP / REST API Rate-Limiting HTTP response headers useful with this HTTP response status?
M8R-1jmw5r
  • 4,896
  • 2
  • 18
  • 26
60
votes
4 answers

How to return HTTP 429?

I'm implementing an API using WCF and the specification says to return HTTP 429 in certain circumstances. Normally I'd simply write: throw new WebFaultException(HttpStatusCode.NotFound); However the HttpStatusCode enum does not contain a 429. I…
Liath
  • 9,913
  • 9
  • 51
  • 81
22
votes
4 answers

OpenAI API giving error: 429 Too Many Requests

I am trying to make a request to the openai API with the following code in express nodeJS: import { Configuration, OpenAIApi } from "openai"; const configuration = new Configuration({ organization: "org-Fn2EqsTpiUCTKb8m61wr6H8m", apiKey:…
Karan
  • 247
  • 1
  • 2
  • 9
10
votes
2 answers

PHP (Apache) silently converting HTTP 429 and others to 500

I just discovered an oddity in PHP's header() method silently converting some of my statuses to 500. Since I had no luck in finding mention of this behavior in various web searches, I'm adding this here in the hope of saving others some…
ex-nerd
  • 1,317
  • 12
  • 19
10
votes
3 answers

urllib2 HTTP error 429

So I have a list of sub-reddits and I'm using urllib to open them. As I go through them eventually urllib fails with: urllib2.HTTPError: HTTP Error 429: Unknown Doing some research I found that reddit limits the ammount of requests to their servers…
Florin Stingaciu
  • 8,085
  • 2
  • 24
  • 45
8
votes
2 answers

Kibana throwing 429 (Too many requests) when trying to create an index pattern

I have an elasticsearch index (150kb only) which I want to visualise in kibana. After going to stack management > index patterns > crate new index pattern a 429 (Too many requests) error is being thrown. This is from the browser: Failed to load…
bcsta
  • 1,963
  • 3
  • 22
  • 61
6
votes
1 answer

What is the correct client reaction to a HTTP 429 when the client is multi-threaded?

The HTTP status code 429 tells the client making the request to back off and retry the request after a period specified in the response's Retry-After header. In a single-threaded client, it is obvious that the thread getting the 429 should wait as…
Harald
  • 4,575
  • 5
  • 33
  • 72
5
votes
1 answer

chromedriver cause status code 429 when request

I got a problem when using Selenium WebDriver.chromedriver to get a json result data, server will response http status code 429 too many requests. but when I use chrome directly to get this url…
Robin H
  • 51
  • 1
  • 3
5
votes
2 answers

Best way to handle HTTP 429 errors

I'm hitting an api that will return a 429, too many requests, response if you hit it more than 250 times in a five minute span. The count resets every five minutes so I've been handling like this: try { return request.GetResponse(); } catch…
ye-olde-dev
  • 1,168
  • 2
  • 17
  • 29
5
votes
3 answers

Apache2: 429, Too Many Requests response

My Apache returns a 429 error code when I start using my API intensively. De API calls are generated by SAP BusinessObject and send to my 'Reverse Proxy' to convert HTTP to HTTPS. The Reverse Proxy forwards the HTTP request to the webserver over…
Bas
  • 597
  • 5
  • 10
  • 22
4
votes
3 answers

How to fixed 429 (Too Many Requests)?

I am creating a custom hook in React for fetching jobs from GitHub jobs API. But CORS creating problems.So I also use const BASE_URL = 'https://cors-anywhere.herokuapp.com/https://jobs.github.com/positions.json'; This throwing error 429 (Too Many…
MD Jahid Hasan
  • 786
  • 1
  • 9
  • 19
4
votes
2 answers

How Do I Resolve this 'Too Many Requests' Error in Node.js?

I'm trying to build a JSON file by making successive HTTP requests with Axios: Get an array of objects (projects) Create an array property in each project named attachments Get each project's tasks Get each task's attachments Push each project's…
Gabriel Rivera
  • 175
  • 1
  • 1
  • 6
4
votes
1 answer

HTTP 429 from Microsoft Graph API requests

We have a third-party Azure AD application which uses the Microsoft Graph API. This application has not been changed in Production for around 2 months, and we have not had any issues so far. Since this morning, I am unable to login to the…
David de-Vilder
  • 890
  • 1
  • 8
  • 18
4
votes
1 answer

How to avoid instagram error 429 The maximum number of requests per hour has been exceeded

I do an application which deletes comments on Instagram since Saturday 31st of October, I get this response when I use API to delete comments: {"error_type":"OAuthRateLimitException","code":429,"error_message":"The maximum number of requests per…
user3323940
  • 345
  • 1
  • 3
  • 13
1
2 3
11 12