[BUG] Bug Report: Claude Code API 500 Internal Server Error

Resolved 💬 2 comments Opened Apr 13, 2026 by acosmi-fushihua Closed May 24, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Request ID: req_011Ca21far44iwgStifUcxDk
Error Details:
json{
"type": "error",
"error": {
"type": "api_error",
"message": "Internal server error"
},
"request_id": "req_011Ca21far44iwgStifUcxDk"
}
Environment:

Tool: Claude Code (CLI)
HTTP Status: 500
Error Type: api_error

What Should Happen?

Request ID: req_011Ca21far44iwgStifUcxDk
Error Details:
json{
"type": "error",
"error": {
"type": "api_error",
"message": "Internal server error"
},
"request_id": "req_011Ca21far44iwgStifUcxDk"
}
Environment:

Tool: Claude Code (CLI)
HTTP Status: 500
Error Type: api_error

Error Messages/Logs

Request ID: req_011Ca21far44iwgStifUcxDk
Error Details:
json{
  "type": "error",
  "error": {
    "type": "api_error",
    "message": "Internal server error"
  },
  "request_id": "req_011Ca21far44iwgStifUcxDk"
}
Environment:

Tool: Claude Code (CLI)
HTTP Status: 500
Error Type: api_error

Steps to Reproduce

Request ID: req_011Ca21far44iwgStifUcxDk
Error Details:
json{
"type": "error",
"error": {
"type": "api_error",
"message": "Internal server error"
},
"request_id": "req_011Ca21far44iwgStifUcxDk"
}
Environment:

Tool: Claude Code (CLI)
HTTP Status: 500
Error Type: api_error

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.104

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

Request ID: req_011Ca21far44iwgStifUcxDk
Error Details:
json{
"type": "error",
"error": {
"type": "api_error",
"message": "Internal server error"
},
"request_id": "req_011Ca21far44iwgStifUcxDk"
}
Environment:

Tool: Claude Code (CLI)
HTTP Status: 500
Error Type: api_error

View original on GitHub ↗

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