Back
Errors
4001
RATE_LIMIT_EXCEEDED
You have exceeded your rate limit.
HTTP 429 • Rate limits
Resolution
Wait {retry_after} seconds and retry. Implement exponential backoff.
Example payload
{
"error": {
"code": 4001,
"message": "You have exceeded your rate limit.",
"resolution": "Wait 30 seconds and retry. Implement exponential backoff.",
"category": "rate_limit",
"docs": "https://docs.afriroute.ai/errors/4001",
"support": "https://support.afriroute.ai",
"trace_id": "4bf92f3577b34da6a3ce929d0e0e4736"
}
}What to do next
Retryable?
Only retry safe requests (GET), or POST/PUT requests with idempotency protection. For rate limits, use backoff and jitter.