claude-code - 💡(How to fix) Fix [Bug] Anthropic API Error: 500 Internal Server Error across all sessions

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

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_011Cb6hN45JKxAFwVdsEds9e"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:62549)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:7694)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-16T18:09:53.504Z"},{"error":"Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011Cb6hQwAQBgEzLhJSStwqP"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:62549)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:7694)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-16T18:10:35.283Z"}]

Code Example

[{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"},\"request_id\":\"req_011Cb6hN45JKxAFwVdsEds9e\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:62549)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:7694)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-16T18:09:53.504Z"},{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"},\"request_id\":\"req_011Cb6hQwAQBgEzLhJSStwqP\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:62549)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:7694)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-16T18:10:35.283Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description I'm receiving Error 500 Internal Server Error on all my sessions both in claude code cli as in Claude Code Desktop (Mac) apps, both in the latest versions, on different contexts

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.1.143
  • Feedback ID: e617159d-2385-4f66-9be1-6d8a16e7086e

Errors

[{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"},\"request_id\":\"req_011Cb6hN45JKxAFwVdsEds9e\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:62549)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:7694)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-16T18:09:53.504Z"},{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"},\"request_id\":\"req_011Cb6hQwAQBgEzLhJSStwqP\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:62549)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:7694)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-16T18:10:35.283Z"}]

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 Internal Server Error across all sessions