Bug Report
Description
Receiving repeated HTTP 500 Internal Server Error responses from the Claude API during an active Claude Code session. The session becomes completely unresponsive — both the initial request and retry attempts return the same 500 error.
Error Details
API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"}}
Two consecutive request IDs observed:
req_011Ca21czupg8JxJf17zRhUB
req_011Ca21hjUGzdQZ9CrsB2y1k
Environment
- Claude Code version: v2.1.104
- Model: Opus 4.6 (1M context)
- Plan: Claude Max
- OS: macOS (Darwin 25.1.0)
- Context usage at time of error: ~55% of context window
Steps to Reproduce
- Working in an active Claude Code session with moderate context usage (~55%)
- Session was performing code edits (R visualization code) and file operations
- After completing a tool call (Bash command with no output), the API returned 500
- Typing "continue" also returned 500
- Session became stuck — no further interaction possible
Expected Behavior
The API should return a valid response or a retryable error with a clear message.
Actual Behavior
Repeated 500 Internal Server Error with no recovery. The session must be abandoned and restarted, losing the current conversation context.
Impact
- Loss of active work session context
- Requires re-establishing full project context in a new session
- Token cost of the abandoned session is wasted
Additional Context
This occurred during a long-running session with multiple file reads, code edits, and bash executions. The session was not at the context limit (approximately 55% usage). No unusual operations were being performed at the time of the error.
Bug Report
Description
Receiving repeated HTTP 500 Internal Server Error responses from the Claude API during an active Claude Code session. The session becomes completely unresponsive — both the initial request and retry attempts return the same 500 error.
Error Details
Two consecutive request IDs observed:
req_011Ca21czupg8JxJf17zRhUBreq_011Ca21hjUGzdQZ9CrsB2y1kEnvironment
Steps to Reproduce
Expected Behavior
The API should return a valid response or a retryable error with a clear message.
Actual Behavior
Repeated 500 Internal Server Error with no recovery. The session must be abandoned and restarted, losing the current conversation context.
Impact
Additional Context
This occurred during a long-running session with multiple file reads, code edits, and bash executions. The session was not at the context limit (approximately 55% usage). No unusual operations were being performed at the time of the error.