claude-code - 💡(How to fix) Fix [Bug] Anthropic API Error 500: All prompts returning internal server error

Official PRs (…)
ON THIS PAGE

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

[{"error":"Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011Cb6hc1e6PkBnUAqzb1vNU"}\n at vq.generate (file:///C:/Users/PC/AppData/Local/nvm/v22.22.1/node_modules/@anthropic-ai/claude-code/cli.js:8:52573)\n at qh.makeStatusError (file:///C:/Users/PC/AppData/Local/nvm/v22.22.1/node_modules/@anthropic-ai/claude-code/cli.js:47:1652)\n at qh.makeRequest (file:///C:/Users/PC/AppData/Local/nvm/v22.22.1/node_modules/@anthropic-ai/claude-code/cli.js:47:4928)\n at process.processTicksAndRejections (node:internal/process/task_queues:103:5)","timestamp":"2026-05-16T18:12:44.469Z"}]

Code Example

[{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"},\"request_id\":\"req_011Cb6hc1e6PkBnUAqzb1vNU\"}\n    at vq.generate (file:///C:/Users/PC/AppData/Local/nvm/v22.22.1/node_modules/@anthropic-ai/claude-code/cli.js:8:52573)\n    at qh.makeStatusError (file:///C:/Users/PC/AppData/Local/nvm/v22.22.1/node_modules/@anthropic-ai/claude-code/cli.js:47:1652)\n    at qh.makeRequest (file:///C:/Users/PC/AppData/Local/nvm/v22.22.1/node_modules/@anthropic-ai/claude-code/cli.js:47:4928)\n    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)","timestamp":"2026-05-16T18:12:44.469Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description API Error 500 on ALL prompts including simple ones like "oi" or "Boa tarde". Subscription: Claude Max ([email protected]) Version: 2.1.112 (Opus 4.7 1M context, max effort) Platform: Windows Started: 16 May 2026 ~22h BRT

Request IDs:

  • req_011Cb6gqQFNmYv173E37u7PZ
  • req_011Cb6h6uAbpBivwg8Q5BXmb
  • req_011Cb6hEqFB8pMhVoYcuEGwt
  • req_011Cb6hUF3mF9oXYA7PVrUbu

Affects ALL directories (tested in 2 different projects). Status page shows green but my account consistently fails.

Environment Info

  • Platform: win32
  • Terminal: vscode
  • Version: 2.1.112
  • Feedback ID: 7a41e1a4-b337-4d53-bd43-9587437555b1

Errors

[{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"},\"request_id\":\"req_011Cb6hc1e6PkBnUAqzb1vNU\"}\n    at vq.generate (file:///C:/Users/PC/AppData/Local/nvm/v22.22.1/node_modules/@anthropic-ai/claude-code/cli.js:8:52573)\n    at qh.makeStatusError (file:///C:/Users/PC/AppData/Local/nvm/v22.22.1/node_modules/@anthropic-ai/claude-code/cli.js:47:1652)\n    at qh.makeRequest (file:///C:/Users/PC/AppData/Local/nvm/v22.22.1/node_modules/@anthropic-ai/claude-code/cli.js:47:4928)\n    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)","timestamp":"2026-05-16T18:12:44.469Z"}]

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [Bug] Anthropic API Error 500: All prompts returning internal server error