claude-code - 💡(How to fix) Fix Sonet 4.6: 400 status with "Output blocked by content filtering policy" [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#53235Fetched 2026-04-26 05:20:55
View on GitHub
Comments
1
Participants
2
Timeline
6
Reactions
0
Author
Timeline (top)
labeled ×5commented ×1

Error Message

Response: API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"Output blocked by content

Code Example



---
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues for similar behavior reports
  • This report does NOT contain sensitive information (API keys, passwords, etc.)

Type of Behavior Issue

Claude refused a reasonable request

What You Asked Claude to Do

I input: "I think I have the opening beat for chapter 2. Mizpah arrives at Laodicea, rides through the gate, and heads for the stables behind the inn. The stable hand meets him and says, "Welcome. Where are you traveling from?" Dismounting, Mizpah says, "Babylon." "That is a long way - across the desert. But, you had a magnificent horse for the journey. What is his name?" Mizpah said, "Actually, he doesn't have one." "You mean you traveled through the desert on a horse with no name?" Mizpah just shrugged, "In the desert, who can remember your name?" He looked at the darkening skies, "But, it felt good to be out of the rain." He flipped the stable hand a coin, said "Take good care of him," and turned toward the inn whistling a tune.

What Claude Actually Did

Response: API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"Output blocked by content filtering policy"},"request_id":"req_011CaQTJoogtsRekyCkQXQb4"} Claude said: Report it - That's a content filter false positive — Anthropic's output filter blocked a response before it reached you. This occasionally happens with creative writing involving apocalyptic or Revelation-adjacent themes (Babylon, beasts, judgment, etc.), even in clearly legitimate contexts.

Expected Behavior

Update the chapter outline .md file.

Files Affected

Permission Mode

Accept Edits was ON (auto-accepting changes)

Can You Reproduce This?

Yes, every time with the same prompt

Steps to Reproduce

No response

Claude Model

Sonnet

Relevant Conversation

Impact

Low - Minor inconvenience

Claude Code Version

2.1.119

Platform

Other

Additional Context

No response

extent analysis

TL;DR

The issue is likely due to the content filtering policy blocking the response, and a workaround may be to rephrase the input to avoid triggering the filter.

Guidance

  • Try rephrasing the input to avoid using words or phrases that may trigger the content filter, such as "Babylon" or "desert".
  • Test the input with smaller changes to identify which specific words or phrases are causing the filter to block the response.
  • Consider using a different model or version that may have a more permissive content filtering policy.
  • If the issue persists, try breaking the input into smaller sections to see if the filter is blocking a specific part of the response.

Notes

The content filtering policy is designed to block certain types of content, but it may occasionally block legitimate responses. The fact that the issue is reproducible with the same prompt suggests that the filter is triggering on a specific word or phrase.

Recommendation

Apply workaround: The best course of action is to try rephrasing the input to avoid triggering the content filter, as upgrading to a fixed version is not mentioned as an option.

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 Sonet 4.6: 400 status with "Output blocked by content filtering policy" [1 comments, 2 participants]