[Bug] Anthropic API Error: Internal server error with token consumption

Resolved 💬 2 comments Opened Feb 21, 2026 by cedricahenkorah Closed Feb 22, 2026

Bug Description
⏺ Searched for 2 patterns, read 2 files (ctrl+o to expand)
⎿  API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011CYMyV2PYkmGEwxLDCMv1w"}

I've asked claude (opus 4.6) to generate a plan for a feature I'm working on, within a project but i'm encountering this issue. it fails to generate the plan but my tokens are being used up regardless

Environment Info

  • Platform: darwin
  • Terminal: ghostty
  • Version: 2.1.50
  • Feedback ID: 6fced59c-0103-4077-a754-227011fdea62

Errors

[{"error":"Error\n    at zj (/$bunfs/root/claude:92:1144)\n    at <anonymous> (/$bunfs/root/claude:93:10097)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:861:50)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/claude:95:2149)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-21T21:57:18.876Z"},{"error":"AbortError: The operation was aborted.\n    at unknown\n    at abortChildProcess (node:child_process:935:42)\n    at onAbortListener2 (node:child_process:35:24)\n    at abort (unknown)\n    at <anonymous> (/$bunfs/root/claude:5020:209)","timestamp":"2026-02-21T21:57:21.013Z"},{"error":"RipgrepTimeoutError: Ripgrep search timed out after 20 seconds. The search may have matched files but did not complete in time. Try searching a more specific path or pattern.\n    at D (/$bunfs/root/claude:116:189)\n    at <anonymous> (/$bunfs/root/claude:116:403)\n    at exitHandler (node:child_process:109:27)\n    at errorHandler (node:child_process:118:16)\n    at emitError (node:events:43:23)\n    at abortChildProcess (node:child_process:935:17)\n    at onAbortListener2 (node:child_process:35:24)\n    at abort (unknown)\n    at <anonymous> (/$bunfs/root/claude:5020:209)","timestamp":"2026-02-21T21:57:21.013Z"},{"error":"Error: File does not exist. Note: your current working directory is /Users/cedricahenkorah/Desktop/personal/ai54.\n    at call (/$bunfs/root/claude:4823:6302)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-21T22:02:03.362Z"},{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"},\"request_id\":\"req_011CYMyHaXzK2hbwirDMZiTW\"}\n    at generate (/$bunfs/root/claude:262:28474)\n    at makeRequest (/$bunfs/root/claude:301:5435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-21T22:04:15.522Z"},{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"},\"request_id\":\"req_011CYMyV2PYkmGEwxLDCMv1w\"}\n    at generate (/$bunfs/root/claude:262:28474)\n    at makeRequest (/$bunfs/root/claude:301:5435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-21T22:06:53.320Z"}]

View original on GitHub ↗

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