[Bug] Anthropic API Error: Internal Server Error (500)

Resolved 💬 3 comments Opened Apr 13, 2026 by Matodzi Closed May 24, 2026

Bug Description
API Error: 500 {"type":"error","error":{"type":"api_error","message":"Internal server error"},"request_id":"req_011Ca22E7qmK5pRh2ALrmXqy"}

Environment Info

  • Platform: win32
  • Terminal: pycharm
  • Version: 2.1.104
  • Feedback ID: 67147197-2d97-471e-a751-8bc6d2ce84fd

Errors

[{"error":"FileTooLargeError: File content (306.7KB) exceeds maximum allowed size (256KB). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at L4H (B:/~BUN/root/src/entrypoints/cli.js:3993:15525)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T11:22:44.422Z"},{"error":"FileTooLargeError: File content (306.7KB) exceeds maximum allowed size (256KB). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at L4H (B:/~BUN/root/src/entrypoints/cli.js:3993:15525)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T11:22:55.214Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\Matodzi\\AppData\\Local\\Temp\\claude\\C--Users-Matodzi-IdeaProjects-momentum-scalper\\e0fe2de1-a207-4dc3-980c-477336275042\\tasks\\a006064c4830584f5.output'\n    at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:7823:299)","timestamp":"2026-04-13T11:25:13.451Z"},{"error":"MaxFileReadTokenExceededError: File content (27899 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at _O_ (B:/~BUN/root/src/entrypoints/cli.js:4500:12874)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T11:25:22.492Z"},{"error":"MaxFileReadTokenExceededError: File content (12518 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at _O_ (B:/~BUN/root/src/entrypoints/cli.js:4500:12874)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T11:25:23.045Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\Matodzi\\AppData\\Local\\Temp\\claude\\C--Users-Matodzi-IdeaProjects-momentum-scalper\\e0fe2de1-a207-4dc3-980c-477336275042\\tasks\\a2e4beac471254f92.output'\n    at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:7823:299)","timestamp":"2026-04-13T14:54:50.988Z"},{"error":"MaxFileReadTokenExceededError: File content (28307 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at _O_ (B:/~BUN/root/src/entrypoints/cli.js:4500:12874)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T14:54:54.074Z"},{"error":"MaxFileReadTokenExceededError: File content (13839 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at _O_ (B:/~BUN/root/src/entrypoints/cli.js:4500:12874)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T14:54:54.328Z"},{"error":"MaxFileReadTokenExceededError: File content (17755 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at _O_ (B:/~BUN/root/src/entrypoints/cli.js:4500:12874)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T14:54:54.671Z"},{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"},\"request_id\":\"req_011Ca21f4DZS47sidkDu3ArG\"}\n    at generate (B:/~BUN/root/src/entrypoints/cli.js:11:53443)\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T15:32:31.242Z"},{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"},\"request_id\":\"req_011Ca21sK38986e7g2yCkxjx\"}\n    at generate (B:/~BUN/root/src/entrypoints/cli.js:11:53443)\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T15:35:12.253Z"},{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"},\"request_id\":\"req_011Ca227MKvy66mdhsJJNfjc\"}\n    at generate (B:/~BUN/root/src/entrypoints/cli.js:11:53443)\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T15:38:23.698Z"},{"erro…

Note: Content was truncated.

View original on GitHub ↗

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