claude-code - 💡(How to fix) Fix AUP false positive on medical imaging project (intracranial hemorrhage detection)

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…

Claude Code refused to respond with a Usage Policy violation error while working on a legitimate, regulated medical imaging ML project: an intracranial hemorrhage (ICH) detection/triage algorithm for CT scans (EU MDR class IIa medical device software).

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.

Request ID: req_011Cbjis5yDTTTVRCj2k51db

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). Please double press esc to edit your last message or start a new session for Claude Code to assist with a different task.

Root Cause

Claude Code refused to respond with a Usage Policy violation error while working on a legitimate, regulated medical imaging ML project: an intracranial hemorrhage (ICH) detection/triage algorithm for CT scans (EU MDR class IIa medical device software).

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.

Request ID: req_011Cbjis5yDTTTVRCj2k51db

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). Please double press esc to edit your last message or start a new
session for Claude Code to assist with a different task.
RAW_BUFFERClick to expand / collapse

Description

Claude Code refused to respond with a Usage Policy violation error while working on a legitimate, regulated medical imaging ML project: an intracranial hemorrhage (ICH) detection/triage algorithm for CT scans (EU MDR class IIa medical device software).

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.

Request ID: req_011Cbjis5yDTTTVRCj2k51db

Context

  • Project: Python/Keras training pipeline for ICH detection on CT images (radiologist worklist triage)
  • The session involved normal software-engineering work on this codebase (no patient data pasted, no clinical free text)
  • Likely trigger: accumulated clinical terminology in context ("hemorrhage", "bleed", "triage", dataset descriptions) being misclassified as harm-related content
  • This is recurring and blocks day-to-day work on the project

Expected behavior

Medical imaging / diagnostic terminology in a clearly software-engineering context should not trip the AUP classifier. Similar past report: #25880 (closed as stale).

Environment

  • Platform: Linux 6.8.0-117-generic
  • Model: Opus-class, Claude Code CLI

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…

FAQ

Expected behavior

Medical imaging / diagnostic terminology in a clearly software-engineering context should not trip the AUP classifier. Similar past report: #25880 (closed as stale).

Still need to ship something?

×6

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

Back to top recommendations

TRENDING