[BUG] API Error: 500
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?
⎿ API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":null}
What Should Happen?
Since this morning, whether I'm using IntelliJ IDEA or Visual Studio Code, Claude starts a task but never finishes it completely. Instead, it stops and shows this error message:
⎿ API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":null}
This means that there’s an internal server error on Claude’s side (a “500” error). It’s not an issue with IntelliJ IDEA or VS Code — it indicates that Claude’s API (the backend service it connects to) is having a problem processing the request.
In short: Claude is failing to complete the request due to a temporary server-side issue, not because of your local setup or editor configuration.
Error Messages/Logs
Steps to Reproduce
Write a prompt so that it can intervene, and the problem appears after some time
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
No response
Claude Code Version
2.0.9 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
No response
Found 1 possible duplicate issue:
- https://github.com/anthropics/claude-code/issues/9063
This issue will be automatically closed as a duplicate in 3 days.
- If your issue is a duplicate, please close it and 👍 the existing issue instead
- To prevent auto-closure, add a comment or 👎 this comment
🤖 Generated with Claude Code
I just encountered the same error.
I have encountered it today as well, what is strange is that when I switch models it works:
I have encountered it today as well, what is strange is that when I switch models it works:
![]()
Thank you for your response. Changing the model does indeed resolve this issue, which suggests the problem may be related to a specific model or its current state. If you have more information about this issue or further assistance to offer, please feel free to share. Meanwhile, we will continue to monitor this issue and provide updates if necessary. Thank you again for your feedback!
solved now on my end using Sonnet
The same issue.
login ⎿ API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011CVT2B3efKEUQRB5JqeV4B"}
even login and logout is giving 500!!
Update :
API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"}, "request_id":"req_011CVT2B3efKEUQRB5JqeV4B"} .
Steps / env: – macOS (Apple Silicon) – Claude Code 2.0.50 – Originally installed via the old local ~/.claude/local/claude setup – login had been working for months, then suddenly started returning 500 without any change on my side
What I did: – Removed the old local install: rm -rf ~/.claude – Cleared the alias in my shell (unalias claude) – Reinstalled via the new official installer: curl -fsSL https://claude.ai/install.sh | bash – New binary path is now: ~/.local/bin/claude
After that, claude starts normally. Did a fresh auth too. Not sure if the fix was the reinstall itself or a backend recovery around the same time, but leaving this here in case it helps correlate and unblocking :)
This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.
it started happening after using esc+esc checkpoint
faced the same issue just now. Waited a few minutes and retried a few times. Did not help. Even after an hour, the session gave me still the same error. However, closing the session and starting claude again with the -r resume command worked and after that, no more errors