claude-code - 💡(How to fix) Fix [Bug] Anthropic API Usage Policy classifier false positive on security terminology

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

The error message you saw (Claude Code is unable to respond...violates Usage Policy) is │ Switch models │ /model claude-sonnet-4-20250514 (the error its…

RAW_BUFFERClick to expand / collapse

Bug Description That's an Anthropic Usage Policy classifier firing — and it's a false positive. The content I was generating (AER tier table with source examples like "WSJ", "Krebs", "Black Hat briefings") doesn't violate any policy. Here's what likely tripped it:

Why this happens

Anthropic runs a content classifier on Claude's outputs. In long sessions packed with security/cyber vocabulary — PSIRT, vulnerability frameworks, threat modeling, "audit", "Black Hat", "DEF CON", "exploit", etc. — the classifier sometimes over-fits and flags
benign content. Umbra is literally a cybersecurity intelligence product, so we're awash in that vocabulary by necessity.

The error message you saw (Claude Code is unable to respond...violates Usage Policy) is the safety net catching something. In this case it caught nothing real.

What to do when it happens

┌───────────────────┬────────────────────────────────────────────────────────────────┐ │ Option │ Notes │ ├───────────────────┼────────────────────────────────────────────────────────────────┤ │ Retry (just │ Often works — classifier is non-deterministic. My second │
├───────────────────┼────────────────────────────────────────────────────────────────┤ │ Press ESC twice + │ Lets you tweak the prompt slightly before retry — sometimes a │ │ edit │ small rewording avoids the trigger │ ├───────────────────┼────────────────────────────────────────────────────────────────┤ │ Switch models │ /model claude-sonnet-4-20250514 (the error its… Note: Content was truncated.

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] Anthropic API Usage Policy classifier false positive on security terminology