[Bug] Excessive token consumption causing rate limiting on conversation resume

Resolved 💬 3 comments Opened Apr 26, 2026 by Ruelled Closed May 29, 2026

Bug Description
I have one conversation that I continued from last night with my agent who was mid-job when the session ran out of tokens. I started up in the morning. After one prompt instant ratelimited and I see that he has used 12% of my session tokens end up being rate limiting. So what, are you guys DDoSing yourself?

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.1.118
  • Feedback ID: 06f5dd16-af89-45fc-80f1-ce92783d59de

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/jermodelaruelle/.local/share/claude/versions/2.1.118 (expected in multi-process scenarios)\n    at ai_ (/$bunfs/root/src/entrypoints/cli.js:2756:2177)\n    at IK8 (/$bunfs/root/src/entrypoints/cli.js:2756:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T19:45:48.757Z"},{"error":"Error: EISDIR: illegal operation on a directory, read '/Users/jermodelaruelle/Projects/dans-saas/apps/web/src/screens/web/admin'\n    at n1H (/$bunfs/root/src/entrypoints/cli.js:1698:144)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T21:00:15.510Z"},{"error":"MaxFileReadTokenExceededError: File content (26903 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 i07 (/$bunfs/root/src/entrypoints/cli.js:4696:12702)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T21:27:46.376Z"},{"error":"Error: EISDIR: illegal operation on a directory, read '/Users/jermodelaruelle/Projects/dans-saas/apps/web/src/types'\n    at n1H (/$bunfs/root/src/entrypoints/cli.js:1698:144)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T22:09:51.810Z"},{"error":"MaxFileReadTokenExceededError: File content (43041 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 i07 (/$bunfs/root/src/entrypoints/cli.js:4696:12702)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T06:42:16.148Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:13291)\n    at emit (node:events:92:22)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:114:3321)\n    at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T07:29:36.006Z"},{"error":"Error: Stream idle timeout - partial response received\n    at Te7 (/$bunfs/root/src/entrypoints/cli.js:8119:12763)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T07:36:52.138Z"},{"error":"Error: Connection error.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4056)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T15:16:08.423Z"},{"error":"Error: ECONNREFUSED\n    at from (/$bunfs/root/src/entrypoints/cli.js:107:7862)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12876)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/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 (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T15:16:23.437Z"},{"error":"Error: File does not exist. Note: your current working directory is /Users/jermodelaruelle/Projects/dans-saas.\n    at call (/$bunfs/root/src/entrypoints/cli.js:4709:7645)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T17:32:36.778Z"},{"error":"MaxFileReadTokenExceededError: File content (73402 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 i07 (/$bunfs/root/src/entrypoints/cli.js:4696:12702)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T18:10:58.248Z"},{"error":"Error: 403 {\"type\":\"error\",\"error\":{\"type\":\"permission_error\",\"message\":\"Account is no longer a member of the organization associated with this token.\"},\"request_id\":\"req_011CaP5SdftpYr3Lyq2V1ZFt\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:55038)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T18:34:28.620Z"},{"error":"AxiosError: Request failed with status code 404\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    a…

Note: Content was truncated.

<img width="1725" height="523" alt="Image" src="https://github.com/user-attachments/assets/7400f738-526c-44b3-bf0e-746a29f68980" />

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗