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

Resolved 💬 3 comments Opened Aug 28, 2025 by ericvaillancourt Closed Sep 1, 2025

Bug Description
API Error: 500 {"type":"error","error":{"type":"api_error","message":"Overloaded"},"request_id":null}

Environment Info

  • Platform: linux
  • Terminal: vscode
  • Version: 1.0.96
  • Feedback ID: 0927db47-651a-4156-868d-34215347dd6a

Errors

[{"error":"MaxFileReadTokenExceededError: File content (33216 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 W1B (file:///home/eric/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1772:432)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async Object.call (file:///home/eric/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1767:994)\n    at async CM (file:///home/eric/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1772:2956)\n    at async file:///home/eric/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1786:1032","timestamp":"2025-08-28T15:42:00.136Z"},{"error":"MaxFileReadTokenExceededError: File content (50043 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 W1B (file:///home/eric/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1772:432)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async Object.call (file:///home/eric/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1767:994)\n    at async CM (file:///home/eric/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1772:2956)\n    at async file:///home/eric/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1786:1032","timestamp":"2025-08-28T15:42:00.333Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n    at Module.readFileSync (node:fs:442:20)\n    at Object.readFileSync (file:///home/eric/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:683:11451)\n    at SVA (file:///home/eric/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:744:11305)\n    at Object.call (file:///home/eric/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1767:936)\n    at call.next (<anonymous>)\n    at CM (file:///home/eric/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1772:2956)\n    at file:///home/eric/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1786:1038\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-08-28T16:12:26.301Z"},{"error":"MaxFileReadTokenExceededError: File content (54148 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 W1B (file:///home/eric/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1772:432)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async Object.call (file:///home/eric/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1767:994)\n    at async CM (file:///home/eric/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1772:2956)\n    at async file:///home/eric/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1786:1032","timestamp":"2025-08-28T16:13:32.567Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n    at Module.readFileSync (node:fs:442:20)\n    at Object.readFileSync (file:///home/eric/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:683:11451)\n    at SVA (file:///home/eric/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:744:11305)\n    at Object.call (file:///home/eric/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1767:936)\n    at call.next (<anonymous>)\n    at CM (file:///home/eric/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1772:2956)\n    at file:///home/eric/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1786:1038\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-08-28T16:19:54.901Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n    at Module.readFileSync (node:fs:442:20)\n    at Object.readFileSync (file:///home/eric/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:683:11451)\n    at SVA (file:///home/eric/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:744:11305)\n    at Object.call (file:///home/eric/.nvm/versions/node/v22.15.0/lib/nod

Note: Error logs were truncated.

View original on GitHub ↗

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