Sonnet and Opus ClaudecodeCLI: API Error: 500 {"type":"error","error":{"type":"api_error","...

Resolved 💬 6 comments Opened Feb 3, 2026 by wagabondpets Closed Feb 25, 2026

Bug Description
API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server
error"},"request_id":"req_011CXmPgjkveNcWyC92qragY"}\
\
it's sonnet and opus :(

Environment Info

  • Platform: darwin
  • Terminal: windsurf
  • Version: 2.0.76
  • Feedback ID: c80c941b-a917-4dda-a220-4831ad3f2a9a

Errors

[{"error":"Error: EISDIR: illegal operation on a directory, read\n    at readSync (unknown)\n    at <anonymous> (/$bunfs/root/claude:12:724)\n    at sW (/$bunfs/root/claude:11:8463)\n    at readSync (/$bunfs/root/claude:12:627)\n    at CX (/$bunfs/root/claude:4700:113)\n    at Th (/$bunfs/root/claude:4702:206)\n    at vo7 (/$bunfs/root/claude:2164:6561)\n    at vo7 (/$bunfs/root/claude:2164:7447)\n    at J (/$bunfs/root/claude:2164:5766)\n    at J (/$bunfs/root/claude:2164:6062)","timestamp":"2026-02-03T15:11:43.029Z"},{"error":"Error\n    at readFileSync (unknown)\n    at <anonymous> (/$bunfs/root/claude:12:500)\n    at sW (/$bunfs/root/claude:11:8463)\n    at readFileSync (/$bunfs/root/claude:12:465)\n    at Th (/$bunfs/root/claude:4702:231)\n    at vo7 (/$bunfs/root/claude:2164:6561)\n    at vo7 (/$bunfs/root/claude:2164:7447)\n    at J (/$bunfs/root/claude:2164:5766)\n    at J (/$bunfs/root/claude:2164:6062)\n    at <anonymous> (/$bunfs/root/claude:2164:6095)","timestamp":"2026-02-03T15:11:43.037Z"},{"error":"MaxFileReadTokenExceededError: File content (26834 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at Bw_ (/$bunfs/root/claude:957:12204)\n    at async call (/$bunfs/root/claude:966:1005)\n    at async Qo7 (/$bunfs/root/claude:2142:17437)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-03T15:21:37.164Z"},{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"},\"request_id\":\"req_011CXmPgjkveNcWyC92qragY\"}\n    at generate (/$bunfs/root/claude:454:11342)\n    at makeRequest (/$bunfs/root/claude:801:5435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-03T15:43:22.178Z"},{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"},\"request_id\":\"req_011CXmPkobiLsCtBkEPfVgQM\"}\n    at generate (/$bunfs/root/claude:454:11342)\n    at makeRequest (/$bunfs/root/claude:801:5435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-03T15:44:17.591Z"}]

View original on GitHub ↗

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