[BUG]

Resolved 💬 3 comments Opened Mar 17, 2026 by MrJcode12 Closed Mar 21, 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?

Claude Code returns a 500 Internal Server Error on every request. No prompts succeed — simple or complex. The error occurs immediately after sending any message and persists across new sessions and terminal restarts.

API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server. error"},"request_id":"req_011CZ9E7SyD1kAizF9fVT1zU"}

What Should Happen?

API requests made through Claude Code should return valid responses. If a transient server error occurs, Claude Code should retry automatically without surfacing the error to the user.

Error Messages/Logs

API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011CZ9E7SyD1kAizF9fVT1zU"}

Steps to Reproduce

  1. Open a terminal and run claude to start a Claude Code session.
  2. Send any prompt (simple or complex).
  3. Observe that the response returns a 500 Internal Server Error instead of a valid reply.
  4. Retrying the same prompt produces the same error consistently.

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

Claude Code v2.1.77

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

This appears to be a server-side issue. The same error has been reported by multiple users in issues #9066, #22838, #28614, and #28624. The request_id above should allow server-side tracing. Claude.ai (browser) works fine on the same network and account — only Claude Code CLI is affected.

View original on GitHub ↗

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