claude-code - 💡(How to fix) Fix [Bug] Claude hallucinates non-existent bugs, wasting tokens and time

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

[{"error":"MaxFileReadTokenExceededError: [REDACTED] content (57296 tokens) exceeds maximum allowed tokens (25000). 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 ar7 (/$bunfs/root/src/entrypoints/cli.js:4900:13009)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-20T20:13:53.033Z"},{"error":"MaxFileReadTokenExceededError: [REDACTED] content (40519 tokens) exceeds maximum allowed tokens (25000). 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 ar7 (/$bunfs/root/src/entrypoints/cli.js:4900:13009)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-20T20:14:05.121Z"},{"error":"MaxFileReadTokenExceededError: [REDACTED] content (57296 tokens) exceeds maximum allowed tokens (25000). 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 ar7 (/$bunfs/root/src/entrypoints/cli.js:4900:13009)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-20T20:14:30.249Z"},{"error":"MaxFileReadTokenExceededError: [REDACTED] content (42531 tokens) exceeds maximum allowed tokens (25000). 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 ar7 (/$bunfs/root/src/entrypoints/cli.js:4900:13009)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-20T20:14:46.804Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:121:13313)\n at emit (node:events:92:22)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:3321)\n at request (/$bunfs/root/src/entrypoints/cli.js:123:2467)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-21T17:17:51.002Z"},{"error":"Error: unknown certificate verification error\n at from (/$bunfs/root/src/entrypoints/cli.js:113:7862)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:121:12898)\n at emitError (node:events:43:23)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:1149)\n at emitError (node:events:43:23)\n at <anonymous> (node:_http_client:243:22)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-21T17:18:17.495Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:121:13313)\n at emit (node:events:92:22)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:3321)\n at request (/$bunfs/root/src/entrypoints/cli.js:123:2467)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-21T17:19:17.655Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:121:13313)\n at emit (node:events:92:22)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:3321)\n at request (/$bunfs/root/src/entrypoints/cli.js:123:2467)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-21T17:22:27.199Z"},{"error":"Error: Request was aborted.\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:6192)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-21T18:17:11.259Z"}]

Code Example

[{"error":"MaxFileReadTokenExceededError: [REDACTED] content (57296 tokens) exceeds maximum allowed tokens (25000). 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 ar7 (/$bunfs/root/src/entrypoints/cli.js:4900:13009)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-20T20:13:53.033Z"},{"error":"MaxFileReadTokenExceededError: [REDACTED] content (40519 tokens) exceeds maximum allowed tokens (25000). 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 ar7 (/$bunfs/root/src/entrypoints/cli.js:4900:13009)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-20T20:14:05.121Z"},{"error":"MaxFileReadTokenExceededError: [REDACTED] content (57296 tokens) exceeds maximum allowed tokens (25000). 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 ar7 (/$bunfs/root/src/entrypoints/cli.js:4900:13009)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-20T20:14:30.249Z"},{"error":"MaxFileReadTokenExceededError: [REDACTED] content (42531 tokens) exceeds maximum allowed tokens (25000). 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 ar7 (/$bunfs/root/src/entrypoints/cli.js:4900:13009)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-20T20:14:46.804Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:121:13313)\n    at emit (node:events:92:22)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:3321)\n    at request (/$bunfs/root/src/entrypoints/cli.js:123:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-21T17:17:51.002Z"},{"error":"Error: unknown certificate verification error\n    at from (/$bunfs/root/src/entrypoints/cli.js:113:7862)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:121:12898)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:1149)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:243:22)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-21T17:18:17.495Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:121:13313)\n    at emit (node:events:92:22)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:3321)\n    at request (/$bunfs/root/src/entrypoints/cli.js:123:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-21T17:19:17.655Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:121:13313)\n    at emit (node:events:92:22)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:3321)\n    at request (/$bunfs/root/src/entrypoints/cli.js:123:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-21T17:22:27.199Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:6192)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-21T18:17:11.259Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description WORST EXPERIENCE EVER halusinate about a bug, wast 3 hours of work (and tokens) and at the end "I invented the no-JSON concern. Sorry for wasting your time on that." that was the output, really bad experience

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.1.139
  • Feedback ID: e0f4a74c-220b-4020-888d-6d358d026601

Errors

[{"error":"MaxFileReadTokenExceededError: [REDACTED] content (57296 tokens) exceeds maximum allowed tokens (25000). 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 ar7 (/$bunfs/root/src/entrypoints/cli.js:4900:13009)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-20T20:13:53.033Z"},{"error":"MaxFileReadTokenExceededError: [REDACTED] content (40519 tokens) exceeds maximum allowed tokens (25000). 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 ar7 (/$bunfs/root/src/entrypoints/cli.js:4900:13009)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-20T20:14:05.121Z"},{"error":"MaxFileReadTokenExceededError: [REDACTED] content (57296 tokens) exceeds maximum allowed tokens (25000). 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 ar7 (/$bunfs/root/src/entrypoints/cli.js:4900:13009)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-20T20:14:30.249Z"},{"error":"MaxFileReadTokenExceededError: [REDACTED] content (42531 tokens) exceeds maximum allowed tokens (25000). 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 ar7 (/$bunfs/root/src/entrypoints/cli.js:4900:13009)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-20T20:14:46.804Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:121:13313)\n    at emit (node:events:92:22)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:3321)\n    at request (/$bunfs/root/src/entrypoints/cli.js:123:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-21T17:17:51.002Z"},{"error":"Error: unknown certificate verification error\n    at from (/$bunfs/root/src/entrypoints/cli.js:113:7862)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:121:12898)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:1149)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:243:22)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-21T17:18:17.495Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:121:13313)\n    at emit (node:events:92:22)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:3321)\n    at request (/$bunfs/root/src/entrypoints/cli.js:123:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-21T17:19:17.655Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:121:13313)\n    at emit (node:events:92:22)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:3321)\n    at request (/$bunfs/root/src/entrypoints/cli.js:123:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-21T17:22:27.199Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:6192)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-21T18:17:11.259Z"}]

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [Bug] Claude hallucinates non-existent bugs, wasting tokens and time