[BUG] Claude Code crashes on particular image and needs quitting and restarting

Resolved 💬 3 comments Opened Nov 20, 2025 by metaphorz Closed Nov 24, 2025

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?

I get this error when I drag and drop an image file, or when I refer to the image file from the local file system (e.g. /images/...). I have an app that does image segmentation or objecd identification.

!Image
!Image
!Image

What Should Happen?

It should read the image and proceed with the conversation.

Error Messages/Logs

⏺ Read(images/magritte.jpg)
  ⎿  Read image (125.1KB)
  ⎿ API Error: 400 {"type":"error","error":{"type":"inva
    lid_request_error","message":"Could not process 
    image"},"request_id":"req_011CVKohxMz3cEAyhrQwk51c"}

Steps to Reproduce

ask CC to process the image. CC produces an error in reading. And then normal queries following this will fail with the same error message.

Claude Model

Sonnet (default)

Is this a regression?

No, this never worked

Last Working Version

_No response_

Claude Code Version

2.0.47

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

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