[Bug] Anthropic API Error: Output blocked by content filtering policy

Resolved 💬 2 comments Opened Apr 20, 2026 by tobotras Closed May 27, 2026

Bug Description
⎿  API Error: {"type":"error","error":{"details":null,"type":"invalid_request_error","message":"Output blocked by content filtering policy"},"request_id":"req_011CaFQ24E1FQxpjN9UNPUWT"} That's what I got while developing my financial application.

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.1.114
  • Feedback ID: 2863fe8b-fd66-48e8-829d-453f6c7256e8

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/boristobotras/.local/share/claude/versions/2.1.114 (expected in multi-process scenarios)\n    at sd_ (/$bunfs/root/src/entrypoints/cli.js:2751:2177)\n    at WH8 (/$bunfs/root/src/entrypoints/cli.js:2751:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T08:11:20.312Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3448)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T11:36:22.847Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3448)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T14:01:50.374Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3448)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T15:05:20.472Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3448)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T16:18:02.117Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3448)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T16:47:09.181Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"Output blocked by content filtering policy\"},\"request_id\":\"req_011CaFPrwfMwch1es3RiFkRB\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:53158)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T17:11:26.266Z"},{"error":"Error: {\"type\":\"error\",\"error\":{\"details\":null,\"type\":\"invalid_request_error\",\"message\":\"Output blocked by content filtering policy\"},\"request_id\":\"req_011CaFQ24E1FQxpjN9UNPUWT\"}\n    at T (/$bunfs/root/src/entrypoints/cli.js:14:1328)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T17:13:40.099Z"}]

View original on GitHub ↗

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