[BUG] API Error: Claude Code is unable to respond to this request, which appears to violate our Usage Policy

Resolved 💬 3 comments Opened Oct 4, 2025 by tna1019 Closed Oct 8, 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?

since you upgrade to Sonnet 4.5, i keep getting this error
"""
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.
"""

i switch back to old version "/model claude-sonnet-4-20250514 ", it's working fine. but my plan is Max and i want to use the latest version.

the API Error doesn't say how can i solve the problem, as soon as i switch to Sonnet 4.5, i got this error. Help me to solve the problem please

What Should Happen?

i should /model and select Sonnet 4.5 and work normal, no API Error.

Error Messages/Logs

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.

Steps to Reproduce

/model
select Sonnet 4.5

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

claude-sonnet-4-20250514

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

WSL (Windows Subsystem for Linux)

Additional Information

_No response_

View original on GitHub ↗

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