[BUG] Output blocked by content filtering policy

Resolved 💬 12 comments Opened Feb 24, 2026 by TooLazyy 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 ↗

This issue has 12 comments on GitHub. Read the full discussion on GitHub ↗