[Bug] Image compression failure causes CLI freeze and conversation corruption
Resolved 💬 3 comments Opened Dec 16, 2025 by nikkundra Closed Dec 20, 2025
Bug Description
Hi team, can you please fix this massive bug where loading an image too big for Claude to see even when it tries to compress (such as from a 4K Monitor) causes Claude Code CLI to die and the entire conversation to freeze/corrupt until I rewind and load from two message ago?
Here's a screenshot from my 4K Monitor. Please COMPRESS THIS before trying to open: [Image #1]
⏺ Image was too large. Double press esc to go back and try again with a smaller image.
Forget the image, please nad let's move on
⏺ Image was too large. Double press esc to go back and try again with a smaller image.
Environment Info
- Platform: darwin
- Terminal: Apple_Terminal
- Version: 2.0.70
- Feedback ID: 8cc0f78d-ef04-42be-91b6-58f06f72e155
Errors
[{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.0.content.2.image.source.base64: image exceeds 5 MB maximum: 5648072 bytes > 5242880 bytes\"},\"request_id\":\"req_011CWAfdSrMjbc8QqKXsjkT1\"}\n at generate (/$bunfs/root/claude:413:10836)\n at makeRequest (/$bunfs/root/claude:750:5434)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-12-16T16:17:11.634Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.0.content.1.image.source.base64: image exceeds 5 MB maximum: 5648072 bytes > 5242880 bytes\"},\"request_id\":\"req_011CWAg97Y6PWdqGnkZvann3\"}\n at generate (/$bunfs/root/claude:413:10836)\n at makeRequest (/$bunfs/root/claude:750:5434)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-12-16T16:23:53.868Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.0.content.1.image.source.base64: image exceeds 5 MB maximum: 5648072 bytes > 5242880 bytes\"},\"request_id\":\"req_011CWAgMATYeNepUc1JXRTY8\"}\n at generate (/$bunfs/root/claude:413:10836)\n at makeRequest (/$bunfs/root/claude:750:5434)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-12-16T16:26:37.655Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗