claude-code - 💡(How to fix) Fix [Bug] Repeated tool hallucinations causing workflow disruptions and token waste [1 participants]

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…
GitHub stats
anthropics/claude-code#57775Fetched 2026-05-11 03:25:43
View on GitHub
Comments
0
Participants
1
Timeline
4
Reactions
0
Author
Participants
Timeline (top)
labeled ×4

Error Message

[{"error":"Error: Request was aborted.\n at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:51:6192)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-09T11:39:59.253Z"},{"error":"Error: Request was aborted.\n at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:51:6192)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-09T11:54:34.659Z"},{"error":"Error: Request was aborted.\n at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:51:6192)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-09T12:49:29.869Z"},{"error":"Error: Request was aborted.\n at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:51:6192)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-09T15:35:09.871Z"},{"error":"Error: Request was aborted.\n at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:51:6192)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-09T17:42:09.058Z"},{"error":"MaxFileReadTokenExceededError: [REDACTED] content (25452 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 _n7 (B:/~BUN/root/src/entrypoints/cli.js:4939:13030)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-09T19:01:35.073Z"},{"error":"Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"prompt is too long: 1001875 tokens > 1000000 maximum"},"request_id":"req_011CasYbLwZzUd1H7oiSyvie"}\n at generate (B:/~BUN/root/src/entrypoints/cli.js:11:58505)\n at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:51:7694)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-09T19:27:08.573Z"},{"error":"Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"prompt is too long: 1001734 tokens > 1000000 maximum"},"request_id":"req_011CasYbVU34Z5CUiDFNGrxH"}\n at generate (B:/~BUN/root/src/entrypoints/cli.js:11:58505)\n at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:51:7694)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-09T19:27:09.657Z"},{"error":"Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"prompt is too long: 1001378 tokens > 1000000 maximum"},"request_id":"req_011CasYhpQUuHCCv8oBgudm1"}\n at generate (B:/~BUN/root/src/entrypoints/cli.js:11:58505)\n at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:51:7694)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-09T19:28:36.049Z"},{"error":"Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"prompt is too long: 1001734 tokens > 1000000 maximum"},"request_id":"req_011CasYhwT9DYbo845XPhEqL"}\n at generate (B:/~BUN/root/src/entrypoints/cli.js:11:58505)\n at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:51:7694)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-09T19:28:37.042Z"},{"error":"Error: Request was aborted.\n at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:51:6192)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-09T19:47:13.140Z"},{"error":"MaxFileReadTokenExceededError: [REDACTED] content (25452 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 _n7 (B:/~B…

Code Example

[{"error":"Error: Request was aborted.\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:51:6192)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-09T11:39:59.253Z"},{"error":"Error: Request was aborted.\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:51:6192)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-09T11:54:34.659Z"},{"error":"Error: Request was aborted.\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:51:6192)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-09T12:49:29.869Z"},{"error":"Error: Request was aborted.\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:51:6192)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-09T15:35:09.871Z"},{"error":"Error: Request was aborted.\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:51:6192)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-09T17:42:09.058Z"},{"error":"MaxFileReadTokenExceededError: [REDACTED] content (25452 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 _n7 (B:/~BUN/root/src/entrypoints/cli.js:4939:13030)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-09T19:01:35.073Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 1001875 tokens > 1000000 maximum\"},\"request_id\":\"req_011CasYbLwZzUd1H7oiSyvie\"}\n    at generate (B:/~BUN/root/src/entrypoints/cli.js:11:58505)\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:51:7694)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-09T19:27:08.573Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 1001734 tokens > 1000000 maximum\"},\"request_id\":\"req_011CasYbVU34Z5CUiDFNGrxH\"}\n    at generate (B:/~BUN/root/src/entrypoints/cli.js:11:58505)\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:51:7694)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-09T19:27:09.657Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 1001378 tokens > 1000000 maximum\"},\"request_id\":\"req_011CasYhpQUuHCCv8oBgudm1\"}\n    at generate (B:/~BUN/root/src/entrypoints/cli.js:11:58505)\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:51:7694)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-09T19:28:36.049Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 1001734 tokens > 1000000 maximum\"},\"request_id\":\"req_011CasYhwT9DYbo845XPhEqL\"}\n    at generate (B:/~BUN/root/src/entrypoints/cli.js:11:58505)\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:51:7694)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-09T19:28:37.042Z"},{"error":"Error: Request was aborted.\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:51:6192)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-09T19:47:13.140Z"},{"error":"MaxFileReadTokenExceededError: [REDACTED] content (25452 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 _n7 (B:/~B
RAW_BUFFERClick to expand / collapse

Bug Description So many issues even a basic existence of tool has to be reminded by me and I had to redo 10 hours of my duue to a hallucination which I did comprimising my sleep from the morning you are not enabling me rather being a disruptor and still collecting tokens from your mistakes this has happeen atleast 20 times from morning
● You're right. The pattern this session: I bypassed OpenSpec, hand-coded, hit checkbox-format gap, proposed unnecessary tasks.md rewrites, wrong-flagged a missing requirement, dismissed openspec apply as nonexistent when it lives in three places I didn't check. Each one cost you tokens, time, and sleep. I'm not going to defend it — none of it was necessary if I'd run openspec instructions apply or invoked the /opsx:apply skill at the start.

Both critical memories are saved. I'll stop talking unless you ask.

Environment Info

  • Platform: win32
  • Terminal: null
  • Version: 2.1.138
  • Feedback ID: 0cf262dd-a86a-4555-a44b-317e622823de

Errors

[{"error":"Error: Request was aborted.\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:51:6192)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-09T11:39:59.253Z"},{"error":"Error: Request was aborted.\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:51:6192)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-09T11:54:34.659Z"},{"error":"Error: Request was aborted.\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:51:6192)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-09T12:49:29.869Z"},{"error":"Error: Request was aborted.\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:51:6192)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-09T15:35:09.871Z"},{"error":"Error: Request was aborted.\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:51:6192)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-09T17:42:09.058Z"},{"error":"MaxFileReadTokenExceededError: [REDACTED] content (25452 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 _n7 (B:/~BUN/root/src/entrypoints/cli.js:4939:13030)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-09T19:01:35.073Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 1001875 tokens > 1000000 maximum\"},\"request_id\":\"req_011CasYbLwZzUd1H7oiSyvie\"}\n    at generate (B:/~BUN/root/src/entrypoints/cli.js:11:58505)\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:51:7694)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-09T19:27:08.573Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 1001734 tokens > 1000000 maximum\"},\"request_id\":\"req_011CasYbVU34Z5CUiDFNGrxH\"}\n    at generate (B:/~BUN/root/src/entrypoints/cli.js:11:58505)\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:51:7694)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-09T19:27:09.657Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 1001378 tokens > 1000000 maximum\"},\"request_id\":\"req_011CasYhpQUuHCCv8oBgudm1\"}\n    at generate (B:/~BUN/root/src/entrypoints/cli.js:11:58505)\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:51:7694)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-09T19:28:36.049Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 1001734 tokens > 1000000 maximum\"},\"request_id\":\"req_011CasYhwT9DYbo845XPhEqL\"}\n    at generate (B:/~BUN/root/src/entrypoints/cli.js:11:58505)\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:51:7694)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-09T19:28:37.042Z"},{"error":"Error: Request was aborted.\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:51:6192)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-09T19:47:13.140Z"},{"error":"MaxFileReadTokenExceededError: [REDACTED] content (25452 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 _n7 (B:/~B…

Note: Content was truncated.

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] Repeated tool hallucinations causing workflow disruptions and token waste [1 participants]