[BUG] Impossible to use a jpeg/jpg image to claude code

Resolved 💬 3 comments Opened May 23, 2025 by tristanbes Closed May 24, 2025

Environment

  • Claude CLI version: 1.0.2 (Claude Code)
  • Operating System: MacOS
  • Terminal: iTerm2 & Ghosty

Bug Description

When sending a jpg or jpeg screenshot, claude code respond with an error 400 from the anthropic API saying this is not png.
This error persist even though I'm sending a png right away. I need to kill claude code and relaunch it.

Expected Behavior

  1. Ability to see jpg/jpeg and not only png
  2. The error should not persist when sending a .jpg then a .png

Thank you

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗