False positive: Content filtering blocking legitimate documentation creation
Resolved 💬 3 comments Opened Jan 3, 2026 by gabrielmaialva33 Closed Feb 18, 2026
Description
While using Claude Code to create standard open source documentation files (LICENSE, CODE_OF_CONDUCT.md, CONTRIBUTING.md, SECURITY.md) for my project, the API repeatedly returned:
API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"Output blocked by content filtering policy"},"request_id":null}
Context
- I was asking Claude Code to create standard legal/community documents
- The project is an IPTV streaming application (Streamix)
- Claude Code successfully created the files on retry, but the initial attempts were blocked
Steps to Reproduce
- Have a project related to media/streaming
- Ask Claude Code to create CODE_OF_CONDUCT.md or CONTRIBUTING.md
- Content filtering may block the output
Expected Behavior
Standard documentation files (CODE_OF_CONDUCT, CONTRIBUTING, SECURITY, LICENSE) should not trigger content filtering as they are legitimate and common open source files.
Actual Behavior
Multiple attempts blocked with "Output blocked by content filtering policy" error.
Environment
- Claude Code CLI
- macOS
- Project type: Elixir/Phoenix application
Additional Notes
This appears to be a false positive. The content being generated was:
- Contributor Covenant (standard code of conduct)
- Contributing guidelines
- Security disclosure policy
- Proprietary license
None of these contain harmful content.
---
🤖 Generated with Claude Code
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗