[Bug] Anthropic API Error: 500 Internal Server Error

Resolved 💬 3 comments Opened Sep 5, 2025 by hemantdoc12 Closed Sep 9, 2025

Bug Description
yes eactly. this is efficient and logical approach!
⎿ API Error: 500
{"type":"error","error":{"type":"api_error","message":"Internal server
error"},"request_id":null}

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 1.0.107
  • Feedback ID: 0b185e49-bf76-48ee-b8b2-e4c5d0a8f185

Errors

[{"error":"Error: String not found in file. Failed to apply edit.\n    at KR (/$bunfs/root/claude:1696:737)\n    at renderToolUseRejectedMessage (/$bunfs/root/claude:1753:973)\n    at Sq (/$bunfs/root/claude:229:19415)\n    at gg (/$bunfs/root/claude:231:42805)\n    at cY (/$bunfs/root/claude:231:38347)\n    at mk (/$bunfs/root/claude:231:38275)\n    at uq (/$bunfs/root/claude:231:38129)\n    at ZF (/$bunfs/root/claude:231:35208)\n    at GX (/$bunfs/root/claude:229:4842)\n    at LX (/$bunfs/root/claude:231:32454)","timestamp":"2025-09-05T19:50:29.881Z"},{"error":"Error: String not found in file. Failed to apply edit.\n    at KR (/$bunfs/root/claude:1696:737)\n    at renderToolUseRejectedMessage (/$bunfs/root/claude:1753:973)\n    at Sq (/$bunfs/root/claude:229:19415)\n    at gg (/$bunfs/root/claude:231:42805)\n    at cY (/$bunfs/root/claude:231:38347)\n    at mk (/$bunfs/root/claude:231:38275)\n    at uq (/$bunfs/root/claude:231:38129)\n    at ZF (/$bunfs/root/claude:231:35208)\n    at GX (/$bunfs/root/claude:229:4842)\n    at <anonymous> (/$bunfs/root/claude:231:51105)","timestamp":"2025-09-05T19:57:49.535Z"},{"error":"SyntaxError: JSON Parse error: Unable to parse JSON string\n    at <parse> (:0)\n    at parse (unknown)\n    at <anonymous> (/$bunfs/root/claude:540:9928)\n    at W (/$bunfs/root/claude:491:13280)\n    at _MG (/$bunfs/root/claude:980:1925)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-09-05T20:06:14.342Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at dH (/$bunfs/root/claude:1628:1192)\n    at map (native:1:11)\n    at A7 (/$bunfs/root/claude:1628:905)\n    at UIW (/$bunfs/root/claude:2789:9236)\n    at Sq (/$bunfs/root/claude:229:19415)\n    at gg (/$bunfs/root/claude:231:42805)\n    at cY (/$bunfs/root/claude:231:38347)\n    at mk (/$bunfs/root/claude:231:38275)\n    at uq (/$bunfs/root/claude:231:38129)\n    at ZF (/$bunfs/root/claude:231:35208)","timestamp":"2025-09-05T20:11:59.526Z"},{"error":"MaxFileReadTokenExceededError: File content (82125 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 new LL0 (/$bunfs/root/claude:1634:660)\n    at EPG (/$bunfs/root/claude:1643:439)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-09-05T21:13:39.068Z"},{"error":"MaxFileReadTokenExceededError: File content (60263 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 new LL0 (/$bunfs/root/claude:1634:660)\n    at EPG (/$bunfs/root/claude:1643:439)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-09-05T21:13:39.512Z"},{"error":"MaxFileReadTokenExceededError: File content (37812 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 new LL0 (/$bunfs/root/claude:1634:660)\n    at EPG (/$bunfs/root/claude:1643:439)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-09-05T21:13:40.815Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at dH (/$bunfs/root/claude:1628:1192)\n    at map (native:1:11)\n    at A7 (/$bunfs/root/claude:1628:905)\n    at UIW (/$bunfs/root/claude:2789:9236)\n    at Sq (/$bunfs/root/claude:229:19415)\n    at gg (/$bunfs/root/claude:231:42805)\n    at cY (/$bunfs/root/claude:231:38347)\n    at mk (/$bunfs/root/claude:231:38275)\n    at uq (/$bunfs/root/claude:231:38129)\n    at ZF (/$bunfs/root/claude:231:35208)","timestamp":"2025-09-05T21:13:53.833Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at dH (/$bunfs/root/claude:1628:1192)\n    at map (native:1:11)\n    at A7 (/$bunfs/root/claude:1628:905)\n    at UIW (/$bunfs/root/claude:2789:9236)\n    at Sq (/$bunfs/root/claude:229:19415)\n    at gg (/$bunfs/root/claude:231:42805)\n    at cY (/$bunfs/root/claude:231:38347)\n    at mk (/$bunfs/root/claude:231:38275)\n    at uq (/$bunfs/root/claude:231:38129

Note: Error logs were truncated.

View original on GitHub ↗

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