API Error: 500 ...

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

This issue occurs in Claude Code and ends up affecting the web interface. It happens on two different PCs, but it does not occur for other teammates, so it appears to be an isolated case. Bug Description
API Error: 500
{"type":"error","error":{"type":"api_error","message":"Internal server
error"},"request_id":"req_011CY156CgekdKXjNP84kfFx"}

Environment Info

  • Platform: linux
  • Terminal: gnome-terminal
  • Version: 2.1.38
  • Feedback ID: 59b9ba55-9dcd-4fd1-a605-641d10293c9f

Errors

[{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"},\"request_id\":\"req_011CY16KzwU3soa21ozxPJAo\"}\n    at k4.generate (file:///home/carlinux/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:354:9032)\n    at oC.makeStatusError (file:///home/carlinux/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:393:2195)\n    at oC.makeRequest (file:///home/carlinux/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:393:5420)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async V26.model (file:///home/carlinux/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:5776:4209)\n    at async V26 (file:///home/carlinux/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:905:99323)\n    at async dOq (file:///home/carlinux/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:5776:4409)\n    at async lOq (file:///home/carlinux/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:5781:7578)\n    at async file:///home/carlinux/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:5776:3601\n    at async $OA (file:///home/carlinux/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:961:2399)","timestamp":"2026-02-10T21:24:16.277Z"},{"error":"SyntaxError: Unexpected token 'A', \"API Error:\"... is not valid JSON\n    at JSON.parse (<anonymous>)\n    at file:///home/carlinux/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:54:1088\n    at K (file:///home/carlinux/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:8:7612)\n    at eL7 (file:///home/carlinux/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1176:4755)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2026-02-10T21:24:16.278Z"},{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"},\"request_id\":\"req_011CY16L3XVv8U13r9z7tuic\"}\n    at k4.generate (file:///home/carlinux/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:354:9032)\n    at oC.makeStatusError (file:///home/carlinux/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:393:2195)\n    at oC.makeRequest (file:///home/carlinux/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:393:5420)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async V26.model (file:///home/carlinux/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:5776:4209)\n    at async V26 (file:///home/carlinux/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:905:99323)\n    at async dOq (file:///home/carlinux/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:5776:4409)\n    at async lOq (file:///home/carlinux/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:5781:7578)\n    at async file:///home/carlinux/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:5776:3870\n    at async $OA (file:///home/carlinux/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:961:2399)","timestamp":"2026-02-10T21:24:17.839Z"},{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"},\"request_id\":\"req_011CY16N2L7yyXxHJZ3dTSp8\"}\n    at k4.generate (file:///home/carlinux/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:354:9032)\n    at oC.makeStatusError (file:///home/carlinux/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:393:2195)\n    at oC.makeRequest (file:///home/carlinux/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:393:5420)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async V26.model (file:///home/carlinux/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:5776:4209)\n    at async V26 (file:///home/carlinux/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:905:99323)\n    at async dOq (file:///home/carlinux/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:5776:4409)\n    at async lOq (file:///home/carlinux/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:5781:7578)\n    at async file:///home/carlinux/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:5776:3870\n…

Note: Content was truncated.

View original on GitHub ↗

4 Comments

carlozdaniel · 8 months ago

<img width="843" height="494" alt="Image" src="https://github.com/user-attachments/assets/9241423e-48ce-4e7b-8aff-95c45f567e7a" />

carlozdaniel · 8 months ago

I tested it on another PC, on a different network, and the issue still occurs.

github-actions[bot] · 8 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/24805
  2. https://github.com/anthropics/claude-code/issues/24642
  3. https://github.com/anthropics/claude-code/issues/24818

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

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.