-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Open
Labels
area:apibugSomething isn't workingSomething isn't workinghas reproHas detailed reproduction stepsHas detailed reproduction stepsplatform:macosIssue specifically occurs on macOSIssue specifically occurs on macOS
Description
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
Metadata
Metadata
Assignees
Labels
area:apibugSomething isn't workingSomething isn't workinghas reproHas detailed reproduction stepsHas detailed reproduction stepsplatform:macosIssue specifically occurs on macOSIssue specifically occurs on macOS