[BUG] attachment to be to process causes a DEATH LOOP
Open 💬 0 comments Opened Jul 11, 2026 by lsegroup
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?
So I uploaded a 4.7MB HTML file for debugging and claude prompt can't handle it but even when I say STOP or anything it still try to process the file I had uploaded.
What Should Happen?
When I say "STOP" Claude needs to stop anything and ask for new instructions. Maybe even a /STOP or something to break the loop.
Error Messages/Logs
Prompt to long
Steps to Reproduce
Upload a 5MB HTML file
Than make Claude to analyse it...
It causes the error : Prompt to long
and you can't break it to stop trying to process the file.
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.207
Platform
Other
Operating System
Ubuntu/Debian Linux
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_