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

Resolved 💬 4 comments Opened Feb 4, 2026 by imashishkh21 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 ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗