[BUG] Got API Error 500
Status Fixed / completed
Reported on v2.1.17
Maintainer reply None cached
Workaround ✓ Mentioned in thread ↓
Activity 8 comments · opened Jan 22, 2026 · closed Feb 25, 2026
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 while using, getting error code 500 for all claude code agents.
What Should Happen?
claude code works
Error Messages/Logs
API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011CXPBk57rUbKp5XVtievhP"}
Steps to Reproduce
start claude code conversation
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.17
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
8 Comments
same here
Yes, same here.
yes, same here
!Hw
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
npx @anthropic-ai/claude-code@2.1.14
Works as a workaround.
NPX doesnt override your current installation.
Hi folks, thanks for reporting this. These 500 errors were caused by transient API outages on the Anthropic side — not a bug in Claude Code itself. The API is currently healthy, so I'm closing this out. If you're still experiencing 500 errors, you can check the API status at https://status.anthropic.com, and if the issue persists while the status page is green, please open a new issue with your request ID and we'll investigate.
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.