[BUG] Output blocked by content filtering policy
Status Closed — not planned
Reported on v2.1.52
Maintainer reply None cached
Activity 13 comments · opened Feb 24, 2026 · closed Jun 24, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
I asked claude to implement some simple feature in kotlin.
It did some work, but all of a sudden stopped with 400 error
API Error: 400
{"type":"error","error":{"type":"invalid_request_error","message":"Output
blocked by content filtering
policy"},"request_id":"req_011CYT2mJt3qn7PAX9R8mT23"}
What Should Happen?
No error
Error Messages/Logs
Steps to Reproduce
Not sure how to reproduce. It happens randomly during the last week
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.52 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
Showing cached comments. Read the full discussion on GitHub ↗
12 Comments
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
I see no solutions in the suggested issues. No response from claude team as well.
Same issue here
Same issue! Happens very frequently
Still reproduces. The content is perfectly appropriate.
Same. Asked to implement a simple dropdown menu allowing to select a person in Compose Multiplatform project.
I'm having this problem too... Just trying to refactor context menus in my app... Really frustrating.
Maybe because I want it to replicate the style of the iOS context menus? That's what I've been prompting it to do...
I am also facing the same issue.
Output blocked by content filtering policy on benign Compose UI code, 9 occurrences across 3 sessions, output style = explanatory.
I'm having this issue super frequently, but strangely only on Android nothing else. Please fix!
Yes, same thing - happens only when working specifically on Android apps.
Closing for now — inactive for too long. Please open a new issue if this is still relevant.