[BUG] API Error: 529 {"type":"error","error":{"type":"overloaded_error","message":"Overloaded"},"request_id":"req_0
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Description
I encountered an API error when using Claude Code in VSCode:
API Error: 529
{
"type": "error",
"error": {
"type": "overloaded_error",
"message": "Overloaded"
},
"request_id": "req_0"
}
It seems like the request failed due to server overload, but the extension did not retry or handle the error gracefully.
---
Environment
- OS: Windows 10
- VSCode version: (please fill)
- Claude Code extension version: (please fill)
- Model used: (e.g. claude-3.7-sonnet / opus / etc.)
---
Steps to reproduce
- Open VSCode
- Use Claude Code extension
- Send a prompt
- Receive API Error 529 overloaded_error
---
Expected behavior
The extension should either:
- retry automatically, or
- provide clearer guidance on retrying later
instead of returning a raw API error.
---
Additional context
Please confirm whether this is expected behavior when the Claude API is overloaded, or if retry logic should be handled by the extension.
What Should Happen?
When the API returns a 529 overloaded_error response, the extension should:
- automatically retry the request with exponential backoff, or
- provide a clear message indicating that the server is temporarily overloaded and the user should retry later
instead of returning a raw API error without guidance.
Error Messages/Logs
API Error: 529 {"type":"error","error":{"type":"overloaded_error","message":"Overloaded"},"request_id":"req_0
Steps to Reproduce
- Open VSCode
- Launch Claude Code extension
- Send a prompt to the model
- The request fails with:
API Error: 529
{
"type": "error",
"error": {
"type": "overloaded_error",
"message": "Overloaded"
}
}
Claude Model
Sonnet (default)
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.94
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_
15 Comments
+1
+1
I was using the Sonnet model, but it worked when I switched to Opus.
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
+1
<img width="991" height="182" alt="Image" src="https://github.com/user-attachments/assets/e149a0d0-9117-436c-b2e8-fe13253ac013" />
+1
same issue for almost an hour!
+1
+111
Please fix the network issue ASAP.
Also, you should give us extra-token for this issue....
Please fix the network issue ASAP.
Also, you should give us extra-token for this issue....
Please fix the network issue ASAP.
Also, you should give us extra-token for this issue....
+1. crying
+1
I get this same issue while using Sonnet 4.6. After switching to Opus 4.6 and passing the error, Opus states the following:
However, this is only happening in VS Code Claude Code extension. When using Sonnet 4.6 in the integrated terminal, all works as it should.
Same issue today!
Update: when I switch model again by
\modelto:the 529 error disappeared from my side.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.