[Bug] Anthropic API Error: Output blocked by content filtering policy
Resolved 💬 3 comments Opened May 2, 2026 by Swansol-code Closed May 6, 2026
Bug Description
Getting hit with errors while adapting an old public domain text for eductational purposes. Due to slurs in text? idk. API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"Output blocked by content filtering
policy"},"request_id":"req_011CaeQ6Kw1ddS2B152HpeQp"}
Environment Info
- Platform: darwin
- Terminal: vscode
- Version: 2.1.126
- Feedback ID: a003a640-36ce-46b3-888c-7fad411fa2be
Errors
[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/robertdullaart/.local/share/claude/versions/2.1.126 (expected in multi-process scenarios)\n at r86 (/$bunfs/root/src/entrypoints/cli.js:2768:2177)\n at HD8 (/$bunfs/root/src/entrypoints/cli.js:2768:1257)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-02T18:23:55.191Z"},{"error":"Error: Request was aborted.\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3448)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-02T18:24:56.403Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"Output blocked by content filtering policy\"},\"request_id\":\"req_011CaeDG5NQMpWQB2TWbmyHM\"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:57327)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-02T18:26:16.861Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"Output blocked by content filtering policy\"},\"request_id\":\"req_011CaeG1PWzJzFZsMqzo4ATb\"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:57327)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-02T19:02:21.139Z"},{"error":"Error: Request was aborted.\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3448)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-02T20:47:30.222Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"Output blocked by content filtering policy\"},\"request_id\":\"req_011CaeQ6Kw1ddS2B152HpeQp\"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:57327)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-02T20:48:10.632Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"Output blocked by content filtering policy\"},\"request_id\":\"req_011CaeR2wg5rjpp4aDFvU84w\"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:57327)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-02T21:00:28.370Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗