handy.moe

All tools / Debug tools / Status codes

HTTP 429 Too Many Requests

You have sent too many requests in a given time (rate limiting).

This page runs in your browser and makes no requests.

429 Too Many Requests

You have sent too many requests in a given time (rate limiting).

Common causes

API rate limits, login throttling, scraping, a retry loop with no delay.

What to do

Slow down and obey the Retry-After header if there is one. Use exponential backoff with a little random jitter.

Class: 4xx Client error · Defined in RFC 6585

How to use it

  1. Look at the response in your browser's Network tab, or run curl -i URL to see the status line and headers.
  2. Read the response body: many servers explain the exact reason there.
  3. Fix the cause above and send the request again.

Questions

Is 429 an error?

Yes: it is a client error, which means the request needs to change. The server is working as designed.

Should I retry a 429?

Yes, but only after waiting. Obey Retry-After, then back off exponentially.

Where can I see the 429 in my browser?

Open the developer tools (F12 or Cmd+Option+I), go to the Network tab, reload, and look at the Status column. Click the request and open the Response and Headers tabs for the details.