[BUG] Failed to decode JSON: JSON message exceeded maximum buffer size of 1048576 bytes...
Open 💬 0 comments Opened Jun 29, 2026 by junaid1460
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Image reading, when image gets loaded and if images are larger it would show this
What Should Happen?
Ideally there should be precheck to not allow this to faulting error, and guide agent to compress and read
Error Messages/Logs
Steps to Reproduce
Take a screen shot and ask agent to read more than one of them in mac
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
Claude Code v2.1.195
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_