[Bug] Anthropic API Error: 500 Internal Server Error

Resolved 💬 3 comments Opened May 16, 2026 by mkg20001 Closed May 20, 2026

Bug Description
500 internel server error reproducible with this prompt (see session transcript)

Environment Info

  • Platform: linux
  • Terminal: gnome-terminal
  • Version: 2.1.104
  • Feedback ID: dba60f36-5d5f-46db-863f-a0f7ab53a51b

Errors

[{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"},\"request_id\":\"req_011Cb6hmqdMxsbbvNizCUzMf\"}\n    at aq.generate (file:///nix/store/ldng15znfpd2xa1q6zggw6bh8kk5nsld-claude-code-2.1.104/lib/node_modules/@anthropic-ai/claude-code/cli.js:8:53302)\n    at gL.makeStatusError (file:///nix/store/ldng15znfpd2xa1q6zggw6bh8kk5nsld-claude-code-2.1.104/lib/node_modules/@anthropic-ai/claude-code/cli.js:47:1652)\n    at gL.makeRequest (file:///nix/store/ldng15znfpd2xa1q6zggw6bh8kk5nsld-claude-code-2.1.104/lib/node_modules/@anthropic-ai/claude-code/cli.js:47:4928)\n    at process.processTicksAndRejections (node:internal/process/task_queues:104:5)\n    at async zS8.model (file:///nix/store/ldng15znfpd2xa1q6zggw6bh8kk5nsld-claude-code-2.1.104/lib/node_modules/@anthropic-ai/claude-code/cli.js:8180:8569)\n    at async zS8 (file:///nix/store/ldng15znfpd2xa1q6zggw6bh8kk5nsld-claude-code-2.1.104/lib/node_modules/@anthropic-ai/claude-code/cli.js:1530:12499)\n    at async osK (file:///nix/store/ldng15znfpd2xa1q6zggw6bh8kk5nsld-claude-code-2.1.104/lib/node_modules/@anthropic-ai/claude-code/cli.js:8180:9108)\n    at async tsK (file:///nix/store/ldng15znfpd2xa1q6zggw6bh8kk5nsld-claude-code-2.1.104/lib/node_modules/@anthropic-ai/claude-code/cli.js:8185:12024)\n    at async file:///nix/store/ldng15znfpd2xa1q6zggw6bh8kk5nsld-claude-code-2.1.104/lib/node_modules/@anthropic-ai/claude-code/cli.js:8180:8065\n    at async v97 (file:///nix/store/ldng15znfpd2xa1q6zggw6bh8kk5nsld-claude-code-2.1.104/lib/node_modules/@anthropic-ai/claude-code/cli.js:4711:2519)","timestamp":"2026-05-16T18:15:15.946Z"}]

View original on GitHub ↗

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