claude-code - 💡(How to fix) Fix [Bug] Multiple screenshots trigger image limit error with poor UX for recovery [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#52913Fetched 2026-04-25 06:17:34
View on GitHub
Comments
1
Participants
2
Timeline
6
Reactions
0
Timeline (top)
labeled ×5commented ×1

Error Message

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/treycollins/.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-23T16:56:17.759Z"},{"error":"Error: File does not exist. Note: your current working directory is /Users/treycollins/Dropbox/DesignTools.\n at call (/$bunfs/root/src/entrypoints/cli.js:4709:7645)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T16:59:55.218Z"},{"error":"Error: File does not exist. Note: your current working directory is /Users/treycollins/Dropbox/DesignTools.\n at call (/$bunfs/root/src/entrypoints/cli.js:4709:7645)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T16:59:55.563Z"},{"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-24T01:13:08.820Z"},{"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-24T04:06:55.259Z"},{"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-24T14:27:17.423Z"},{"error":"Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.32.content.1.image.source.base64.data: At least one of the image dimensions exceed max allowed size for many-image requests: 2000 pixels"},"request_id":"req_011CaNqZFEb4ZzFKidspXcSD"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:54964)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T15:32:21.724Z"}]

Code Example

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/treycollins/.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-23T16:56:17.759Z"},{"error":"Error: File does not exist. Note: your current working directory is /Users/treycollins/Dropbox/DesignTools.\n    at call (/$bunfs/root/src/entrypoints/cli.js:4709:7645)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T16:59:55.218Z"},{"error":"Error: File does not exist. Note: your current working directory is /Users/treycollins/Dropbox/DesignTools.\n    at call (/$bunfs/root/src/entrypoints/cli.js:4709:7645)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T16:59:55.563Z"},{"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-24T01:13:08.820Z"},{"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-24T04:06:55.259Z"},{"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-24T14:27:17.423Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.32.content.1.image.source.base64.data: At least one of the image dimensions exceed max allowed size for many-image requests: 2000 pixels\"},\"request_id\":\"req_011CaNqZFEb4ZzFKidspXcSD\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:54964)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T15:32:21.724Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description placing two screenshots or more in a message triggers the 'image has exceeded the limit' dialog... this makes it impossible to continue. We need options to remove old screenshots so the message can go through, I can't undo my message easily and resend... its just poor UX to have to retype all of my message and re-screenshot things.

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 2.1.118
  • Feedback ID: 220373bb-021a-4480-bc96-41f88d4dbacf

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/treycollins/.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-23T16:56:17.759Z"},{"error":"Error: File does not exist. Note: your current working directory is /Users/treycollins/Dropbox/DesignTools.\n    at call (/$bunfs/root/src/entrypoints/cli.js:4709:7645)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T16:59:55.218Z"},{"error":"Error: File does not exist. Note: your current working directory is /Users/treycollins/Dropbox/DesignTools.\n    at call (/$bunfs/root/src/entrypoints/cli.js:4709:7645)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T16:59:55.563Z"},{"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-24T01:13:08.820Z"},{"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-24T04:06:55.259Z"},{"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-24T14:27:17.423Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.32.content.1.image.source.base64.data: At least one of the image dimensions exceed max allowed size for many-image requests: 2000 pixels\"},\"request_id\":\"req_011CaNqZFEb4ZzFKidspXcSD\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:54964)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T15:32:21.724Z"}]

extent analysis

TL;DR

The issue can be resolved by removing or resizing the large images to be within the 2000-pixel limit for multi-image requests.

Guidance

  • The error message indicates that at least one of the image dimensions exceeds the maximum allowed size for multi-image requests, which is 2000 pixels.
  • To fix this, the user can try removing some of the screenshots or resizing them to be within the allowed limit.
  • The user can also try to send the images one by one to avoid exceeding the size limit.
  • It's also worth noting that the error messages include other issues such as file not found and request timeouts, but the primary issue seems to be related to the image size.

Example

No code example is provided as the issue seems to be related to the image size and not a code-specific problem.

Notes

The provided error messages include various issues, but the primary issue seems to be related to the image size. Resolving the image size issue should fix the problem, but the other errors may still need to be addressed.

Recommendation

Apply workaround: The user should try removing or resizing the large images to be within the 2000-pixel limit for multi-image requests, as this seems to be the primary cause of the 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

claude-code - 💡(How to fix) Fix [Bug] Multiple screenshots trigger image limit error with poor UX for recovery [1 comments, 2 participants]