T The Triage ManualTechnical Guides for IT Emergencies
P3 · Cloud & Hybrid Infrastructure

HTTP 429 Too Many Requests — API Rate Limit Exceeded Causing Request Failures

HTTP 429 Too Many Requests is returned when a client exceeds the rate limit imposed by an API or service gateway. The server rejects further requests until the rate-limiting window resets. Resolution requires implementing exponential backoff with jitter, respecting Retry-After headers, and introducing client-side throttling. This affects any HTTP-based API integration where server-side rate limiting is enforced.

Indicators

Likely causes

Diagnostic steps

  1. Inspect HTTP response headers on the 429 response using curl -v or browser developer tools. Look for: Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset
    Establishes the exact rate limit being enforced and the required backoff period before retrying
  2. Review client application logs or API gateway access logs to measure actual request rate (requests per second/minute) and identify which endpoint(s) are generating 429 responses
    Identifies whether the limit is being hit by a single client, a specific endpoint, or a shared credential across multiple consumers
  3. Check whether multiple application instances, services, or background jobs share the same API key or account by auditing API key usage across environments
    Determines if a distributed client pattern is collectively exceeding a per-key or per-account limit
  4. Verify whether the client implements retry logic by reviewing code or configuration. Check if retries are issued immediately without backoff (retry storm pattern)
    Identifies whether retry behavior is compounding the rate limit violation rather than recovering from it
  5. Use curl to manually test the endpoint and observe rate limit headers: curl -v -X GET 'https://api.example.com/endpoint' -H 'Authorization: Bearer <token>'
    Confirms the rate limit policy in effect and baseline response before client-side changes

Resolution path

Prevention

Tools

References

httpapirate-limiting429too-many-requeststhrottlingbackoffweb-servicesretry-afterexponential-backoffapi-gateway