[Bug] Anthropic API Error: Usage Policy violation blocks entire session instead of allowing recovery
Bug Description
why does this ai block the whole session when a request is not good API Error: Claude Code is unable to respond to this request, which appears to violate our Usage Policy
(https://www.anthropic.com/legal/aup). This request triggered restrictions on violative cyber content and was
blocked under Anthropic's Usage Policy. To request an adjustment pursuant to our Cyber Verification Program based
on how you use Claude, fill out https://claude.com/form/cyber-use-case?token=[REDACTED]
u_xlzbH_2NAwLUy_0ZYVp8n4_uIv2nqfVybYJs3xU8wyneLraVsmx_8v34LLFLH-jz-Gm2cTtTvvdrYn66mgEm2a5NXABAchdVNA… 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_011Cbik8Z6ttcaovEP4yayUt
Environment Info
- Platform: darwin
- Terminal: Apple_Terminal
- Version: 2.1.150
- Feedback ID: ca4f2d8c-c0a8-45b3-8b58-f7cb90f36537
Errors
[{"error":"The socket connection was closed unexpectedly. For more information, pass `verbose: true` in the second argument to fetch()","timestamp":"2026-05-28T17:11:06.208Z"},{"error":"The socket connection was closed unexpectedly. For more information, pass `verbose: true` in the second argument to fetch()","timestamp":"2026-05-28T19:38:41.875Z"},{"error":"The socket connection was closed unexpectedly. For more information, pass `verbose: true` in the second argument to fetch()","timestamp":"2026-05-28T19:38:41.881Z"}]