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

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

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

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.1.29
  • Feedback ID: 16fee83c-fb77-435e-ab56-daa3838c09d2

Errors

[{"error":"ReferenceError: Bun is not defined\n    at Z34 (file:///Users/ashish/.nvm/versions/node/v20.19.6/lib/node_modules/@anthropic-ai/claude-code/cli.js:1602:27809)\n    at f34 (file:///Users/ashish/.nvm/versions/node/v20.19.6/lib/node_modules/@anthropic-ai/claude-code/cli.js:1614:83)\n    at C5q (file:///Users/ashish/.nvm/versions/node/v20.19.6/lib/node_modules/@anthropic-ai/claude-code/cli.js:4787:6330)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async file:///Users/ashish/.nvm/versions/node/v20.19.6/lib/node_modules/@anthropic-ai/claude-code/cli.js:4787:3611\n    at async G$A (file:///Users/ashish/.nvm/versions/node/v20.19.6/lib/node_modules/@anthropic-ai/claude-code/cli.js:1027:2007)\n    at async pM1 (file:///Users/ashish/.nvm/versions/node/v20.19.6/lib/node_modules/@anthropic-ai/claude-code/cli.js:4787:3581)\n    at async mN (file:///Users/ashish/.nvm/versions/node/v20.19.6/lib/node_modules/@anthropic-ai/claude-code/cli.js:3186:5201)\n    at async file:///Users/ashish/.nvm/versions/node/v20.19.6/lib/node_modules/@anthropic-ai/claude-code/cli.js:6196:2795\n    at async file:///Users/ashish/.nvm/versions/node/v20.19.6/lib/node_modules/@anthropic-ai/claude-code/cli.js:6196:4107","timestamp":"2026-02-04T16:31:41.846Z"},{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"},\"request_id\":\"req_011CXoMBSKuBUpvKGFYCz5HY\"}\n    at g4.generate (file:///Users/ashish/.nvm/versions/node/v20.19.6/lib/node_modules/@anthropic-ai/claude-code/cli.js:404:8909)\n    at gy.makeStatusError (file:///Users/ashish/.nvm/versions/node/v20.19.6/lib/node_modules/@anthropic-ai/claude-code/cli.js:421:2195)\n    at gy.makeRequest (file:///Users/ashish/.nvm/versions/node/v20.19.6/lib/node_modules/@anthropic-ai/claude-code/cli.js:421:5420)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","timestamp":"2026-02-04T16:31:42.498Z"},{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"},\"request_id\":\"req_011CXoMBiv3S5GQFQCJNsUyt\"}\n    at g4.generate (file:///Users/ashish/.nvm/versions/node/v20.19.6/lib/node_modules/@anthropic-ai/claude-code/cli.js:404:8909)\n    at gy.makeStatusError (file:///Users/ashish/.nvm/versions/node/v20.19.6/lib/node_modules/@anthropic-ai/claude-code/cli.js:421:2195)\n    at gy.makeRequest (file:///Users/ashish/.nvm/versions/node/v20.19.6/lib/node_modules/@anthropic-ai/claude-code/cli.js:421:5420)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","timestamp":"2026-02-04T16:31:47.093Z"}]

View original on GitHub ↗

4 Comments

liamlenholm · 6 months ago
micjohnson777 · 6 months ago

yep, same thing as yesterday. Are we having fun yet?

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.