claude-code - 💡(How to fix) Fix [Bug] Claude Code refuses to generate privacy policy content [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#55503Fetched 2026-05-03 04:51:40
View on GitHub
Comments
1
Participants
2
Timeline
6
Reactions
0
Author
Timeline (top)
labeled ×5commented ×1

Error Message

[{"error":"Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"Output blocked by content filtering policy"},"request_id":"req_011Cad79DnmosubNbbUbnKKE"}\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-02T04:25:15.399Z"},{"error":"Error: {"type":"error","error":{"details":null,"type":"invalid_request_error","message":"Output blocked by content filtering policy"},"request_id":"req_011Cad7DKsVrQ6MvaK7NjE6Y"}\n at L (/$bunfs/root/src/entrypoints/cli.js:14:1328)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-02T04:26:14.143Z"},{"error":"Error: {"type":"error","error":{"details":null,"type":"invalid_request_error","message":"Output blocked by content filtering policy"},"request_id":"req_011Cad7JxM7RQcWz3sd9xTBM"}\n at L (/$bunfs/root/src/entrypoints/cli.js:14:1328)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-02T04:27:36.930Z"}]

Code Example

[{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"Output blocked by content filtering policy\"},\"request_id\":\"req_011Cad79DnmosubNbbUbnKKE\"}\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-02T04:25:15.399Z"},{"error":"Error: {\"type\":\"error\",\"error\":{\"details\":null,\"type\":\"invalid_request_error\",\"message\":\"Output blocked by content filtering policy\"},\"request_id\":\"req_011Cad7DKsVrQ6MvaK7NjE6Y\"}\n    at L (/$bunfs/root/src/entrypoints/cli.js:14:1328)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-02T04:26:14.143Z"},{"error":"Error: {\"type\":\"error\",\"error\":{\"details\":null,\"type\":\"invalid_request_error\",\"message\":\"Output blocked by content filtering policy\"},\"request_id\":\"req_011Cad7JxM7RQcWz3sd9xTBM\"}\n    at L (/$bunfs/root/src/entrypoints/cli.js:14:1328)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-02T04:27:36.930Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description Won't write a privacy policy?

Environment Info

  • Platform: darwin
  • Terminal: alacritty
  • Version: 2.1.126
  • Feedback ID: b3f2d399-7362-4e8a-a62b-29540a45596d

Errors

[{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"Output blocked by content filtering policy\"},\"request_id\":\"req_011Cad79DnmosubNbbUbnKKE\"}\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-02T04:25:15.399Z"},{"error":"Error: {\"type\":\"error\",\"error\":{\"details\":null,\"type\":\"invalid_request_error\",\"message\":\"Output blocked by content filtering policy\"},\"request_id\":\"req_011Cad7DKsVrQ6MvaK7NjE6Y\"}\n    at L (/$bunfs/root/src/entrypoints/cli.js:14:1328)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-02T04:26:14.143Z"},{"error":"Error: {\"type\":\"error\",\"error\":{\"details\":null,\"type\":\"invalid_request_error\",\"message\":\"Output blocked by content filtering policy\"},\"request_id\":\"req_011Cad7JxM7RQcWz3sd9xTBM\"}\n    at L (/$bunfs/root/src/entrypoints/cli.js:14:1328)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-02T04:27:36.930Z"}]

extent analysis

TL;DR

The issue is likely due to a content filtering policy blocking the output, and a workaround may involve checking or modifying this policy.

Guidance

  • The error messages indicate an "invalid_request_error" with a "message" of "Output blocked by content filtering policy", suggesting that the issue is related to content filtering.
  • To verify, check the content filtering policy settings to see if they are blocking the output.
  • Consider modifying the content filtering policy to allow the output, or use a different approach that does not trigger the filtering policy.
  • Review the request IDs ("req_011Cad79DnmosubNbbUbnKKE", etc.) to see if there are any patterns or clues about what is causing the policy to block the output.

Notes

The exact steps to modify the content filtering policy are not specified, as this may depend on the specific system or platform being used.

Recommendation

Apply workaround: Modify the content filtering policy to allow the output, as this is the most direct way to address the error messages.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [Bug] Claude Code refuses to generate privacy policy content [1 comments, 2 participants]