claude-code - 💡(How to fix) Fix [Bug] Tool execution injected control characters (SOH \x01) into HTML, agent failed to diagnose [1 comments, 2 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#53153Fetched 2026-04-26 05:23:03
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Timeline (top)
labeled ×4commented ×1

Error Message

[{"error":"Error: File does not exist. Note: your current working directory is C:\Working\bookwise\bookwise-ui.\n at call (B:/~BUN/root/src/entrypoints/cli.js:4792:7630)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T07:45:12.734Z"},{"error":"Error: ECONNREFUSED\n at from (B:/~BUN/root/src/entrypoints/cli.js:107:7862)\n at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:115:12892)\n at emitError (node:events:43:23)\n at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:114:1149)\n at emitError (node:events:43:23)\n at <anonymous> (node:http_client:253:22)\n at processTicksAndRejections (native:7:39)\n at request (B:/~BUN/root/src/entrypoints/cli.js:117:2467)\n at async bnH (B:/~BUN/root/src/entrypoints/cli.js:253:275561)\n at async CC6 (B:/~BUN/root/src/entrypoints/cli.js:426:3883)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T15:14:28.221Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\Users\dball\AppData\Local\Temp\claude\C--Working-bookwise-bookwise-ui\e1764e02-dab2-49dd-8200-ab4f94bb8f1d\tasks\a651025dde655d0d3.output'\n at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:7979:299)","timestamp":"2026-04-21T18:05:24.728Z"},{"error":"Error: ENOENT: no such file or directory, open 'C:\Users\dball\OneDrive\Pictures\Screenshots 1\Screenshot 2026-04-21 140736.png" "C:\Users\dball\OneDrive\Pictures\Screenshots 1\Screenshot 2026-04-21 140812.png'\n at readFileSync (unknown)\n at readFileBytesSync (B:/~BUN/root/src/entrypoints/cli.js:53:1344)\n at N9K (B:/~BUN/root/src/entrypoints/cli.js:587:12440)\n at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:639:170)\n at map (native:1:11)\n at P (B:/~BUN/root/src/entrypoints/cli.js:639:161)\n at W (B:/~BUN/root/src/entrypoints/cli.js:640:154)\n at Sn4 (B:/~BUN/root/src/entrypoints/cli.js:511:1975)\n at dispatch (B:/~BUN/root/src/entrypoints/cli.js:511:2651)\n at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:497:110923)","timestamp":"2026-04-21T18:08:40.095Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\Users\dball\AppData\Local\Temp\claude\C--Working-bookwise-bookwise-ui\e1764e02-dab2-49dd-8200-ab4f94bb8f1d\tasks\a8791b30973fb97ab.output'\n at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:7979:299)","timestamp":"2026-04-21T18:29:35.226Z"},{"error":"MaxFileReadTokenExceededError: File content (51344 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 t2 (B:/~BUN/root/src/entrypoints/cli.js:4783:12677)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T18:42:52.537Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\Users\dball\AppData\Local\Temp\claude\C--Working-bookwise-bookwise-ui\e1764e02-dab2-49dd-8200-ab4f94bb8f1d\tasks\af24195ead0af3141.output'\n at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:7979:299)","timestamp":"2026-04-21T19:07:15.123Z"},{"error":"Error: Request was aborted.\n at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:3448)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T22:25:42.326Z"},{"error":"Error: 529 {"type":"error","error":{"type":"overloaded_error","message":"Overloaded"},"request_id":"req_011CaHi6fZUvELhUkkz73Mtj"}\n at generate (B:/~BUN/root/src/entrypoints/cli.js:11:54087)\n at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:4943)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T22:31:41.686Z"},{"error":"Error: Request was aborted.\n at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:3448)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T22:34:28.944Z"},{"error":"Error: Request was aborted.\n at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:3448)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T23:45:04.833Z"},{"error":"Error: Failed t…

Fix Action

Fix / Workaround

Errors

[{"error":"Error: File does not exist. Note: your current working directory is C:\\Working\\bookwise\\bookwise-ui.\n    at call (B:/~BUN/root/src/entrypoints/cli.js:4792:7630)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T07:45:12.734Z"},{"error":"Error: ECONNREFUSED\n    at from (B:/~BUN/root/src/entrypoints/cli.js:107:7862)\n    at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:115:12892)\n    at emitError (node:events:43:23)\n    at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:114:1149)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:253:22)\n    at processTicksAndRejections (native:7:39)\n    at request (B:/~BUN/root/src/entrypoints/cli.js:117:2467)\n    at async bnH (B:/~BUN/root/src/entrypoints/cli.js:253:275561)\n    at async CC6 (B:/~BUN/root/src/entrypoints/cli.js:426:3883)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T15:14:28.221Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\dball\\AppData\\Local\\Temp\\claude\\C--Working-bookwise-bookwise-ui\\e1764e02-dab2-49dd-8200-ab4f94bb8f1d\\tasks\\a651025dde655d0d3.output'\n    at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:7979:299)","timestamp":"2026-04-21T18:05:24.728Z"},{"error":"Error: ENOENT: no such file or directory, open 'C:\\Users\\dball\\OneDrive\\Pictures\\Screenshots 1\\Screenshot 2026-04-21 140736.png\" \"C:\\Users\\dball\\OneDrive\\Pictures\\Screenshots 1\\Screenshot 2026-04-21 140812.png'\n    at readFileSync (unknown)\n    at readFileBytesSync (B:/~BUN/root/src/entrypoints/cli.js:53:1344)\n    at N9K (B:/~BUN/root/src/entrypoints/cli.js:587:12440)\n    at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:639:170)\n    at map (native:1:11)\n    at P (B:/~BUN/root/src/entrypoints/cli.js:639:161)\n    at W (B:/~BUN/root/src/entrypoints/cli.js:640:154)\n    at Sn4 (B:/~BUN/root/src/entrypoints/cli.js:511:1975)\n    at dispatch (B:/~BUN/root/src/entrypoints/cli.js:511:2651)\n    at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:497:110923)","timestamp":"2026-04-21T18:08:40.095Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\dball\\AppData\\Local\\Temp\\claude\\C--Working-bookwise-bookwise-ui\\e1764e02-dab2-49dd-8200-ab4f94bb8f1d\\tasks\\a8791b30973fb97ab.output'\n    at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:7979:299)","timestamp":"2026-04-21T18:29:35.226Z"},{"error":"MaxFileReadTokenExceededError: File content (51344 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 t2_ (B:/~BUN/root/src/entrypoints/cli.js:4783:12677)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T18:42:52.537Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\dball\\AppData\\Local\\Temp\\claude\\C--Working-bookwise-bookwise-ui\\e1764e02-dab2-49dd-8200-ab4f94bb8f1d\\tasks\\af24195ead0af3141.output'\n    at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:7979:299)","timestamp":"2026-04-21T19:07:15.123Z"},{"error":"Error: Request was aborted.\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:3448)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T22:25:42.326Z"},{"error":"Error: 529 {\"type\":\"error\",\"error\":{\"type\":\"overloaded_error\",\"message\":\"Overloaded\"},\"request_id\":\"req_011CaHi6fZUvELhUkkz73Mtj\"}\n    at generate (B:/~BUN/root/src/entrypoints/cli.js:11:54087)\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T22:31:41.686Z"},{"error":"Error: Request was aborted.\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:3448)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T22:34:28.944Z"},{"error":"Error: Request was aborted.\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:3448)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T23:45:04.833Z"},{"error":"Error: Failed t…

Code Example

[{"error":"Error: File does not exist. Note: your current working directory is C:\\Working\\bookwise\\bookwise-ui.\n    at call (B:/~BUN/root/src/entrypoints/cli.js:4792:7630)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T07:45:12.734Z"},{"error":"Error: ECONNREFUSED\n    at from (B:/~BUN/root/src/entrypoints/cli.js:107:7862)\n    at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:115:12892)\n    at emitError (node:events:43:23)\n    at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:114:1149)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:253:22)\n    at processTicksAndRejections (native:7:39)\n    at request (B:/~BUN/root/src/entrypoints/cli.js:117:2467)\n    at async bnH (B:/~BUN/root/src/entrypoints/cli.js:253:275561)\n    at async CC6 (B:/~BUN/root/src/entrypoints/cli.js:426:3883)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T15:14:28.221Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\dball\\AppData\\Local\\Temp\\claude\\C--Working-bookwise-bookwise-ui\\e1764e02-dab2-49dd-8200-ab4f94bb8f1d\\tasks\\a651025dde655d0d3.output'\n    at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:7979:299)","timestamp":"2026-04-21T18:05:24.728Z"},{"error":"Error: ENOENT: no such file or directory, open 'C:\\Users\\dball\\OneDrive\\Pictures\\Screenshots 1\\Screenshot 2026-04-21 140736.png\" \"C:\\Users\\dball\\OneDrive\\Pictures\\Screenshots 1\\Screenshot 2026-04-21 140812.png'\n    at readFileSync (unknown)\n    at readFileBytesSync (B:/~BUN/root/src/entrypoints/cli.js:53:1344)\n    at N9K (B:/~BUN/root/src/entrypoints/cli.js:587:12440)\n    at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:639:170)\n    at map (native:1:11)\n    at P (B:/~BUN/root/src/entrypoints/cli.js:639:161)\n    at W (B:/~BUN/root/src/entrypoints/cli.js:640:154)\n    at Sn4 (B:/~BUN/root/src/entrypoints/cli.js:511:1975)\n    at dispatch (B:/~BUN/root/src/entrypoints/cli.js:511:2651)\n    at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:497:110923)","timestamp":"2026-04-21T18:08:40.095Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\dball\\AppData\\Local\\Temp\\claude\\C--Working-bookwise-bookwise-ui\\e1764e02-dab2-49dd-8200-ab4f94bb8f1d\\tasks\\a8791b30973fb97ab.output'\n    at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:7979:299)","timestamp":"2026-04-21T18:29:35.226Z"},{"error":"MaxFileReadTokenExceededError: File content (51344 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 t2_ (B:/~BUN/root/src/entrypoints/cli.js:4783:12677)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T18:42:52.537Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\dball\\AppData\\Local\\Temp\\claude\\C--Working-bookwise-bookwise-ui\\e1764e02-dab2-49dd-8200-ab4f94bb8f1d\\tasks\\af24195ead0af3141.output'\n    at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:7979:299)","timestamp":"2026-04-21T19:07:15.123Z"},{"error":"Error: Request was aborted.\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:3448)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T22:25:42.326Z"},{"error":"Error: 529 {\"type\":\"error\",\"error\":{\"type\":\"overloaded_error\",\"message\":\"Overloaded\"},\"request_id\":\"req_011CaHi6fZUvELhUkkz73Mtj\"}\n    at generate (B:/~BUN/root/src/entrypoints/cli.js:11:54087)\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T22:31:41.686Z"},{"error":"Error: Request was aborted.\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:3448)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T22:34:28.944Z"},{"error":"Error: Request was aborted.\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:3448)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T23:45:04.833Z"},{"error":"Error: Failed t…
RAW_BUFFERClick to expand / collapse

Bug Description Include in the ticket:

  • Your account email ([email protected])
  • Approximate date/time window of the affected session (today, 2026-04-25, debug session on goldfish-ui drawer-toggle / "▢▢ boxes")
  • The reason: tool-induced bug (sed injected \x01 SOH chars into HTML), agent failed to diagnose for many turns
  • Reference: this conversation transcript at C:\Users\dball.claude\projects\C--Working-bookwise-bookwise-ui\e1764e02-dab2-49dd-8200-ab4f94bb8f1d.jsonl

Environment Info

  • Platform: win32
  • Terminal: null
  • Version: 2.1.116
  • Feedback ID: 13cf860c-2c78-4d9b-b1a2-975b8504a43c

Errors

[{"error":"Error: File does not exist. Note: your current working directory is C:\\Working\\bookwise\\bookwise-ui.\n    at call (B:/~BUN/root/src/entrypoints/cli.js:4792:7630)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T07:45:12.734Z"},{"error":"Error: ECONNREFUSED\n    at from (B:/~BUN/root/src/entrypoints/cli.js:107:7862)\n    at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:115:12892)\n    at emitError (node:events:43:23)\n    at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:114:1149)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:253:22)\n    at processTicksAndRejections (native:7:39)\n    at request (B:/~BUN/root/src/entrypoints/cli.js:117:2467)\n    at async bnH (B:/~BUN/root/src/entrypoints/cli.js:253:275561)\n    at async CC6 (B:/~BUN/root/src/entrypoints/cli.js:426:3883)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T15:14:28.221Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\dball\\AppData\\Local\\Temp\\claude\\C--Working-bookwise-bookwise-ui\\e1764e02-dab2-49dd-8200-ab4f94bb8f1d\\tasks\\a651025dde655d0d3.output'\n    at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:7979:299)","timestamp":"2026-04-21T18:05:24.728Z"},{"error":"Error: ENOENT: no such file or directory, open 'C:\\Users\\dball\\OneDrive\\Pictures\\Screenshots 1\\Screenshot 2026-04-21 140736.png\" \"C:\\Users\\dball\\OneDrive\\Pictures\\Screenshots 1\\Screenshot 2026-04-21 140812.png'\n    at readFileSync (unknown)\n    at readFileBytesSync (B:/~BUN/root/src/entrypoints/cli.js:53:1344)\n    at N9K (B:/~BUN/root/src/entrypoints/cli.js:587:12440)\n    at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:639:170)\n    at map (native:1:11)\n    at P (B:/~BUN/root/src/entrypoints/cli.js:639:161)\n    at W (B:/~BUN/root/src/entrypoints/cli.js:640:154)\n    at Sn4 (B:/~BUN/root/src/entrypoints/cli.js:511:1975)\n    at dispatch (B:/~BUN/root/src/entrypoints/cli.js:511:2651)\n    at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:497:110923)","timestamp":"2026-04-21T18:08:40.095Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\dball\\AppData\\Local\\Temp\\claude\\C--Working-bookwise-bookwise-ui\\e1764e02-dab2-49dd-8200-ab4f94bb8f1d\\tasks\\a8791b30973fb97ab.output'\n    at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:7979:299)","timestamp":"2026-04-21T18:29:35.226Z"},{"error":"MaxFileReadTokenExceededError: File content (51344 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 t2_ (B:/~BUN/root/src/entrypoints/cli.js:4783:12677)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T18:42:52.537Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\dball\\AppData\\Local\\Temp\\claude\\C--Working-bookwise-bookwise-ui\\e1764e02-dab2-49dd-8200-ab4f94bb8f1d\\tasks\\af24195ead0af3141.output'\n    at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:7979:299)","timestamp":"2026-04-21T19:07:15.123Z"},{"error":"Error: Request was aborted.\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:3448)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T22:25:42.326Z"},{"error":"Error: 529 {\"type\":\"error\",\"error\":{\"type\":\"overloaded_error\",\"message\":\"Overloaded\"},\"request_id\":\"req_011CaHi6fZUvELhUkkz73Mtj\"}\n    at generate (B:/~BUN/root/src/entrypoints/cli.js:11:54087)\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T22:31:41.686Z"},{"error":"Error: Request was aborted.\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:3448)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T22:34:28.944Z"},{"error":"Error: Request was aborted.\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:3448)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T23:45:04.833Z"},{"error":"Error: Failed t…

Note: Content was truncated.

extent analysis

TL;DR

The issue appears to be related to file not found errors and request aborts, suggesting a potential problem with file handling or network requests.

Guidance

  • Check the file paths in the error messages to ensure they are correct and the files exist.
  • Verify that the network requests are being made correctly and that the server is responding as expected.
  • Consider adding error handling for file not found errors and request aborts to provide more informative error messages.
  • Review the code that is making the requests and handling the files to ensure it is correct and handling potential errors.

Example

No code example can be provided without more context, but ensuring that file paths are correct and handling potential errors can be done using try-catch blocks and checking the existence of files before attempting to access them.

Notes

The provided error messages suggest a variety of issues, including file not found errors, request aborts, and overloaded errors. Without more context or information about the code, it is difficult to provide a more specific solution.

Recommendation

Apply a workaround by adding error handling for file not found errors and request aborts to provide more informative error messages and to prevent the program from crashing. This can help to identify the root cause of the issue and provide a more robust solution.

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] Tool execution injected control characters (SOH \x01) into HTML, agent failed to diagnose [1 comments, 2 participants]