Image dimension error causes unrecoverable session loop in VS Code/Cursor extension (v2.1.112)

Status Fixed / completed
Reported on v2.1.112
Maintainer reply None cached
Activity 3 comments · opened Apr 18, 2026 · closed Apr 18, 2026

Bug

After accumulating multiple screenshots in a conversation, the extension throws "An image in the conversation exceeds the dimension limit for many-image requests (2000px)" and enters an infinite error loop. All subsequent messages (including text-only) repeat the same error — the session becomes completely unrecoverable.

Steps to reproduce

  1. Open Claude Code extension in Cursor (v2.1.112)
  2. Send multiple screenshots during a work session (standard Linux screenshot tool)
  3. After ~3-6 images, the dimension error appears
  4. Any subsequent message (even text-only, no images) triggers the same error indefinitely

Expected behavior

  • Images should be auto-resized to stay within API limits, OR
  • The error should only affect the problematic message, allowing the conversation to continue with text or smaller images

Actual behavior

  • Error loops infinitely, session is unrecoverable
  • User is forced to start a new session, losing all conversation context

Environment

  • Extension version: 2.1.112 (bug present) / 2.1.92 (works fine)
  • Editor: Cursor
  • OS: Pop!_OS 24.04 LTS (Linux)
  • Display: 2560x1600 (screenshots naturally exceed 2000px)
  • Plan: Max

Workaround

Downgrade to v2.1.92 resolves the issue — long sessions with many screenshots work without any errors.

---
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

View original on GitHub ↗

3 Comments

github-actions[bot] · 6 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/13480
  2. https://github.com/anthropics/claude-code/issues/2939
  3. https://github.com/anthropics/claude-code/issues/34566

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

lucianalima777 · 6 months ago

Closing as duplicate of #13480. Added regression data (v2.1.92 works, v2.1.112 breaks) as a comment there.

github-actions[bot] · 5 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.