API Error 500 - Internal server error on every request

Status Fixed / completed
Reported on v2.1.29
Maintainer reply None cached
Activity 7 comments · opened Feb 3, 2026 · closed Feb 25, 2026

Bug Description
API Error 500 on every action
It happens consistently, even in new sessions, "/status" shows a lot of context and all is correct.

Environment Info

  • Platform: linux
  • Terminal: konsole
  • Version: 2.1.29
  • Feedback ID: b47d9e1c-e219-40e1-953e-6b700c7a1645

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /home/apodran/.local/share/claude/versions/2.1.29 (expected in multi-process scenarios)\n    at $w$ (/$bunfs/root/claude:3586:2098)\n    at xxA (/$bunfs/root/claude:3586:1209)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-03T15:49:29.570Z"},{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"},\"request_id\":\"req_011CXmQBAmrMsGzugmq7kCES\"}\n    at generate (/$bunfs/root/claude:340:8942)\n    at makeRequest (/$bunfs/root/claude:357:5435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-03T15:49:47.938Z"},{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"},\"request_id\":\"req_011CXmQDB5GaqXtXKWLQ7Prj\"}\n    at generate (/$bunfs/root/claude:340:8942)\n    at makeRequest (/$bunfs/root/claude:357:5435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-03T15:50:15.073Z"}]

View original on GitHub ↗

7 Comments

WingsOfPanda · 6 months ago

yep same error. open new session or change model does not fix it.

github-actions[bot] · 6 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/22820
  2. https://github.com/anthropics/claude-code/issues/22829
  3. https://github.com/anthropics/claude-code/issues/22766

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

FujiwaraChoki · 6 months ago

probably sonnet 5 soon?

apodran · 6 months ago

Became working for me

apodran · 6 months ago

This was not exactly the same error as mentioned, because this issue is created via /feedback command while #22820 says including this command

stevenpetryk · 6 months ago

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.

github-actions[bot] · 5 months ago

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.