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

Resolved 💬 3 comments Opened Apr 13, 2026 by slightlyarrogant Closed Apr 17, 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?

It appears for processing conversations (in the middle of file editing), for subagents (they get killed and the same red line is displayed but with different ids like:

"request_id":"req_011Ca21pmUGUDrz1kYVkz8sX"
"request_id":"req_011Ca21qJ2oBhmof37TXpdFM"
"request_id":"req_011Ca21sBAbkU1cjZASCsU4q"

What Should Happen?

Well it should definitely not do that.

Error Messages/Logs

● Background command "Run Exp5 eval on std60 dataset" completed (exit code 0)
  ⎿  API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011Ca21qJ2oBhmof37TXpdFM"}
                                                                                                                                                                                                                                              
● Background command "Wait 10 min then check training completion" completed (exit code 0)                                                                                                                                                     
                                                                                                                                                                                                                                              
● Good, EXPERIMENTS.md is updated. Now let me update memory and commit everything.                                                                                                                                                            
                                                                                         
● Recalled 1 memory (ctrl+o to expand)                                                                                                                                                                                                        
  ⎿  API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011Ca21sBAbkU1cjZASCsU4q"}                                                                                               
                                                                                                                                                                                                                                              
● Background command "Start GGUF export with save directory" completed (exit code 0)                                                                                                                                                          
  ⎿  API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011Ca21sf6NrgKURBEejDEqF"}
                                                                                                                                                                                                                                              
● Background command "Monitor GGUF export progress every 30 seconds" completed (exit code 0)
  ⎿  API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011Ca21t7vAzTj6Xv5knG87C"}                                                                                               
                                                                                                                                                                                                                                              
● Background command "Try llama-server with minimal flags" failed with exit code 144                                                                                                                                                          
                                                                                                                                                                                                                                              
● Old background tasks — all handled. Let me update memory and commit.                                                                                                                                                                        
                                                                                                                                                                                                                                              
● Wrote 1 memory (ctrl+o to expand)                                                                                                                                                                                                           
  ⎿  API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011Ca21vWU3i8GwzorPsQMEn"}                                                                                               
                                                                                                                                                                                                                                              
✻ Worked for 32s                                                                                                                                                                                                                              
                                                                                         
● Background command "Check training progress after 10 min" completed (exit code 0)                                                                                                                                                           
  ⎿  API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011Ca21vyE845UbmDp8xpGYt"}
                                                                                                                                                                                                                                              
● Background command "Check if training completed after another 10 min" completed (exit code 0)                                                                                                                                               
  ⎿  API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011Ca21wRNz38HFJGAxdh2tS"}                                                                                               
                                                                                                                                                                                                                                              
● Background command "Start GGUF Q4_K_M export" completed (exit code 0)                  
  ⎿  API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011Ca21wtkWxWY6xFCqTFkA3"}                                                                                               
                                                                                                                                                                                                                                              
● Agent "Train Exp5c via Unsloth API" completed                                                                                                                                                                                               
  ⎿  API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011Ca21xMDEk58VrqVWep6M9"}                                                                                               
                                                                                                                                                                                                                                              
● Background command "Start llama-server with Exp5c GGUF" completed (exit code 0)                                                                                                                                                             
  ⎿  Interrupted · What should Claude do instead?                                                                                                                                                                                             
                                                                                                                                                                                                                                              
● Background command "Monitor GGUF export progress every 30 seconds" completed (exit code 0)

Steps to Reproduce

See above

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

Claude Code v2.1.32

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

Other

Additional Information

I am using zsh (/usr/bin/zsh) with an xterm-256color terminal on Linux 6.8.0-107-generic

View original on GitHub ↗

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