[Bug] Anthropic API Error: False Positive Content Filtering on Safe Output

Resolved 💬 1 comment Opened May 2, 2026 by MAlanWine Closed Jun 1, 2026

Bug Description
Content was incorrectly rejected: Output blocked by content filtering policy. There is no dangerous content in the context, but claude code cli continue to report Output blocked by content filtering policy.

Environment Info

  • Platform: linux
  • Terminal: konsole
  • Version: 2.1.126
  • Feedback ID: 61894241-39f8-4694-bc9b-b1ca176675c6

Errors

[{"error":"Error: {\"type\":\"error\",\"error\":{\"details\":null,\"type\":\"invalid_request_error\",\"message\":\"Output blocked by content filtering policy\"},\"request_id\":\"req_011CadusbUGugoBKB6yxbg95\"}\n    at A (/$bunfs/root/src/entrypoints/cli.js:14:1328)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-02T14:38:02.645Z"},{"error":"Error: {\"type\":\"error\",\"error\":{\"details\":null,\"type\":\"invalid_request_error\",\"message\":\"Output blocked by content filtering policy\"},\"request_id\":\"req_011CadwRdwcrixhfb742A2cG\"}\n    at A (/$bunfs/root/src/entrypoints/cli.js:14:1328)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-02T14:58:24.893Z"},{"error":"Error: {\"type\":\"error\",\"error\":{\"details\":null,\"type\":\"invalid_request_error\",\"message\":\"Output blocked by content filtering policy\"},\"request_id\":\"req_011CadwTuyaY73HQuzdgQCZ3\"}\n    at A (/$bunfs/root/src/entrypoints/cli.js:14:1328)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-02T14:58:55.723Z"},{"error":"Error: {\"type\":\"error\",\"error\":{\"details\":null,\"type\":\"invalid_request_error\",\"message\":\"Output blocked by content filtering policy\"},\"request_id\":\"req_011CadwnTfZxD1b8tNZo5yXa\"}\n    at A (/$bunfs/root/src/entrypoints/cli.js:14:1328)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-02T15:03:06.984Z"},{"error":"Error: {\"type\":\"error\",\"error\":{\"details\":null,\"type\":\"invalid_request_error\",\"message\":\"Output blocked by content filtering policy\"},\"request_id\":\"req_011CadwrjCpgs4F5BZQdpMeW\"}\n    at A (/$bunfs/root/src/entrypoints/cli.js:14:1328)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-02T15:04:06.815Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"Output blocked by content filtering policy\"},\"request_id\":\"req_011Cadwv7sfjjvFuEA5BmRPT\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:57082)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-02T15:04:49.722Z"}]

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗