Requests failing: API Error: 500...

Status Fixed / completed
Reported on v2.1.38
Maintainer reply None cached
Activity 13 comments · opened Feb 10, 2026 · closed Feb 10, 2026

Bug Description
I'm getting this error: API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011CY11zF321FLoRTcrBCaoU"}

Environment Info

  • Platform: darwin
  • Terminal: ghostty
  • Version: 2.1.38
  • Feedback ID: dad15de7-4548-41ae-b085-550a82715f5c

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/userfolder/.local/share/claude/versions/2.1.38 (expected in multi-process scenarios)\n    at QVR (/$bunfs/root/claude:3622:2098)\n    at yMA (/$bunfs/root/claude:3622:1209)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-10T20:25:51.708Z"},{"error":"Error: ensureToolResultPairing: repaired missing tool_result blocks (27 -> 27 messages). Message structure: [0] user; [1] assistant(id=msg_01HPejGqUbieCzob8wBoUgLq, tool_uses=[toolu_01SkbH3xPyfQM5we9EXYDkHY,toolu_01MbEyBsCPkj2K8TNkzuEZmu]); [2] user(tool_results=[toolu_01SkbH3xPyfQM5we9EXYDkHY,toolu_01MbEyBsCPkj2K8TNkzuEZmu]); [3] assistant(id=msg_01M9VLZzVojEHQvXCTMTZcU3, tool_uses=[toolu_01XRLQeepobuh5yTsp3LLKAh]); [4] user(tool_results=[toolu_01XRLQeepobuh5yTsp3LLKAh]); [5] assistant(id=msg_01NGRz2enEVZmUS7RJe2qnmA, tool_uses=[toolu_01LMpvXQUrGuEmYrtkjxp1qB]); [6] user(tool_results=[toolu_01LMpvXQUrGuEmYrtkjxp1qB]); [7] assistant(id=msg_0155froDUmFZhJyAoqG2c1sX, tool_uses=[toolu_01Jw6eHDkHEftET3bbmWa5KX]); [8] user(tool_results=[toolu_01Jw6eHDkHEftET3bbmWa5KX]); [9] assistant(id=msg_019hJRzTVLLvsLUSS2ttdS5o, tool_uses=[toolu_014VDH2nj1tNvWyEZs5mmcBR]); [10] user(tool_results=[toolu_014VDH2nj1tNvWyEZs5mmcBR]); [11] assistant(id=msg_01GMZBAGPktx8NLEXKJ5JwUN, tool_uses=[toolu_01WLEoQsMGwsieVLBdjBsAHB]); [12] user(tool_results=[toolu_01WLEoQsMGwsieVLBdjBsAHB]); [13] assistant(id=msg_01Y7X7dNeMDAJAEgLByWn9xi, tool_uses=[toolu_01DP1RFtQPpZ4soWEoqM5Mc5]); [14] user(tool_results=[toolu_01DP1RFtQPpZ4soWEoqM5Mc5]); [15] assistant(id=msg_01TbK1gnoRy3muMhk3UAQ2pk, tool_uses=[toolu_01T5VwgfQmZHHekofmpHUgBn]); [16] user(tool_results=[toolu_01T5VwgfQmZHHekofmpHUgBn]); [17] assistant(id=msg_013ApYcjMsQD8nbhLCwgai63, tool_uses=[toolu_01FeXSBBF8xgzdgvvVz1DjaP]); [18] user(tool_results=[toolu_01FeXSBBF8xgzdgvvVz1DjaP]); [19] assistant(id=msg_01WmV1LGUjYqn5w9EYzu3UjY, tool_uses=[toolu_01G4A5aKURfm3CDTKjfS2dfr]); [20] user(tool_results=[toolu_01G4A5aKURfm3CDTKjfS2dfr]); [21] assistant(id=msg_0137uCY7QuW2PBd6W7HmS64m, tool_uses=[toolu_017wguQBZftBUz14DiHCDgaL]); [22] user(tool_results=[toolu_017wguQBZftBUz14DiHCDgaL]); [23] assistant(id=msg_01RXayDFUoGd2MMNiZFGBjMt, tool_uses=[toolu_01EnavHPTzCxnKqHNGu716JR,toolu_01U2JLuZKKsLhNRTyByjpNZh,toolu_01TCX7wA4nqMMhzjdowTr8WP,toolu_01RJHTms1HEKq7WTocfkGrSz]); [24] user(tool_results=[toolu_01RJHTms1HEKq7WTocfkGrSz]); [25] assistant(id=msg_01Rdu8ckopdFa7FaZFKUNQkb, tool_uses=[toolu_01VKBofnx6wWNRk69CUrorFG]); [26] user(tool_results=[toolu_01VKBofnx6wWNRk69CUrorFG])\n    at zsB (/$bunfs/root/claude:6117:8447)\n    at UsB (/$bunfs/root/claude:5701:6651)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-10T20:26:55.762Z"},{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"},\"request_id\":\"req_011CY11zELbgsNr4vcUXEXrJ\"}\n    at generate (/$bunfs/root/claude:319:9040)\n    at makeRequest (/$bunfs/root/claude:358:5435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-10T20:27:20.602Z"},{"error":"SyntaxError: JSON Parse error: Unexpected identifier \"API\"\n    at <parse> (:0)\n    at parse (unknown)\n    at <anonymous> (/$bunfs/root/claude:62:1142)\n    at A (/$bunfs/root/claude:11:7851)\n    at SZ_ (/$bunfs/root/claude:1136:3847)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-10T20:27:20.608Z"},{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"},\"request_id\":\"req_011CY11zF321FLoRTcrBCaoU\"}\n    at generate (/$bunfs/root/claude:319:9040)\n    at makeRequest (/$bunfs/root/claude:358:5435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-10T20:27:20.768Z"},{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"},\"request_id\":\"req_011CY125g7XeSzizy1GkqXVW\"}\n    at generate (/$bunfs/root/claude:319:9040)\n    at makeRequest (/$bunfs/root/claude:358:5435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-10T20:28:34.360Z"}]

View original on GitHub ↗

13 Comments

github-actions[bot] · 6 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/24797
  2. https://github.com/anthropics/claude-code/issues/24799
  3. https://github.com/anthropics/claude-code/issues/24642

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

magician-blue · 6 months ago

me too

MarkTheCoderShark · 6 months ago

same here

Claude Max Plan
using warp - claude code cli

tried both dangerously run and normal claude command.

Sonnet 4.5 works, opus 4.6 doesn't.

mrkey4real · 6 months ago

Same here, after exit, claude code can't even pop up. But Antigravity opus 4.6 is fine lol. I am Max plan btw

microsaasbuilder · 6 months ago

i got a similar issue just now maybe its related to the downtime this morning?

BautistaPessagno · 6 months ago

same here, Claude Max plan using CC cli
API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011CY14adzpg1fKqUnsj8UAS"}

mrkey4real · 6 months ago
Same here, after exit, claude code can't even pop up. But Antigravity opus 4.6 is fine lol. I am Max plan btw

Yeah I am switching to Antigravity and codex now until they fix it. Did ever Anthropic give back some credits or balance to compensate? I mean that gonna cost solid loss right? For customer who paid more than 100 dollars for better experience.

MarkTheCoderShark · 6 months ago
> Same here, after exit, claude code can't even pop up. But Antigravity opus 4.6 is fine lol. I am Max plan btw Yeah I am switching to Antigravity and codex now until they fix it. Did ever Anthropic give back some credits or balance to compensate? I mean that gonna cost solid loss right? For customer who paid more than 100 dollars for better experience.

Just upgraded to the $200 plan last night to get dealt this haha

simon-vincent · 6 months ago

I switched to /model sonnet and working so far, its opus model thats having issues

simon-vincent · 6 months ago

Working on Opus 4.5 if you set the /model

Supported models

Opus 4.6, claude-opus-4-6

Opus 4.5, claude-opus-4-5-20251101

Haiku 4.5, claude-haiku-4-5-20251001

Sonnet 4.5, claude-sonnet-4-5-20250929 (default)

Sonnet 4, claude-sonnet-4-20250514

Haiku 3.5, claude-3-5-haiku-20241022

mrkey4real · 6 months ago

Guys opus is working, get back to work!

MarkTheCoderShark · 6 months ago
Guys opus is working, get back to work!

woohooO!!

github-actions[bot] · 6 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.