claude-code - 💡(How to fix) Fix [BUG] : API Error: Claude Code is unable to respond to this request, which appears to violate our Usage Policy

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

API Error: Claude Code is unable to respond to this request, which appears to violate our Usage Policy (https://www.anthropic.com/legal/aup). Try rephrasing the request or attempting a different approach.

Request ID: req_011CbJt52ryXFvbbNYtMyhJo

Root Cause

The GitHub issue route is meaningfully better because: it's public, the Claude Code team triages it directly, and false-positive reports go into their classifier tuning loop. Email goes through general support which would route it eventually but with more latency.

Code Example

API Error: Claude Code is unable to respond to this request, which appears to violate our Usage Policy (https://www.anthropic.com/legal/aup). Try rephrasing the request or attempting a different approach.

Request ID: req_011CbJt52ryXFvbbNYtMyhJo
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

The request ID: req_011CbJsbMNfzLfqsVsZY38vB One sentence: "Claude Code system prompt explicitly authorizes defensive security and authorized security testing; this conversation is working on an internal WAF rate-limit fix and an associated dormant kill-switch — fully authorized, on company infrastructure. The classifier appears to be triggering on accumulated security vocabulary across a long conversation." Optional: link to this session's chapter / approximate timestamp so they can find it in their logs

What Should Happen?

It shouldn't errantly say this. You need to tune.

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). Try rephrasing the request or attempting a different approach.

Request ID: req_011CbJt52ryXFvbbNYtMyhJo

Steps to Reproduce

  1. GitHub issue at anthropics/claude-code (the canonical channel per Claude Code's own system prompt). URL: https://github.com/anthropics/claude-code/issues — open a new issue, title something like "False-positive usage policy block on authorized defensive-security conversation."

In the body, include:

The request ID: req_011CbJsbMNfzLfqsVsZY38vB One sentence: "Claude Code system prompt explicitly authorizes defensive security and authorized security testing; this conversation is working on an internal WAF rate-limit fix and an associated dormant kill-switch — fully authorized, on company infrastructure. The classifier appears to be triggering on accumulated security vocabulary across a long conversation." Optional: link to this session's chapter / approximate timestamp so they can find it in their logs 2. Anthropic support email — slower, less visibility, but works: [email protected] with the same content.

The GitHub issue route is meaningfully better because: it's public, the Claude Code team triages it directly, and false-positive reports go into their classifier tuning loop. Email goes through general support which would route it eventually but with more latency.

If you want, I can draft the exact issue body text for you to paste — say

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

4.7

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

No response

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [BUG] : API Error: Claude Code is unable to respond to this request, which appears to violate our Usage Policy