[BUG] Output blocked by content filtering policy despite no copyrighted content
Resolved 💬 4 comments Opened Jan 3, 2026 by SwayStar123 Closed Feb 18, 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?
The api seems to think this function is copyright infringement of some sort
This is simply listing out japanese characters and their pronunciations but whenever claude code tries to copy/write this function i get the api error:
API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"Output blocked by content filtering policy"},"request_id":null}
What Should Happen?
No error should happen, the error is a false positive
Error Messages/Logs
API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"Output blocked by content filtering policy"},"request_id":null}
Steps to Reproduce
Write to a file:
fn kana_romaji(glyph: &str) -> &'static str {
match glyph {
"あ" | "ア" => "a",
"い" | "イ" => "i",
"う" | "ウ" => "u",
"え" | "エ" => "e",
"お" | "オ" => "o",
"か" | "カ" => "ka",
"き" | "キ" => "ki",
"く" | "ク" => "ku",
"け" | "ケ" => "ke",
"こ" | "コ" => "ko",
"さ" | "サ" => "sa",
"し" | "シ" => "shi",
"す" | "ス" => "su",
"せ" | "セ" => "se",
"そ" | "ソ" => "so",
"た" | "タ" => "ta",
"ち" | "チ" => "chi",
"つ" | "ツ" => "tsu",
"て" | "テ" => "te",
"と" | "ト" => "to",
"な" | "ナ" => "na",
"に" | "ニ" => "ni",
"ぬ" | "ヌ" => "nu",
"ね" | "ネ" => "ne",
"の" | "ノ" => "no",
"は" | "ハ" => "ha",
"ひ" | "ヒ" => "hi",
"ふ" | "フ" => "fu",
"へ" | "ヘ" => "he",
"ほ" | "ホ" => "ho",
"ま" | "マ" => "ma",
"み" | "ミ" => "mi",
"む" | "ム" => "mu",
"め" | "メ" => "me",
"も" | "モ" => "mo",
"や" | "ヤ" => "ya",
"ゆ" | "ユ" => "yu",
"よ" | "ヨ" => "yo",
"ら" | "ラ" => "ra",
"り" | "リ" => "ri",
"る" | "ル" => "ru",
"れ" | "レ" => "re",
"ろ" | "ロ" => "ro",
"わ" | "ワ" => "wa",
"を" | "ヲ" => "wo",
"ん" | "ン" => "n",
"が" | "ガ" => "ga",
"ぎ" | "ギ" => "gi",
"ぐ" | "グ" => "gu",
"げ" | "ゲ" => "ge",
"ご" | "ゴ" => "go",
"ざ" | "ザ" => "za",
"じ" | "ジ" => "ji",
"ず" | "ズ" => "zu",
"ぜ" | "ゼ" => "ze",
"ぞ" | "ゾ" => "zo",
"だ" | "ダ" => "da",
"ぢ" | "ヂ" => "ji",
"づ" | "ヅ" => "zu",
"で" | "デ" => "de",
"ど" | "ド" => "do",
"ば" | "バ" => "ba",
"び" | "ビ" => "bi",
"ぶ" | "ブ" => "bu",
"べ" | "ベ" => "be",
"ぼ" | "ボ" => "bo",
"ぱ" | "パ" => "pa",
"ぴ" | "ピ" => "pi",
"ぷ" | "プ" => "pu",
"ぺ" | "ペ" => "pe",
"ぽ" | "ポ" => "po",
"きゃ" | "キャ" => "kya",
"きゅ" | "キュ" => "kyu",
"きょ" | "キョ" => "kyo",
"しゃ" | "シャ" => "sha",
"しゅ" | "シュ" => "shu",
"しょ" | "ショ" => "sho",
"ちゃ" | "チャ" => "cha",
"ちゅ" | "チュ" => "chu",
"ちょ" | "チョ" => "cho",
"にゃ" | "ニャ" => "nya",
"にゅ" | "ニュ" => "nyu",
"にょ" | "ニョ" => "nyo",
"ひゃ" | "ヒャ" => "hya",
"ひゅ" | "ヒュ" => "hyu",
"ひょ" | "ヒョ" => "hyo",
"みゃ" | "ミャ" => "mya",
"みゅ" | "ミュ" => "myu",
"みょ" | "ミョ" => "myo",
"りゃ" | "リャ" => "rya",
"りゅ" | "リュ" => "ryu",
"りょ" | "リョ" => "ryo",
"ぎゃ" | "ギャ" => "gya",
"ぎゅ" | "ギュ" => "gyu",
"ぎょ" | "ギョ" => "gyo",
"じゃ" | "ジャ" => "ja",
"じゅ" | "ジュ" => "ju",
"じょ" | "ジョ" => "jo",
"びゃ" | "ビャ" => "bya",
"びゅ" | "ビュ" => "byu",
"びょ" | "ビョ" => "byo",
"ぴゃ" | "ピャ" => "pya",
"ぴゅ" | "ピュ" => "pyu",
"ぴょ" | "ピョ" => "pyo",
_ => "",
}
}
and ask claude code to write this function to another file manually
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.0.76
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Other
Additional Information
_No response_
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗