Claude 529 Overloaded Error: How It Differs From 429 and 500
A Claude 529 means Anthropic's servers are under too much load right now and can't take new requests. The error type in the response body is overloaded_error. It isn't tied to your account, it doesn't mean your network dropped, and it's a different thing from the 429 you get for calling too often. In most cases, retrying a few times with backoff, or just waiting a bit, clears it up. Only when 529s keep coming and the official status page also shows an incident should you consider degrading gracefully or switching to a fallback.
Below, 529 is compared side by side with the two codes it's most often confused with, 429 and 500. Then we cover what to do in two scenarios: API calls and Claude Code.
What does a 529 actually return?
When you call the official API directly, a 529 response looks roughly like this:
{
"type": "error",
"error": {
"type": "overloaded_error",
"message": "Overloaded"
}
}
Three things to watch for when debugging:
- 529 is not a standard HTTP status code. Anthropic uses it to mean "service overloaded." Some HTTP clients, gateways, or monitoring systems don't recognize it and may show "unknown error" or lump it into a generic 5xx bucket.
- Streaming can hit overload too, but it looks different. With
stream: true, the connection may already have returned 200 and started pushing content when overload strikes midway. In that case you don't get a 529 status code. You get anevent: errorinside the SSE stream, and it carries the sameoverloaded_error. Code that only checks the HTTP status will miss it. - The response headers include a
request-id. For any error, log that ID first. You'll need it later when contacting official support or lining up a timeline yourself.
How do you tell 429, 500, and 529 apart?
The difference is whose side the problem is on, and whether retrying helps:
429 rate_limit_error | 500 api_error | 529 overloaded_error | |
|---|---|---|---|
| Meaning | Your organization exceeded a rate or usage limit | Unexpected internal error at Anthropic | Anthropic's service is overloaded overall |
| Whose side | Your usage | Server side | Server side (shared load from all users) |
| Affects only you? | Yes, only your organization | Not necessarily | No, many people hit it in the same period |
| Does retrying help? | Yes, but wait according to retry-after | Usually, with a small number of retries | Yes, with exponential backoff |
| Can code changes fix it? | Yes: throttle, lower concurrency, cut tokens | Usually not | Not at the root; you can only make the client more resilient |
| Where to look first | Rate-limit headers in the response, usage in the console | request-id in your logs, the status page | The official status page, cdnping's /en/status/anthropic |
| Billing | A rejected request generated no content | Check your bill | Check your bill |
The billing row is deliberately conservative because it depends on the stage at which the failure happens. A request rejected at the front door generally produces no output. If a stream fails halfway, how the part already generated is billed depends on Anthropic's documentation and your own billing details. To verify, match each request-id against the usage records in the console.
For a full table covering 400, 401, 502, 503, 504, and 524, see LLM API error codes cheat sheet. Detailed handling of 429 (RPM, TPM, retry-after) has its own steps in What to do when the API returns 429.
A simple way to remember it: 429 is "you're going too fast," and 529 is "it's too busy." With a 429, change how you call the API first. With a 529, code changes only keep your program from falling over during the overload. The overload itself has to wait for the server side to recover.
What should your API code do when it gets a 529?
Step 1: Check whether the SDK's built-in retry is on
Anthropic's official Python and TypeScript SDKs automatically retry connection errors, 429s, and 5xx errors (including 529) a limited number of times, with backoff. Many people's first instinct on a 529 is to wrap another retry layer around the call. With two layers stacked, one failure turns into many requests, which adds load during an overload. For example, if the SDK retries 2 times and your outer layer retries 5 times, a single call can produce 15 requests in the worst case.
Check the SDK's retry settings first, then decide whether you need your own:
import anthropic
# Global setting: retry up to 4 times (the default is smaller; raising it can help during overload peaks)
client = anthropic.Anthropic(max_retries=4, timeout=120.0)
# Override for a single request
client.with_options(max_retries=6).messages.create(
model="<your model name>",
max_tokens=1024,
messages=[{"role": "user", "content": "hello"}],
)
The equivalent option in the TypeScript SDK is maxRetries. For the exact defaults, check the documentation for the SDK version you use.
Step 2: If you write your own retries, use exponential backoff with jitter
If you call over raw HTTP, or you need to control the overall retry budget, structure it like this: retry only the errors that should be retried; grow the interval exponentially and add random jitter so all clients don't retry at the same moment; and set a cap so you never retry forever.
import random, time
import anthropic
client = anthropic.Anthropic(max_retries=0) # turn off SDK retries to avoid stacking two layers
RETRYABLE = {429, 500, 529}
def call_with_backoff(make_request, max_attempts=5, base=1.0, cap=30.0):
for attempt in range(max_attempts):
try:
return make_request()
except anthropic.APIStatusError as e:
if e.status_code not in RETRYABLE or attempt == max_attempts - 1:
raise
# For 429, honor the wait time the server gives you
retry_after = e.response.headers.get("retry-after")
if e.status_code == 429 and retry_after:
delay = float(retry_after)
else:
delay = random.uniform(0, min(cap, base * 2 ** attempt)) # full jitter
rid = e.response.headers.get("request-id")
print(f"status={e.status_code} request-id={rid} retry in {delay:.1f}s")
time.sleep(delay)
Errors like 400, 401, and 403 aren't in the retry list because the request itself is wrong, and no number of retries will change the result. For a fuller discussion of why to use full jitter, how to set a retry budget, and which errors must never be retried, see How to write LLM API retries.
Step 3: Handle error events inside streams
For streaming calls, handle the error event that can appear partway through the stream separately. When you use the SDK's streaming interface, these errors are usually raised as exceptions. If you parse SSE yourself, check for event: error and then decide whether to resend from the start or give up. Resending a half-finished answer from the beginning means paying for it again, so think through whether it's worth it for your use case. If the stream was cut off at a proxy or CDN rather than ending with an error event, the debugging path is different; see LLM streaming output disconnects midway.
Step 4: If 529s persist, degrade instead of pushing through
If you see 529s continuously for several minutes, more retries just make the queue longer. Common approaches:
- For non-real-time work (batch processing, offline summaries), stop enqueuing and run it again after a while.
- For real-time work, set an overall timeout, and when it's exceeded, tell the user clearly rather than leaving a spinner running forever.
- If your business needs high availability, prepare a fallback model or a fallback provider and use a circuit breaker to switch over on consecutive failures. Design details are in LLM API multi-provider failover.
What if you hit a 529 in Claude Code?
For API calls, the goal is that your program doesn't crash. In Claude Code, the goal is that the changes in progress don't get lost.
Claude Code retries overload errors on its own, and the UI may show that it's retrying. If it still fails after several attempts, the task stops midway. Handle it in this order:
- Don't close the terminal yet, and don't rush to resend a long prompt. File changes already written to disk don't disappear because of a 529. What's lost is only the unfinished reply for this turn.
- Use git to see where things stand. Run
git statusandgit diffto confirm which files were changed and how far the work got. - Save the existing changes. If they look reasonable, commit first with
git add -A && git commit -m "wip: before 529". If you're not sure, usegit stashto set them aside and bring them back later. - Confirm whether it's an official outage. Open cdnping's Is Claude Code down? and Anthropic API status to see whether there's an official incident or reports from other users at the same time.
- Pick up where you left off after recovery. Use
claude --continueto return to the most recent session, orclaude --resumeto choose a session. Once you're back in, have it readgit difffirst and then continue the unfinished part, so it doesn't redo edits to the same place without knowing.
If what you see isn't a 529 but a connection timeout, ECONNRESET, or a certificate error, it's most likely a problem on the network path and has nothing to do with server overload. For how to debug that, see Troubleshooting Claude Code connection timeouts and errors.
How do you confirm it's Claude overloaded and not a problem on your side?
Go through this checklist item by item:
| Check | How | Points to overload | Points to something else |
|---|---|---|---|
| Error type | Look at error.type in the response body | overloaded_error | rate_limit_error, authentication_error, etc. |
| Is it only you? | Open /en/down/claude and check other users' reports | Others report "can't load" or "slow" in the same period | Only you are affected |
| Official status | Open /en/status/anthropic or the Anthropic status page | There's an ongoing incident | Everything is normal |
| Network connectivity | Use the cdnping online speed test to measure first connection and round trip to the Claude API | Connection and latency are normal | Connection fails or latency is abnormally high |
| Retry result | Back off a few times and try again | Recovers on its own after a while | Keeps failing, same error type |
The official status page doesn't post an incident for every brief overload. For scattered 529s, the status page may have no record at all. So "the status page looks normal" doesn't prove there's no overload. It only means things haven't reached the level of an official announcement. For how to interpret incident levels and components on a status page, see How to read the OpenAI and Claude status pages.
What does Claude's incident record for the past month look like?
cdnping syncs with Anthropic's official status page every 15 minutes and records it at /en/status/anthropic. Based on the data snapshot from October 17, 2026, the Claude incidents synced since September 17, 2026, counted by impact level, are:
| Impact level | Incidents |
|---|---|
| major | 6 |
| minor | 1 |
| none | 1 |
Source: cdnping's sync of the Anthropic official status page, window 2026-09-17 to 2026-10-17. These are officially announced incidents, and they aren't filtered by whether they were related to overload. They also exclude brief overloads that never got an announcement. cdnping only started its own edge probing on October 17, 2026, so its history is short, and the numbers above describe only this one month, not a long-term pattern. For a per-incident timeline, see Has Claude been going down a lot lately?
In the same snapshot, cdnping's probe from a Cloudflare edge (the DEN node) to api.anthropic.com showed it as currently reachable, with the latest result at 77ms, a median of 73ms, and a p95 of 84ms, and every probe in the snapshot window succeeded. These numbers only show that the API entry point is reachable and the handshake isn't slow. They don't show that model inference isn't busy. A 529 happens at the stage where the server processes the request, so even while entry-point probes look healthy, plenty of requests can still be getting 529s. When debugging, keep "network connectivity" and "service overload" separate.
FAQ
Does a 529 affect my account or limits?
No. A 529 reflects the server's overall load, not a penalty on your account. That said, if your retries are too aggressive, the flood of retry requests can make you hit a 429 yourself, and the two problems then stack.
Will switching networks or exit IPs fix a 529?
Generally not. The overload is on the server side and doesn't depend on where you connect from. If things got better after you switched networks, it's more likely that you simply caught the service recovering.
Why can't I see 529s in my monitoring?
Check two things. First, whether your monitoring drops non-standard status codes or files them under "other." Second, whether streaming errors are arriving as SSE events while your monitoring only recorded the HTTP 200.
How many retries are reasonable?
For interactive use, keep the total wait within what users will tolerate: if it still fails after three to five attempts, give up and tell the user. Background jobs can try more times, but they need a total time limit, and you should cap the number of requests retrying at the same time at a global level.