Retry-After header so you know when it is safe to retry.
Error codes
Handling retries
For transient errors such as 429 and 500, implement retry logic with exponential backoff, respecting theRetry-After header on 429 responses.
All 429 responses include a
Retry-After header with a value from 1 to 60. You must wait that many seconds before the next request, because rejected requests still count against the current rate limit window.Retry-After header so you know when it is safe to retry.
Error codes
Handling retries
For transient errors such as 429 and 500, implement retry logic with exponential backoff, respecting theRetry-After header on 429 responses.
All 429 responses include a
Retry-After header with a value from 1 to 60. You must wait that many seconds before the next request, because rejected requests still count against the current rate limit window.
