[BUG] API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011CZ9DevVB5SScBuQrpfobu"}

Resolved 💬 5 comments Opened Mar 17, 2026 by omerson-cruz Closed Apr 14, 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?

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

What Should Happen?

Even trying to compact the session won't work. I did a lot on that session and the context are just wasted now.

Error Messages/Logs

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

Steps to Reproduce

Every time I prompt Claude code and event compaction wont fix the error always being thrown by Claude Code

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

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

v2.1.76

Claude Code Version

v2.1.77

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

WSL (Windows Subsystem for Linux)

Additional Information

_No response_

View original on GitHub ↗

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