claude-code - 💡(How to fix) Fix [Bug] Anthropic API Error: Incorrect Usage Policy rejection for benign PDF debugging request [2 comments, 2 participants]

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…
GitHub stats
anthropics/claude-code#52884Fetched 2026-04-25 06:18:18
View on GitHub
Comments
2
Participants
2
Timeline
6
Reactions
0
Author
Timeline (top)
labeled ×4commented ×2

Error Message

Claude wrongly rejected a benign request. We are writing a PDF viewer. The viewer has some minor bugs relating to link annotations. I described how these bugs manifest for a specific PDF file (wrong pointer shape, copy&paste does not work) and asked Claude to investigate. In response, after some thinking, I got: " API Error: Claude Code is unable to respond to this request, which appears to violate our Usage Policy". Even trying to think laterally, I cannot see how my request could be misconstrued as being problematic.

Code Example

[]
RAW_BUFFERClick to expand / collapse

Bug Description Claude wrongly rejected a benign request. We are writing a PDF viewer. The viewer has some minor bugs relating to link annotations. I described how these bugs manifest for a specific PDF file (wrong pointer shape, copy&paste does not work) and asked Claude to investigate. In response, after some thinking, I got: " API Error: Claude Code is unable to respond to this request, which appears to violate our Usage Policy". Even trying to think laterally, I cannot see how my request could be misconstrued as being problematic.

Environment Info

  • Platform: darwin
  • Terminal: ghostty
  • Version: 2.1.119
  • Feedback ID: 2cc836f9-43a1-4a0f-977a-9f64d4230472

Errors

[]

extent analysis

TL;DR

The issue may be resolved by rephrasing the request to Claude to better align with the Usage Policy, although the exact policy violation is unclear.

Guidance

  • Review the Usage Policy to understand what types of requests are allowed and what might be considered a violation.
  • Attempt to rephrase the request in a more general or abstract way to see if Claude can provide a response without triggering the policy violation error.
  • If possible, try breaking down the request into smaller, more specific questions to avoid any potential misinterpretation.
  • Consider reaching out to support or the Claude team for clarification on what specifically triggered the Usage Policy error.

Notes

The lack of explicit error details in the Errors section and the absence of a clear description of the Usage Policy violation limit the ability to provide a more precise solution.

Recommendation

Apply workaround: Rephrase the request to Claude to better align with the Usage Policy, as this is the most direct approach to potentially resolving the issue without additional information.

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