[Bug] Anthropic API Error: Could not process image
Status Fixed / completed
Reported on v2.0.76
Maintainer reply None cached
Activity 4 comments · opened Feb 11, 2026 · closed Feb 11, 2026
Bug Description
Claude code rendered unusable after pasting an image.
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"Could not process image"},"request_id":"req_011CY1tAVuaWrt3WsoFn9ETi"}
at F9.generate (file:///nix/store/4bmhj54qyccbs7m43vfv804j5dff6aw9-claude-code-2.0.76/lib/node_modules/@anthropic-ai/claude-code/cli.js:510:11051)
Environment Info
- Platform: darwin
- Terminal: alacritty
- Version: 2.0.76
- Feedback ID: f4cadde3-01a9-4cab-987e-95c8db0f192d
Errors
<redacted>
Note: Error logs were truncated.
4 Comments
I consistantly get API Error 400, had to /clear to restore conversation abilities.
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
This issue was caused by changes in MacOSX Tahoue, where now the HEIC format is the default.
I had used:
defaults write com.apple.screencapture type pngto try enable sharing of screenshots for collaboration/compatibility reasons, but this is no longer a valid approach.It resulted in .png files being created but with HEIC data format, causing claude code to choke.
For any macOS Tahoue users with the same issue, you'll now need to manaully:
to enable non heic screenshots.
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.