claude-code - 💡(How to fix) Fix [BUG] False-positive Usage Policy refusal mid-stream on a markdown comparison table

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

Fix Action

Workaround

Retry. Sometimes the same prompt succeeds on a second attempt.

RAW_BUFFERClick to expand / collapse

What happened

Claude Code aborted mid-stream with:

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

The cut hit while Claude was emitting a markdown comparison table describing how three docs in a website-builder project are organized (a routing description for CLAUDE.md, frontend-design.md, website-marketing.md). The user request was non-sensitive — "describe current file topology and propose alternatives".

Request ID

req_011CbJm3BzH1cZ9754o4Zw1S

Repro / context

  • ~30s into a streaming response that had started rendering a 3-row markdown table.
  • Refusal landed on what would have been a row about workflow steps.
  • No restricted topics, no jailbreak attempts.

Why this looks like a false positive

The visible content before the refusal was metadata about file organization. There is nothing in the conversation that should trigger Usage Policy enforcement.

Expected behaviour

If a classifier is going to trigger, it should fire before any tokens are streamed — not mid-stream after the user has already seen ~50% of the response. Mid-stream refusal on benign content makes Claude Code feel unreliable.

Workaround

Retry. Sometimes the same prompt succeeds on a second attempt.

Related

  • #7559 (closed autoclosed without investigation)

Environment

  • Claude Code: 2.1.149
  • Model: claude-opus-4-7
  • OS: macOS Darwin 25.5.0

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] False-positive Usage Policy refusal mid-stream on a markdown comparison table