[Bug] Anthropic API Content Filter: False Positive on Poetry Text Output

Resolved 💬 4 comments Opened Mar 31, 2026 by krry Closed Jun 2, 2026

Bug Description
I'm working with public domain poetry and experiencing false positive content filtering blockages. The error is non-specific so I do not know what is triggering it. Claude Code itself hasn't been able to tactically isolate the issue either. This is very frustrating, tantamount to censorship without explanation. I really hope you will look at this issue.

The error is a content filter false positive — Anthropic's API blocked the response before the file write happened. Likely triggered by the volume of literary/poetic text in the output, possibly the Rumi translation specifically (the handoff notes even anticipated this and tried to work around it). We translated the original text from Rumi, so no possibility of copyright issues.

Environment Info

  • Platform: darwin
  • Terminal: ghostty
  • Version: 2.1.87
  • Feedback ID: 718d2de9-0e4f-495a-99e6-c6e76ede335c

Errors

[{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"Output blocked by content filtering policy\"},\"request_id\":\"req_011CZZfUb7wNp3v1wSP84ehq\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:50895)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:5435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-30T17:32:39.446Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"Output blocked by content filtering policy\"},\"request_id\":\"req_011CZZfrjHvmKi2PBp1qRH2E\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:50895)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:5435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-30T17:37:45.134Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"Output blocked by content filtering policy\"},\"request_id\":\"req_011CZZfzjAxh6k24m6RhuTYA\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:50895)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:5435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-30T17:39:41.397Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"Output blocked by content filtering policy\"},\"request_id\":\"req_011CZZg6cMcHXk8bemus5y1u\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:50895)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:5435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-30T17:41:09.838Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"Output blocked by content filtering policy\"},\"request_id\":\"req_011CZZgEx3Fkrf2mnzukpc3h\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:50895)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:5435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-30T17:43:02.885Z"}]

View original on GitHub ↗

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