Skip to main content
← Q&A
API & DevAnswered

What's the difference between API 529 overloaded and 429? How do I retry?

Anonymous11/26/2026· Views 15
I'm running a simple summarization script with the Claude API, and sometimes I get 'api error: 529 overloaded', and on some days I get 429 too. I figure both just mean too many requests and getting blocked, but I don't know what's different. I vaguely heard that 429 is a limit on my side and 529 is a server-side issue. Is that right? I'm also wondering whether the official SDKs have automatic retries built in by default, or if I need to write my own retry logic. If anyone knows how long to wait on a 529 usually, please share.

Answers 1

You need to log in to write an answer.
  • 첫째StaffLv.73d ago

    Hello, this is the admin team. To cut to the chase, what you heard is correct. A 429 is a limit issue on your account or organization, and a 529 means Anthropic's servers are temporarily overloaded. Also, the official SDKs include automatic retries by default. Here's the difference between the two errors: 1. 429 (rate_limit_error): This means you've exceeded your organization's requests-per-minute or tokens-per-minute limit. If the response includes a retry-after header, just wait that long and then resend. If it keeps happening often, you should either slow down your request rate or consider requesting a higher limit. 2. 529 (overloaded_error): This shows up when the API as a whole is temporarily busy, regardless of your limits. It's not a problem with your code, so in most cases, resending after a short while is enough. Retries are handled by default by the official Python and TypeScript SDKs. They automatically retry twice by default for connection errors and 408, 409, 429, and 5xx errors, using short exponential backoff. You can change the number of retries with the max_retries option (maxRetries in TypeScript). If it still keeps failing, the error will be passed up as-is, so for important scripts, you can add one more layer of retry outside of that. However, the detailed behavior may differ depending on the SDK version, so check the docs for the version you're using. There is no official figure published for how many seconds to wait on a 529. In general, we recommend exponential backoff with random jitter added. For example, increase the intervals like 1s, 2s, 4s, and limit the maximum number of attempts (these numbers are just examples). For 429, prioritize the retry-after value if one is present. We've covered 429, 529, and retry strategies in detail in the guide below. https://usingclaude.com/ko/api/advanced/claude-api-errors-rate-limits