# Claude Code 529 overload and 429 rate limit fixes

Canonical: https://cwyn.com/pages/claude-code-guide-529-429-errors.html
Last updated: 2026-11-27T02:11:16-05:00

Claude Code troubleshooting

A 529 means the API is at capacity. Let retries finish, then try again in a few minutes. The error does not count against your quota. For a 429 rate limit, run `/status` to identify your API key or cloud project. If Claude Code names a session or weekly limit, wait for the reset time it shows.

Last updated November 27, 2026 · Published November 22, 2026

By CWYN · Published Nov 22, 2026 · Checked against docs, not run · [Claude Code error reference](https://code.claude.com/docs/en/errors) and [Anthropic API errors](https://platform.claude.com/docs/en/api/errors) (as of Nov 22, 2026)

## 1. Identify your error message

| Terminal message | What it means | First fix |
| --- | --- | --- |
| ```
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.
``` | Anthropic's API is temporarily overloaded. | Check service status and try again in a few minutes. |
| ```
API Error: Request rejected (429) · this may be a temporary capacity issue. If it persists, check https://status.claude.com.
``` | The active API key or cloud project hit a provider limit. | Run `/status` to see which credential to check. |
| ```
API Error: Server is temporarily limiting requests (not your usage limit)
``` | The server is briefly throttling requests. | Give the automatic retries time to finish. |
| ```
You've hit your session limit · resets 3:45pm
``` | Your plan's session allowance is used up. | Wait for the time in your message. |
| ```
You've hit your weekly limit · resets Mon 12:00am
``` | Your plan's weekly allowance is used up. | Wait for your weekly reset. |
| ```
You've hit your Opus limit
``` | You've reached a limit for one model family. | Use `/model` to choose another family. |

The reset times above are examples. [Claude Code messages and reset times](https://code.claude.com/docs/en/errors) (as of Nov 22, 2026).

## 2. Fix a 529 overloaded error

1. Let the retry countdown finish. The spinner reads `Retrying in Ns · attempt x/y`. Claude Code retries server errors, overloads and timeouts that occur before a response streams. It also retries temporary 429 throttles. By the time it shows the final error, it has already retried up to 10 times with exponential backoff.
2. Check the status site named below the countdown. For the Anthropic API, that's [status.claude.com](https://status.claude.com/) (as of Nov 22, 2026). Try again in a few minutes.
3. If you want to keep working, run `/model` and [choose a different model](https://cwyn.com/pages/claude-code-guide-models.html). Capacity is tracked per model, so Sonnet may be available while Opus is overloaded.

[Claude Code retries and model switching](https://code.claude.com/docs/en/errors) and [Anthropic's overloaded_error definition](https://platform.claude.com/docs/en/api/errors) (as of Nov 22, 2026).

## 3. Fix a 429 rate limit

1. Run `/status` to identify the active credential. If you expected your Max subscription but see an API key, look for `ANTHROPIC_API_KEY` in your environment. If it points to an unintended key, remove the variable from the environment where you start Claude Code.
2. Check the provider console for limits on your Anthropic API key, Amazon Bedrock project or Google Cloud project. For a rate limit, run fewer subagents in parallel. For high-volume scripts, try a smaller model and increase traffic gradually. A sudden spike can trigger a 429 even below your usual limit.
3. If the error names a spend limit, check the organization's monthly tier cap or the Claude Code workspace spend limit. A 429 from the tier's monthly spend cap has no `retry-after` header and will keep failing until access resumes.

If parallel code reviews hit the rate limit, try one review at a time. The [repository reviewer in the Claude Code Complete Setup Pack](https://cwyn.com/pages/pack-claude-code-complete-setup-pack.html) gives you a subagent definition you can reuse for each review.

[Claude Code credential checks](https://code.claude.com/docs/en/errors), [Anthropic API rate limits](https://platform.claude.com/docs/en/api/rate-limits) and [429 errors and spend caps](https://platform.claude.com/docs/en/api/errors) (as of Nov 22, 2026).

## 4. When the server is temporarily limiting requests

1. Wait briefly. This throttle is separate from your plan quota. Claude Code v2.1.199 and later retries it automatically with backoff.
2. If it persists, check [Anthropic service status](https://status.claude.com/) and the [temporary throttle reference](https://code.claude.com/docs/en/errors) (as of Nov 22, 2026).

To check your local setup, run `/doctor` in Claude Code. If Claude Code won't start, run `claude doctor` from your shell. [Claude Code troubleshooting](https://code.claude.com/docs/en/troubleshooting) (as of Nov 22, 2026).

## 5. When you've hit a plan limit

1. Read the limit name and reset time. For a session or weekly limit, wait for that reset. All models share those allowances, so switching models still uses the same limit.
2. If the message names Opus or Sonnet, only that family has reached its limit. Run `/model` and select another family to keep working, or wait for the reset to use the same family again.

[Session, weekly and model-family limits](https://code.claude.com/docs/en/errors) (as of Nov 22, 2026).

## 6. Configure retries for unattended and CI runs

- `CLAUDE_CODE_RETRY_WATCHDOG=1` keeps an unattended session such as a CI job retrying 429 and 529 capacity errors indefinitely. A 429 that reports a spend limit or exhausted usage credits still fails immediately.
- `CLAUDE_CODE_OVERLOADED_RETRY_BASE_DELAY_MS` sets the initial wait between 529 attempts in v2.1.292 and later. The default is 500 ms and the maximum is 32000 ms.
- `CLAUDE_CODE_OVERLOADED_RETRY_MAX_DELAY_MS` caps the wait between 529 attempts in v2.1.296 and later. The default is 32000 ms and the maximum is 300000 ms.

[Retry environment variables, defaults and supported versions](https://code.claude.com/docs/en/errors) (as of Nov 22, 2026).

If you keep retry settings in a Claude Code settings file, [check which settings file takes precedence](https://cwyn.com/pages/claude-code-guide-settings-json-precedence.html) before changing a shared value.

## 7. Claude Code error FAQ

### Does a 529 use my quota?

No. A 529 does not count against your quota. It means the API is temporarily overloaded. [How Claude Code handles a 529](https://code.claude.com/docs/en/errors) (as of Nov 22, 2026).

### Why do I get a 429 on a Max plan?

A stray `ANTHROPIC_API_KEY` can route your requests through a low-tier API key even when you have a Max subscription. Run `/status` to see which credential is active. [How to identify the active credential](https://code.claude.com/docs/en/errors) (as of Nov 22, 2026).

### Will switching models help?

For a 529, another model may have capacity. For a session or weekly limit, every model shares the allowance and you need to wait. For an Opus or Sonnet family limit, use `/model` to switch to another family. [When switching models works](https://code.claude.com/docs/en/errors) (as of Nov 22, 2026).

### Where can I check Claude Code status?

For a 529, look below the retry countdown for your provider's status site. On the Anthropic API, use [status.claude.com](https://status.claude.com/). [Claude Code overload status guidance](https://code.claude.com/docs/en/errors) (as of Nov 22, 2026).

## Next steps

- [All 34 Claude Code guides](https://cwyn.com/guides/claude-code/)
- [Claude Code setup walkthrough](https://cwyn.com/setup/claude-code/)
- [Free AI cost calculator](https://cwyn.com/score/ai-cost-calculator/?tool=claude)
- [Claude Code Complete Setup Pack ($12.95)](https://cwyn.com/pages/pack-claude-code-complete-setup-pack.html)

### Estimate your API costs

[Use the free AI cost calculator](https://cwyn.com/score/ai-cost-calculator/)

## Email me the CLAUDE.md + settings starter

Get the editable CLAUDE.md template and a project setting you can merge into .claude/settings.json.

Email address

Email me this file. Also send up to 4 short follow-up emails with tips and one related CWYN product. Unsubscribe any time. [Privacy policy](https://cwyn.com/pages/privacy.html)

### Set up your Claude Code project

The [Claude Code Complete Setup Pack ($12.95)](https://cwyn.com/pages/pack-claude-code-complete-setup-pack.html) includes editable project instructions, permission presets and hooks.

Claude Code Complete Setup Pack $12.95

Set up project instructions, permission rules, hooks, a reviewer skill and subagent, and MCP connections for Claude Code.
