claude-code - 💡(How to fix) Fix [Bug] Image dimension limit error blocks all operations without actionable recovery [2 comments, 3 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#50835Fetched 2026-04-20 12:11:43
View on GitHub
Comments
2
Participants
3
Timeline
5
Reactions
0
Author
Timeline (top)
labeled ×3commented ×2

Error Message

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/stentamkivi/.local/share/claude/versions/2.1.114 (expected in multi-process scenarios)\n at sd_ (/$bunfs/root/src/entrypoints/cli.js:2751:2177)\n at WH8 (/$bunfs/root/src/entrypoints/cli.js:2751:1257)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-19T17:58:04.055Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n at GDH (/$bunfs/root/src/entrypoints/cli.js:2751:30115)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-19T17:58:04.072Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n at GDH (/$bunfs/root/src/entrypoints/cli.js:2751:30115)\n at async k (/$bunfs/root/src/entrypoints/cli.js:6136:11830)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-19T17:58:04.568Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n at GDH (/$bunfs/root/src/entrypoints/cli.js:2751:30115)\n at async G (/$bunfs/root/src/entrypoints/cli.js:6136:11023)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-19T17:58:04.569Z"}]

Code Example

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/stentamkivi/.local/share/claude/versions/2.1.114 (expected in multi-process scenarios)\n    at sd_ (/$bunfs/root/src/entrypoints/cli.js:2751:2177)\n    at WH8 (/$bunfs/root/src/entrypoints/cli.js:2751:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-19T17:58:04.055Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at GDH (/$bunfs/root/src/entrypoints/cli.js:2751:30115)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-19T17:58:04.072Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at GDH (/$bunfs/root/src/entrypoints/cli.js:2751:30115)\n    at async k (/$bunfs/root/src/entrypoints/cli.js:6136:11830)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-19T17:58:04.568Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at GDH (/$bunfs/root/src/entrypoints/cli.js:2751:30115)\n    at async G (/$bunfs/root/src/entrypoints/cli.js:6136:11023)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-19T17:58:04.569Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description there is some ghost issue about 2000px images in context. if you accidentally drop a screenshot that is wider into a session, you start getting a "An image in the conversation exceeds the dimension limit for many-image requests (2000px). Run /compact to remove old images from context, or start a new session." error message, and can do NOTHING - you don't know what name of the image, you can not remove it with one click... and if youa re in a middle of a detailed speccing process, then it is the worst moment to compact. so you have to go into manual loop of trying to figure out which file under projects has this chat's logs, then open a clean session, ask it to read those sesssion logs and then continue. VERY BAD user experience, and a genuine feeling of loss of work. please fix ASAP.

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.1.114
  • Feedback ID: ba3ecdfb-f874-487e-bf86-1cbea7aa792b

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/stentamkivi/.local/share/claude/versions/2.1.114 (expected in multi-process scenarios)\n    at sd_ (/$bunfs/root/src/entrypoints/cli.js:2751:2177)\n    at WH8 (/$bunfs/root/src/entrypoints/cli.js:2751:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-19T17:58:04.055Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at GDH (/$bunfs/root/src/entrypoints/cli.js:2751:30115)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-19T17:58:04.072Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at GDH (/$bunfs/root/src/entrypoints/cli.js:2751:30115)\n    at async k (/$bunfs/root/src/entrypoints/cli.js:6136:11830)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-19T17:58:04.568Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at GDH (/$bunfs/root/src/entrypoints/cli.js:2751:30115)\n    at async G (/$bunfs/root/src/entrypoints/cli.js:6136:11023)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-19T17:58:04.569Z"}]

extent analysis

TL;DR

The issue can be mitigated by removing old images from the context using the /compact command or starting a new session.

Guidance

  • Identify the problematic image by checking the session logs and looking for any images that exceed the 2000px dimension limit.
  • Use the /compact command to remove old images from the context, which may resolve the issue.
  • If the issue persists, try starting a new session and reloading the session logs to continue working.
  • Consider organizing session logs and images in a way that makes it easier to identify and remove problematic files.

Example

No specific code snippet is applicable in this case, as the issue is related to user interaction and session management.

Notes

The provided error messages do not seem to be directly related to the described issue, as they mention lock acquisition failures and missing environment variables. However, the issue description suggests that the problem is related to image dimensions and session management.

Recommendation

Apply workaround: Use the /compact command to remove old images from the context or start a new session to mitigate the issue, as the root cause is not clearly identified and may require further investigation.

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