4xx Client Error
HTTP 429 Too Many Requests
The user has sent too many requests in a given amount of time (rate limiting). The response may include a Retry-After header indicating how long to wait before making new requests.
Common Causes
- API rate limit exceeded (too many calls per minute/hour)
- Brute-force login attempts triggering throttling
- Automated scraping hitting the server too frequently
- Shared API key used by too many clients simultaneously
How to Fix
- 1Check the Retry-After header and wait before retrying
- 2Implement exponential backoff in your retry logic
- 3Reduce request frequency or batch multiple requests
- 4Upgrade your API plan for higher rate limits
Example
HTTP 429 Too Many Requests
GET /api/data HTTP/1.1 → 429 Too Many Requests → Retry-After: 60 → "Rate limit: 100 requests per minute"
Related Client Error Codes
400
Bad Request
401Unauthorized
402Payment Required
403Forbidden
404Not Found
405Method Not Allowed
406Not Acceptable
407Proxy Authentication Required
408Request Timeout
409Conflict
410Gone
411Length Required
412Precondition Failed
413Content Too Large
414URI Too Long
415Unsupported Media Type
416Range Not Satisfiable
417Expectation Failed
418I'm a Teapot
421Misdirected Request
422Unprocessable Content
423Locked
424Failed Dependency
425Too Early
426Upgrade Required
428Precondition Required
431Request Header Fields Too Large
451Unavailable For Legal Reasons