Image dimension error blocks all subsequent commands, requiring context clear
Resolved 💬 4 comments Opened Jun 30, 2025 by pablopda Closed Aug 20, 2025
Claude Code Issue Report
Title: Image dimension error blocks all subsequent commands, requiring context clear
Description
When submitting an image that exceeds the 2000 pixel limit in a multi-image request, Claude Code displays an error but then becomes completely unresponsive to any further commands. The only way to recover is to use /clear to reset the context, losing all conversation history.
Steps to Reproduce
- Submit an image with dimensions exceeding 2000 pixels (in a conversation with multiple images)
- Receive the error:
API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.33.content.28.image.source.base64.data: At least one of the image dimensions exceed max allowed size for many-image requests: 2000 pixels"}} - Try to run any subsequent command
- Observe that no commands work until
/clearis used
Expected Behavior
- The error should be displayed
- Claude Code should remain responsive to subsequent commands
- Users should be able to continue working without losing context
Actual Behavior
- Error is displayed
- Claude Code becomes unresponsive to all commands
- Only solution is
/clear, which loses all conversation context
Environment
- Claude Code Version: 1.0.27
- OS: Ubuntu Linux (6.11.0-14-generic)
- Node.js Version: v22.16.0
- Platform: Linux x86_64
Impact
This bug significantly disrupts workflow as users lose all conversation context when encountering this error. This is particularly problematic during long development sessions where context is valuable.
Suggested Fix
Handle the image dimension error gracefully without blocking subsequent command processing.
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗