Shipping an AI app or agent? Security review in 1 working day: $149 / ₹13,900. Request a review →
AI Review Ready
Home / Error fixes / Claude API 529
Fix · Claude API · Claude Code

Claude API error 529 overloaded_error: what it means and the fix

A 529 means the Claude API is temporarily at capacity across all users. It is not your rate limit and not caused by your request, so the fix is to wait and retry, or switch to another model.

Fix it

  1. Check status.claude.com for a capacity notice. On Amazon Bedrock, Google Cloud or Microsoft Foundry the error message names that provider's status page instead, and behind a custom ANTHROPIC_BASE_URL it names the gateway host.
  2. Wait a few minutes and send it again. In Claude Code your message is still in the conversation, so typing try again is enough.
  3. In Claude Code, switch models. Run /model and pick another one. Capacity is tracked per model, which is why you may see Opus is experiencing high load, please use /model to switch to Sonnet.
  4. In your own code, let the SDK retry. Anthropic's SDKs retry 429s and 5xx responses (529 included) twice by default, waiting as long as a retry-after header says, or backing off from 0.5 to 8 seconds. Raise the count for batch jobs:
    import anthropic
    
    client = anthropic.Anthropic(max_retries=5)   # TypeScript option: maxRetries
  5. For unattended Claude Code runs such as CI, set CLAUDE_CODE_RETRY_WATCHDOG=1 so it keeps retrying 429 and 529 capacity errors past its normal retry count.

What the error looks like

From the API (the error body always has type, message and a request_id):

HTTP 529
{"type": "error", "error": {"type": "overloaded_error", "message": "..."}, "request_id": "req_..."}

From Claude Code, after it has already retried:

API Error: Repeated 529 Overloaded errors. The API is at capacity — this is usually temporary. Try again in a moment. If it persists, check https://status.claude.com.

In the Python SDK it is raised as anthropic.OverloadedError; catching anthropic.InternalServerError (the class for every 5xx) also catches it.

Causes

  • High traffic across all users of the API. This is Anthropic's own description of a 529.
  • One model under particularly high load while others still have room.
  • On a cloud provider or gateway, capacity at that provider.

Not a cause: your plan. Claude Code's docs say a 529 is not your usage limit and doesn't count against your quota.

529, 429, 500 or 504: which one do you have?

StatusError typeMeaningWhat to do
529overloaded_errorAPI temporarily overloadedWait, retry with backoff, switch model
429rate_limit_errorYour organization hit a rate limit or its spend cap; a sharp rise in usage can also trigger itBack off. A spend-cap 429 has no retry-after header and keeps failing until access resumes, so cap your retries
500api_errorUnexpected error inside AnthropicRetry only if the x-should-retry header isn't false
504timeout_errorRequest timed out while processingUse streaming for long requests

The SDKs sort errors by HTTP status, not by error type: a 503 that carries overloaded_error is handled as a general 5xx, not as a 529.

Errors in the middle of a stream

With streaming, an error can arrive after the API has already answered 200. It then comes as an error event in the stream, not as a 529 status, and the SDK does not retry an error in a stream. Catch it inside your stream loop and decide whether to resend.

Tune Claude Code's retries

Claude Code retries transient failures up to 10 times with exponential backoff before showing an error; the spinner reads Retrying in Ns · attempt x/y meanwhile.

VariableDefaultEffect
CLAUDE_CODE_MAX_RETRIES10Retry attempts, capped at 15
CLAUDE_CODE_RETRY_WATCHDOGunset1 keeps retrying 429 and 529 past the limit (for CI)
CLAUDE_CODE_OVERLOADED_RETRY_BASE_DELAY_MS500First backoff delay after a 529, up to 32000 (v2.1.292+)
CLAUDE_CODE_OVERLOADED_RETRY_MAX_DELAY_MS32000Ceiling on that backoff, up to 300000 (v2.1.296+; above 64000 needs v2.1.323+)

When to contact support

Every API response carries a request-id header, and error bodies repeat it as request_id. Include it when you contact Anthropic about a specific failure. In Claude Code, the docs suggest /feedback when a server error persists with no incident posted.

Running Claude Code, Codex or Cursor on real repos, or shipping an AI agent? A Quick Review ($149 / ₹13,900, 1 working day) checks one repo, config or setup for leaked keys, risky agent permissions and MCP servers. Request a Quick Review

FAQ

Does a 529 count against my Claude usage limit?

No. Claude Code's error reference says a 529 is not your usage limit and doesn't count against your quota.

Is error 529 the same as 429?

No. 529 (overloaded_error) means the API is at capacity for everyone. 429 (rate_limit_error) means your own organization hit a rate limit or its spend cap.

Why does Claude Code wait so long before showing the 529?

It retries transient failures, including overloaded responses, up to 10 times with exponential backoff before showing the error. CLAUDE_CODE_MAX_RETRIES changes the count.

Is the 529 caused by my prompt?

No. Anthropic describes it as the API being temporarily overloaded, which can happen during high traffic across all users.

Related errors

Sources

Read 29 Nov 2026. These tools change often: if a step no longer matches, the linked page wins.

Related free tools