[Bug] Anthropic API Error: Internal Server Error (500)

Status Fixed / completed
Reported on v2.1.12
Maintainer reply ✓ Yes — bogini
Activity 10 comments · opened Jan 22, 2026 · closed Jan 22, 2026
💡 Likely answer: A maintainer (bogini, collaborator) responded on this thread — see the highlighted reply below.

Bug Description
API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server
error"},"request_id":"req_011CXPBmq9H6RW2VkE3uX2fy"}

Environment Info

  • Platform: darwin
  • Terminal: ghostty
  • Version: 2.1.12
  • Feedback ID: 81ccf3cb-f2a6-4377-a1a0-db3f2bea6fab

Errors

[{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"},\"request_id\":\"req_011CXPBmq9H6RW2VkE3uX2fy\"}\n    at P2.generate (file:///Users/shovonhasan/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:917:2322)\n    at Jj.makeStatusError (file:///Users/shovonhasan/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:934:2195)\n    at Jj.makeRequest (file:///Users/shovonhasan/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:934:5420)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2026-01-22T22:14:05.160Z"}]

View original on GitHub ↗

10 Comments

lhopkins · 7 months ago

Same error here.

RashadKulam · 7 months ago

Same error here.

Yorizel · 7 months ago

Same here

ArturoTorresMartinez · 7 months ago

Same error...

Mythical-Will · 7 months ago

Seems specific to Opus; I can use Sonnet just fine

treyreynolds · 7 months ago
API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server
     error"},"request_id":"req_011CXPBstvewtsXfT3u6xiQD"}
github-actions[bot] · 7 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/20177
  2. https://github.com/anthropics/claude-code/issues/20179
  3. https://github.com/anthropics/claude-code/issues/20180

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

coygeek · 7 months ago

npx @anthropic-ai/claude-code@2.1.14

Works as a workaround.
NPX doesnt override your current installation.

bogini collaborator · 7 months ago
github-actions[bot] · 7 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.