[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_
This issue has 15 comments on GitHub. Read the full discussion on GitHub ↗