[Bug] Excessive API token usage consumption
Resolved 💬 4 comments Opened Feb 28, 2026 by ghiahemanshu Closed Mar 29, 2026
Bug Description
the usage is filling up a lot faster than it has been in past
Environment Info
- Platform: darwin
- Terminal: Apple_Terminal
- Version: 2.1.61
- Feedback ID: 08337aae-fd06-48c6-ac24-65f05480602d
Errors
[{"error":"Error: This PDF has 20 pages, which is too many to read at once. Use the pages parameter to read specific page ranges (e.g., pages: \"1-5\"). Maximum 20 pages per request.\n at S27 (file:///Users/heman/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1867:1380)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async Object.call (file:///Users/heman/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1872:5968)\n at async IrY (file:///Users/heman/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:3586:15023)","timestamp":"2026-02-27T01:52:25.044Z"},{"error":"Error: This PDF has 20 pages, which is too many to read at once. Use the pages parameter to read specific page ranges (e.g., pages: \"1-5\"). Maximum 20 pages per request.\n at S27 (file:///Users/heman/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1867:1380)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async Object.call (file:///Users/heman/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1872:5968)\n at async file:///Users/heman/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:6276:1776","timestamp":"2026-02-27T01:53:13.155Z"},{"error":"Error: This PDF has 20 pages, which is too many to read at once. Use the pages parameter to read specific page ranges (e.g., pages: \"1-5\"). Maximum 20 pages per request.\n at S27 (file:///Users/heman/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1867:1380)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async Object.call (file:///Users/heman/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1872:5968)\n at async file:///Users/heman/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:6276:1776","timestamp":"2026-02-27T01:54:10.333Z"},{"error":"Error: This PDF has 20 pages, which is too many to read at once. Use the pages parameter to read specific page ranges (e.g., pages: \"1-5\"). Maximum 20 pages per request.\n at S27 (file:///Users/heman/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1867:1380)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async Object.call (file:///Users/heman/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1872:5968)\n at async file:///Users/heman/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:6276:1776","timestamp":"2026-02-27T01:54:39.924Z"},{"error":"Error: Request was aborted.\n at Mh.makeRequest (file:///Users/heman/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:370:3940)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2026-02-27T01:56:44.803Z"},{"error":"mf1: Another process is currently installing an update\n at Xd6 (file:///Users/heman/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2505:3186)\n at Object.current (file:///Users/heman/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:12224:3078)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2026-02-27T02:56:31.552Z"},{"error":"Error: {\"stack\":\"Error: Operation timed out.\\n at Timeout.<anonymous> (file:///Users/heman/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:118:167514)\\n at listOnTimeout (node:internal/timers:614:17)\\n at process.processTimers (node:internal/timers:549:7)\",\"message\":\"Operation timed out.\",\"name\":\"Error\"}\n at hS8.error (file:///Users/heman/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2483:34863)\n at tc1.error (file:///Users/heman/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:118:64369)\n at file:///Users/heman/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:118:95394\n at cLK (file:///Users/heman/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:118:95940)\n at file:///Users/heman/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:119:19810\n at runNextTicks (node:internal/process/task_queues:65:5)\n at listOnTimeout (node:internal/timers:575:9)\n at process.processTimers (node:internal/timers:549:7)","timestamp":"2026-02-27T03:29:04.297Z"},{"error":"Error: 1P event logging: 2 events failed to export (code=ETIMEDOUT, read ETIMEDOUT)\n at Fd8.queueFailedEvents (file:///Users/heman/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:6328:2315)\n at async Fd8.doExport (file:///Users/heman/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:6328:1197)","timestamp":"2026-02-27T03:29:04.300Z"}…
Note: Content was truncated.
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗