Skip to content

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

Description

@anasmatic

Bug Description
midway after I asked claude to implement my feature it crashed this API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"Output blocked by content
filtering policy"},"request_id":"req_011CY6CUD5AUavg3JZANwi8L"}\

Environment Info

  • Platform: win32
  • Terminal: null
  • Version: 2.1.41
  • Feedback ID: fc4ff45c-10f0-45d4-bc2d-fdf83f3a7d81

Errors

[{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"Output blocked by content filtering policy\"},\"request_id\":\"req_011CY6CUD5AUavg3JZANwi8L\"}\n    at P4.generate (file:///C:/Program%20Files%20(x86)/Nodist/bin/node_modules/@anthropic-ai/claude-code/cli.js:362:8788)\n    at WS.makeStatusError (file:///C:/Program%20Files%20(x86)/Nodist/bin/node_modules/@anthropic-ai/claude-code/cli.js:401:2195)\n    at WS.makeRequest (file:///C:/Program%20Files%20(x86)/Nodist/bin/node_modules/@anthropic-ai/claude-code/cli.js:401:5420)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async Ww6.model (file:///C:/Program%20Files%20(x86)/Nodist/bin/node_modules/@anthropic-ai/claude-code/cli.js:5635:4569)\n    at async Ww6 (file:///C:/Program%20Files%20(x86)/Nodist/bin/node_modules/@anthropic-ai/claude-code/cli.js:909:100295)\n    at async $Jq (file:///C:/Program%20Files%20(x86)/Nodist/bin/node_modules/@anthropic-ai/claude-code/cli.js:5635:4769)\n    at async _Jq (file:///C:/Program%20Files%20(x86)/Nodist/bin/node_modules/@anthropic-ai/claude-code/cli.js:5640:8836)\n    at async file:///C:/Program%20Files%20(x86)/Nodist/bin/node_modules/@anthropic-ai/claude-code/cli.js:5635:4230\n    at async O_8 (file:///C:/Program%20Files%20(x86)/Nodist/bin/node_modules/@anthropic-ai/claude-code/cli.js:964:2399)","timestamp":"2026-02-13T14:07:44.478Z"}]

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions