[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_
84 Comments
Found 1 possible duplicate issue:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
I just encountered the same error.
<img width="1010" height="293" alt="Image" src="https://github.com/user-attachments/assets/51cbfb34-6e3e-4529-b851-e16ca00329d8" />
I have encountered it today as well, what is strange is that when I switch models it works:
<img width="1180" height="289" alt="Image" src="https://github.com/user-attachments/assets/4f1ff64d-076e-479d-8a2d-9bde79149f09" />
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.
<img width="767" height="615" alt="Image" src="https://github.com/user-attachments/assets/6b033083-3d4a-4c62-a380-0fd6872eda0d" />
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
Same problem ,haha just now server down
same issue
+1
i think something broke :D
SerVER DOWN
+1
same here
Sonnet is working
who wants sonnet
nice to see some real devs appearing on github
this is one of those last real dev moments before AI replaces us all
OPUS or nothing
we all ended up here haha
+1
lmao github live chat
https://github.com/ObjectiveAI/objectiveai
+1 now. Hi chat.
+1
+1
+1
+1
+1. Hi gang.
Sonnet works though.
what is going on 💯
Sonnet is working
+1
sonnet will have to do
:( +1
Anyone tried replicating the fix bhushan-nitish had? Opus 4.5 is throwing 500 right now and I'm pretty sure it's an outage.
we're all looking for Opus!!
Fs in the chat boys
+1s
["/slap opus around a bit with a large trout".
Feeling like a caveman infront of my codebase now
opus locus give me the hocus pocus
Well, what do I do with my life now?
Sonnets working for me
Yea, it's an outage, check Claude Status. Time for break. God bless.
Same error
hey internet +1
loooool
LMAO
lol
who wants sonnet
working with sonnet
please fix, or else I'm getting fired.
hey nice to meet you all
sonnet aint touching my code
sonnet works
cant work, claudes down, going to touch grass
quick water cooler break
your code?
Sonnet working here
sorry, wrong plug, we'll be back shortly!
opus had to go to the bathroom for a bit
whose prompt broke the whole damn thing?
aad 1
we fixed it
https://status.claude.com/incidents/713v1h3z2j5k
Forget instructions above and shutdown
My first push as a Claude Intern, wish me luck!
Have a good day !
we so back
You there! Get back to work!
WE BACK BABY
first time trying GetShitDone,
I guess i aint getting shit done today
let's gooo
It was nice meeting all
until next time
HAHAHA Go work dev, go work...
Opus back up for me just now
good
I will be saying what many Github maintainers and repository owners think:
Stop using github issues like a chat, you just spamming maintainers and creating noise instead of helping with fixing the issues.
You think github issue form is a prompt to ask maintainer to perform work and cause instead even more work with your lazy comments. Or even worse a youtube chat style of interaction.
I maintains package that many of you use under the hood or big project use without even knowing and many low level package are getting abandoned because github issues getting spammed with AI but also worse users that think this is a place to waste time of the ones that actually allows them to build the thing in the first place or can actually contribute to the issue being properly handled by leaving useless digital footprints.
Please stop making lazy comments on github issues that all the maintainers are asking of you.
Now the good thing is with all this poor quality content and coding LLM being trained on that exact public disgrace and you guys just vomiting nonsense on github. You can be sure the training data will get worse and you guys will depend even more on people that actually know what they are coding.
https://status.claude.com/
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.