Claude Code error
Claude Code: API Error: Repeated 529 Overloaded errors. The API is at capacity
API Error: Repeated 529 Overloaded errors. The API is at capacityStatus: WorkaroundLast verified 4 documented fixes3 sources
What it means
The API is temporarily at capacity across all users and Claude Code has already retried several times before showing this. A 529 is not your usage limit and does not count against your quota. Older versions showed API Error: 529 {"type":"error","error":{"type":"overloaded_error","message":"Overloaded"}}. A related prompt reads Opus is experiencing high load, please use /model to switch to Sonnet.
Causes
- Temporary API capacity limits, tracked per model
How to fix it
- Fix 1.
Check status.claude.com, or the provider status page named in the message, for capacity notices, then try again in a few minutes.
- Fix 2.
Run /model and switch to a different model, since capacity is tracked per model.
Slash command/model - Fix 3.
Configure the fallbackModel setting (added in v2.1.166) with up to three fallback models tried in order when the primary model is overloaded or unavailable; --fallback-model also applies to interactive sessions.
- Fix 4.
Lengthen retry backoff for overloaded requests with CLAUDE_CODE_OVERLOADED_RETRY_BASE_DELAY_MS (v2.1.292) and CLAUDE_CODE_OVERLOADED_RETRY_MAX_DELAY_MS (v2.1.296).
More Claude Code errors
All 18 Claude Code errorsAPI Error: 500 Internal server error. This is a server-side issue, usually temporaryStatus: WorkaroundAPI Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.5: `tool_use` ids were found without `tool_result` blocks immediately after: toolu_01FRvEykWmCgrgJ22mvBbKhV. Each `tool_use` block must have a corresponding `tool_result` block in the next message."}}Status: OpenUnable to connect to API. Check your internet connectionStatus: WorkaroundUnable to connect to API: SSL certificate verification failed (UNABLE_TO_GET_ISSUER_CERT_LOCALLY).Status: WorkaroundPlease run /login · API Error: 401 OAuth token has expiredStatus: WorkaroundOAuth error: timeout of 15000ms exceededStatus: OpenPrompt is too longStatus: WorkaroundYou've hit your session limit · resets 3:45pmStatus: By design
Related reading
- How to Build Agents That Run for Hours: Anthropic's Planner, Generator and Evaluator HarnessAnthropic Applied AI's Ash Prabaker and Andrew Wilson trace how Claude went from 20-minute runs to multi-hour builds, and the GAN-style planner, generator and evaluator harness behind their one-shot apps.
- Why One Agent Isn't Enough: Anthropic on Flows, UltraCode and Running 1,000 AgentsCJ Avilla and Harrison Stall of Anthropic on multi-agent topologies: lessons from Unix, OS/360 and Linux, Dynamic Workflows in Managed Agents, and when to use Flows vs UltraCode.
- The Claude Certified Architect Exam as a Field Guide to Agentic EngineeringUC Berkeley's Frank Coyle reads Anthropic's Claude Certified Architect exam as a map of production agent design: five domains, six scenarios and the anti-patterns each one tests.
- Claude Tag Lands 65% of Anthropic's Product PRs: Takeaways From Cat Wu and Thariq ShihiparCat Wu and Thariq Shihipar talk with Simon Willison about Fable, Claude Tag landing 65% of product engineering PRs, why rewrites are good now, and Anthropic's culture.
- Claude Ship: How PR Steward and Claude Approvals Change Code ReviewAnthropic's Claude Ship adds PR Steward and Claude Approvals to Code Review. What each agent does, the approvals.yml policy, billing, and a safe rollout order.
- Rethinking Claude Code Best Practices: Lydia Hallie on Getting Out of the Loop SafelyLydia Hallie of the Claude Code team on how best practices moved from the human to the model, harness and environment: auto mode, deny rules, sandboxes, exit-code-2 hooks and orchestrators.
FAQ
What does "API Error: Repeated 529 Overloaded errors. The API is at capacity" mean in Claude Code?
The API is temporarily at capacity across all users and Claude Code has already retried several times before showing this. A 529 is not your usage limit and does not count against your quota. Older versions showed API Error: 529 {"type":"error","error":{"type":"overloaded_error","message":"Overloaded"}}. A related prompt reads Opus is experiencing high load, please use /model to switch to Sonnet.
How do I fix "API Error: Repeated 529 Overloaded errors. The API is at capacity"?
There are 4 documented fixes. Start with the first: Check status.claude.com, or the provider status page named in the message, for capacity notices, then try again in a few minutes.
Is this Claude Code error fixed?
Status: Workaround. No release removes the cause. The documented fixes work around it. Affected versions: All versions (server-side capacity). v2.1.284 fixed an overloaded or server error arriving right after a thinking block ending the turn instead of being retried.
Sources
Last verified against 3 sources: official docs, maintainer replies and release notes.
Newsletter
Fixes for the tools you use, weekly
One email per week. New coding agent releases, what broke, and how developers are working around it.