claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[BUG] Every request containing a screenshot or link to one throws violation messages

Open binderup opened this issue 3 months ago • 2 comments

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?

A simple screenshot with nothing in it (a simple screenshot from a texteditor's white background) generates messages like:

API Error: Claude Code is unable to respond to this request, which appears to violate our Usage Policy (https://www.anthropic.com/legal/aup). Please double press esc to edit your last message or start a new session for Claude Code to assist with a different task. If you are seeing this refusal repeatedly, try running /model claude-sonnet-4-20250514 to switch models.

Changing to an older model solves it, but I'd prefer to run Sonnet 4.5 so it's a hassel to remember to switch models all the time.

The bug is also present in the regular desktop app.

What Should Happen?

Sonnet 4.5 should work the same way as claude-sonnet-4-20250514 (in this case)

Error Messages/Logs


Steps to Reproduce

Currently any screenshot throws these errors in Clade Code and Desktop

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

2.0.47 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

iTerm2

Additional Information

No response

binderup avatar Nov 20 '25 10:11 binderup