[Bug] Anthropic API Error: Internal server error (500) during search operation

Resolved 💬 2 comments Opened Jan 13, 2026 by ahmatmahir Closed Feb 25, 2026

Bug Description
Search(pattern: "handleSwipe|function handleSwipe", path: "src/artifact-juice-demo.html", output_mode: "content")
⎿  Found 6 lines (ctrl+o to expand)
⎿  API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011CX4wd1oHLs7AK9cxDU7Ea"}

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.1.6
  • Feedback ID: 8c2870bc-ae48-4aa8-91b7-37f57bdda910

Errors

[{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/claude:872:3940)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-13T06:55:29.977Z"},{"error":"MaxFileReadTokenExceededError: File content (50593 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 Vy_ (/$bunfs/root/claude:1623:13323)\n    at async call (/$bunfs/root/claude:1632:1005)\n    at async pD8 (/$bunfs/root/claude:3257:27252)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-13T06:56:08.031Z"},{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"},\"request_id\":\"req_011CX4wd1oHLs7AK9cxDU7Ea\"}\n    at generate (/$bunfs/root/claude:440:33874)\n    at makeRequest (/$bunfs/root/claude:872:5435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-13T06:57:57.645Z"}]

View original on GitHub ↗

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