[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_

View original on GitHub ↗

12 Comments

github-actions[bot] · 6 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/17389
  2. https://github.com/anthropics/claude-code/issues/2111
  3. https://github.com/anthropics/claude-code/issues/21880

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

TooLazyy · 6 months ago

I see no solutions in the suggested issues. No response from claude team as well.

fuomag9 · 6 months ago

Same issue here

Akucuki · 5 months ago

Same issue! Happens very frequently

Akucuki · 4 months ago

Still reproduces. The content is perfectly appropriate.

nimaleko · 4 months ago

Same. Asked to implement a simple dropdown menu allowing to select a person in Compose Multiplatform project.

dave · 4 months ago

I'm having this problem too... Just trying to refactor context menus in my app... Really frustrating.

dave · 4 months ago

Maybe because I want it to replicate the style of the iOS context menus? That's what I've been prompting it to do...

skprasad-korture · 3 months ago

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.

alexwhb · 3 months ago

I'm having this issue super frequently, but strangely only on Android nothing else. Please fix!

Akucuki · 3 months ago

Yes, same thing - happens only when working specifically on Android apps.

github-actions[bot] · 2 months ago

Closing for now — inactive for too long. Please open a new issue if this is still relevant.

Showing cached comments. Read the full discussion on GitHub ↗