claude-code - 💡(How to fix) Fix [Bug] Task crashes mid-execution with token exhaustion [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#52675Fetched 2026-04-24 10:42:45
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
0
Timeline (top)
labeled ×3commented ×1

Error Message

[{"error":"ZodError\n at KR9 (/$bunfs/root/src/entrypoints/cli.js:1170:350)\n at async YR9 (/$bunfs/root/src/entrypoints/cli.js:1170:5539)\n at async DR9 (/$bunfs/root/src/entrypoints/cli.js:1170:12997)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T02:04:36.262Z"},{"error":"ZodError\n at KR9 (/$bunfs/root/src/entrypoints/cli.js:1170:350)\n at async YR9 (/$bunfs/root/src/entrypoints/cli.js:1170:5539)\n at async DR9 (/$bunfs/root/src/entrypoints/cli.js:1170:12997)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T02:04:36.262Z"},{"error":"ZodError\n at KR9 (/$bunfs/root/src/entrypoints/cli.js:1170:350)\n at async YR9 (/$bunfs/root/src/entrypoints/cli.js:1170:5539)\n at async DR9 (/$bunfs/root/src/entrypoints/cli.js:1170:12997)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T02:04:36.262Z"},{"error":"ZodError\n at KR9 (/$bunfs/root/src/entrypoints/cli.js:1170:350)\n at async YR9 (/$bunfs/root/src/entrypoints/cli.js:1170:5539)\n at async DR9 (/$bunfs/root/src/entrypoints/cli.js:1170:12997)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T02:04:36.262Z"},{"error":"AxiosError: Request failed with status code 401\n at zc (/$bunfs/root/src/entrypoints/cli.js:110:1194)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12696)\n at emit (node:events:92:22)\n at endReadableNT (internal:streams/readable:865:50)\n at processTicksAndRejections (native:7:39)\n at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n at async Xq5 (/$bunfs/root/src/entrypoints/cli.js:3093:14575)\n at async X57 (/$bunfs/root/src/entrypoints/cli.js:3093:15114)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T02:04:36.976Z"},{"error":"ZodError\n at KR9 (/$bunfs/root/src/entrypoints/cli.js:1170:350)\n at async YR9 (/$bunfs/root/src/entrypoints/cli.js:1170:5539)\n at async DR9 (/$bunfs/root/src/entrypoints/cli.js:1170:12997)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T02:04:37.013Z"},{"error":"ZodError\n at KR9 (/$bunfs/root/src/entrypoints/cli.js:1170:350)\n at async YR9 (/$bunfs/root/src/entrypoints/cli.js:1170:5539)\n at async DR9 (/$bunfs/root/src/entrypoints/cli.js:1170:12997)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T02:04:37.013Z"},{"error":"ZodError\n at KR9 (/$bunfs/root/src/entrypoints/cli.js:1170:350)\n at async YR9 (/$bunfs/root/src/entrypoints/cli.js:1170:5539)\n at async DR9 (/$bunfs/root/src/entrypoints/cli.js:1170:12997)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T02:04:37.013Z"},{"error":"ZodError\n at KR9 (/$bunfs/root/src/entrypoints/cli.js:1170:350)\n at async YR9 (/$bunfs/root/src/entrypoints/cli.js:1170:5539)\n at async DR9 (/$bunfs/root/src/entrypoints/cli.js:1170:12997)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T02:04:37.049Z"},{"error":"McpToolCallError: {"error":"project not found or not indexed","hint":"Use list_projects to see all indexed projects, then pass the project name.","available_projects":["Users-ahmedismail-Desktop-Finance Projects-AI-Hedge-Fund","Users-ahmedismail-Desktop-raz_ai","Users-ahmedismail-Desktop-AITools-project-context-tools","Users-ahmedismail-Desktop-transfer app"],"count":4}\n at uL7 (/$bunfs/root/src/entrypoints/cli.js:4736:63)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T02:06:42.299Z"},{"error":"Error: Request was aborted.\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3448)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T02:37:18.564Z"},{"error":"Error: File does not exist. Note: your current working directory is /Users/ahmedismail/Desktop/Finance Projects/AI-Hedge-Fund.\n at call (/$bunfs/root/src/entrypoints/cli.js:4709:7645)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T02:38:37.464Z"},{"error":"Error: 529 {"type":"error","error":{"type":"overloaded_error","message":"Overloaded"},"request_id":"req_011CaMqFnDQmV5pwbNzHP47p"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:55222)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T02:47:50.220Z"},{"error":"Error: Request was aborted.\n at makeRequ…

Code Example

[{"error":"ZodError\n    at KR9 (/$bunfs/root/src/entrypoints/cli.js:1170:350)\n    at async YR9 (/$bunfs/root/src/entrypoints/cli.js:1170:5539)\n    at async DR9 (/$bunfs/root/src/entrypoints/cli.js:1170:12997)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T02:04:36.262Z"},{"error":"ZodError\n    at KR9 (/$bunfs/root/src/entrypoints/cli.js:1170:350)\n    at async YR9 (/$bunfs/root/src/entrypoints/cli.js:1170:5539)\n    at async DR9 (/$bunfs/root/src/entrypoints/cli.js:1170:12997)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T02:04:36.262Z"},{"error":"ZodError\n    at KR9 (/$bunfs/root/src/entrypoints/cli.js:1170:350)\n    at async YR9 (/$bunfs/root/src/entrypoints/cli.js:1170:5539)\n    at async DR9 (/$bunfs/root/src/entrypoints/cli.js:1170:12997)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T02:04:36.262Z"},{"error":"ZodError\n    at KR9 (/$bunfs/root/src/entrypoints/cli.js:1170:350)\n    at async YR9 (/$bunfs/root/src/entrypoints/cli.js:1170:5539)\n    at async DR9 (/$bunfs/root/src/entrypoints/cli.js:1170:12997)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T02:04:36.262Z"},{"error":"AxiosError: Request failed with status code 401\n    at zc (/$bunfs/root/src/entrypoints/cli.js:110:1194)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12696)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:865:50)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n    at async Xq5 (/$bunfs/root/src/entrypoints/cli.js:3093:14575)\n    at async X57 (/$bunfs/root/src/entrypoints/cli.js:3093:15114)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T02:04:36.976Z"},{"error":"ZodError\n    at KR9 (/$bunfs/root/src/entrypoints/cli.js:1170:350)\n    at async YR9 (/$bunfs/root/src/entrypoints/cli.js:1170:5539)\n    at async DR9 (/$bunfs/root/src/entrypoints/cli.js:1170:12997)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T02:04:37.013Z"},{"error":"ZodError\n    at KR9 (/$bunfs/root/src/entrypoints/cli.js:1170:350)\n    at async YR9 (/$bunfs/root/src/entrypoints/cli.js:1170:5539)\n    at async DR9 (/$bunfs/root/src/entrypoints/cli.js:1170:12997)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T02:04:37.013Z"},{"error":"ZodError\n    at KR9 (/$bunfs/root/src/entrypoints/cli.js:1170:350)\n    at async YR9 (/$bunfs/root/src/entrypoints/cli.js:1170:5539)\n    at async DR9 (/$bunfs/root/src/entrypoints/cli.js:1170:12997)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T02:04:37.013Z"},{"error":"ZodError\n    at KR9 (/$bunfs/root/src/entrypoints/cli.js:1170:350)\n    at async YR9 (/$bunfs/root/src/entrypoints/cli.js:1170:5539)\n    at async DR9 (/$bunfs/root/src/entrypoints/cli.js:1170:12997)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T02:04:37.049Z"},{"error":"McpToolCallError: {\"error\":\"project not found or not indexed\",\"hint\":\"Use list_projects to see all indexed projects, then pass the project name.\",\"available_projects\":[\"Users-ahmedismail-Desktop-Finance Projects-AI-Hedge-Fund\",\"Users-ahmedismail-Desktop-raz_ai\",\"Users-ahmedismail-Desktop-AITools-project-context-tools\",\"Users-ahmedismail-Desktop-transfer app\"],\"count\":4}\n    at uL7 (/$bunfs/root/src/entrypoints/cli.js:4736:63)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T02:06:42.299Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3448)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T02:37:18.564Z"},{"error":"Error: File does not exist. Note: your current working directory is /Users/ahmedismail/Desktop/Finance Projects/AI-Hedge-Fund.\n    at call (/$bunfs/root/src/entrypoints/cli.js:4709:7645)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T02:38:37.464Z"},{"error":"Error: 529 {\"type\":\"error\",\"error\":{\"type\":\"overloaded_error\",\"message\":\"Overloaded\"},\"request_id\":\"req_011CaMqFnDQmV5pwbNzHP47p\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:55222)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T02:47:50.220Z"},{"error":"Error: Request was aborted.\n    at makeRequ…
RAW_BUFFERClick to expand / collapse

Bug Description This thing keeps crashing i the middle of the task, my usage is gone, and it didn't even finish the job

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.1.118
  • Feedback ID: c24f9fe5-a9a0-473c-a917-067ded865471

Errors

[{"error":"ZodError\n    at KR9 (/$bunfs/root/src/entrypoints/cli.js:1170:350)\n    at async YR9 (/$bunfs/root/src/entrypoints/cli.js:1170:5539)\n    at async DR9 (/$bunfs/root/src/entrypoints/cli.js:1170:12997)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T02:04:36.262Z"},{"error":"ZodError\n    at KR9 (/$bunfs/root/src/entrypoints/cli.js:1170:350)\n    at async YR9 (/$bunfs/root/src/entrypoints/cli.js:1170:5539)\n    at async DR9 (/$bunfs/root/src/entrypoints/cli.js:1170:12997)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T02:04:36.262Z"},{"error":"ZodError\n    at KR9 (/$bunfs/root/src/entrypoints/cli.js:1170:350)\n    at async YR9 (/$bunfs/root/src/entrypoints/cli.js:1170:5539)\n    at async DR9 (/$bunfs/root/src/entrypoints/cli.js:1170:12997)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T02:04:36.262Z"},{"error":"ZodError\n    at KR9 (/$bunfs/root/src/entrypoints/cli.js:1170:350)\n    at async YR9 (/$bunfs/root/src/entrypoints/cli.js:1170:5539)\n    at async DR9 (/$bunfs/root/src/entrypoints/cli.js:1170:12997)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T02:04:36.262Z"},{"error":"AxiosError: Request failed with status code 401\n    at zc (/$bunfs/root/src/entrypoints/cli.js:110:1194)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12696)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:865:50)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n    at async Xq5 (/$bunfs/root/src/entrypoints/cli.js:3093:14575)\n    at async X57 (/$bunfs/root/src/entrypoints/cli.js:3093:15114)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T02:04:36.976Z"},{"error":"ZodError\n    at KR9 (/$bunfs/root/src/entrypoints/cli.js:1170:350)\n    at async YR9 (/$bunfs/root/src/entrypoints/cli.js:1170:5539)\n    at async DR9 (/$bunfs/root/src/entrypoints/cli.js:1170:12997)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T02:04:37.013Z"},{"error":"ZodError\n    at KR9 (/$bunfs/root/src/entrypoints/cli.js:1170:350)\n    at async YR9 (/$bunfs/root/src/entrypoints/cli.js:1170:5539)\n    at async DR9 (/$bunfs/root/src/entrypoints/cli.js:1170:12997)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T02:04:37.013Z"},{"error":"ZodError\n    at KR9 (/$bunfs/root/src/entrypoints/cli.js:1170:350)\n    at async YR9 (/$bunfs/root/src/entrypoints/cli.js:1170:5539)\n    at async DR9 (/$bunfs/root/src/entrypoints/cli.js:1170:12997)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T02:04:37.013Z"},{"error":"ZodError\n    at KR9 (/$bunfs/root/src/entrypoints/cli.js:1170:350)\n    at async YR9 (/$bunfs/root/src/entrypoints/cli.js:1170:5539)\n    at async DR9 (/$bunfs/root/src/entrypoints/cli.js:1170:12997)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T02:04:37.049Z"},{"error":"McpToolCallError: {\"error\":\"project not found or not indexed\",\"hint\":\"Use list_projects to see all indexed projects, then pass the project name.\",\"available_projects\":[\"Users-ahmedismail-Desktop-Finance Projects-AI-Hedge-Fund\",\"Users-ahmedismail-Desktop-raz_ai\",\"Users-ahmedismail-Desktop-AITools-project-context-tools\",\"Users-ahmedismail-Desktop-transfer app\"],\"count\":4}\n    at uL7 (/$bunfs/root/src/entrypoints/cli.js:4736:63)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T02:06:42.299Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3448)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T02:37:18.564Z"},{"error":"Error: File does not exist. Note: your current working directory is /Users/ahmedismail/Desktop/Finance Projects/AI-Hedge-Fund.\n    at call (/$bunfs/root/src/entrypoints/cli.js:4709:7645)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T02:38:37.464Z"},{"error":"Error: 529 {\"type\":\"error\",\"error\":{\"type\":\"overloaded_error\",\"message\":\"Overloaded\"},\"request_id\":\"req_011CaMqFnDQmV5pwbNzHP47p\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:55222)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T02:47:50.220Z"},{"error":"Error: Request was aborted.\n    at makeRequ…

Note: Content was truncated.

extent analysis

TL;DR

The issue is likely related to authentication or project configuration, and checking the project name and authentication credentials may resolve the issue.

Guidance

  • Verify that the project name is correct and the project is indexed by using the list_projects command.
  • Check authentication credentials to ensure they are valid and not expired.
  • Review the error messages for any hints about the cause of the issue, such as the "project not found or not indexed" error.
  • Ensure that the current working directory is set correctly, as indicated by the "File does not exist" error.

Example

No code snippet is provided as the issue is more related to configuration and authentication.

Notes

The issue seems to be related to multiple errors, including authentication, project configuration, and file existence. The provided error messages are truncated, which may limit the ability to provide a more specific solution.

Recommendation

Apply workaround: Check and verify project configuration, authentication credentials, and file existence to resolve the issue. This is recommended as the errors suggest a configuration or authentication problem rather than a code issue.

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