[BUG] API Error: 500 - every 5th request... just out of the blue

Resolved 💬 3 comments Opened Feb 25, 2026 by andrewakrise Closed Feb 25, 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_011CYV9xof3nzhoAZofT8S5J"}

Getting the error on a simple request within the terminal

What Should Happen?

Shouldn't throw the error, at least that often, right?

Error Messages/Logs

API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011CYV9xof3nzhoAZofT8S5J"} 
⏺ Searched for 1 pattern, read 3 files (ctrl+o to expand)                                                                                                
  ⎿  API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011CYV9ivywToS4etbAEjqnz"}          

⏺ Searched for 1 pattern, read 3 files (ctrl+o to expand)                                                                                                
  ⎿  API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011CYV9ivywToS4etbAEjqnz"}          

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


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


⏺ Read 1 file (ctrl+o to expand)
  ⎿  API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011CYV8DLkjG23gdEDSEHNnq"}

Steps to Reproduce

  1. Not sure, I think it's random for now

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.32

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

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