Claude Code · Requests and models
API Error: Output blocked by content filtering policy
The API’s output filter stopped the response Claude was writing.
Message
The exact error
API Error: Output blocked by content filtering policyMeaning
What it means
The text comes from the API, not Claude Code: its content filter stopped the reply part-way. It isn’t a problem with your setup, and Claude Code has already re-sent the request once when the filter stopped it early.
Causes
Common causes
- The response heading towards content the filter blocks, sometimes triggered by the material in the conversation
Fix
How to fix it
Rephrase
Reword your last message or approach the task differently.
Step back
Press Esc twice or run
/rewindto return to a checkpoint before the turn that triggered it.
Related