[Bug] Anthropic API Error: Sonnet 5.5 Safeguards Blocking Legitimate Requests
Bug Description
❯ どうして確かめる手段がないと思いましたか?
● Write(C:\Users\kh\.claude\jobs\ff0fede0\tmp\peek_thinking.py)
Wrote 29 lines to C:\Users\kh\.claude\jobs\ff0fede0\tmp\peek_thinking.py
-- coding: utf-8 --
"""会話記録に、私の思考(thinking)のブロックが、本文として残っているかを調べる(件数と、最近のものの長さ・先頭だけ)。"""
import json
P = r"C:\Users\kh\.claude\projects\G--prj2-pysic-ns\ff0fede0-4097-42b1-9cde-6ceb23463bf0.jsonl"
n_total = n_text = n_sig_only = 0
recent = []
with open(P, encoding="utf-8") as f:
for ln, line in enumerate(f, 1):
try:
… +19 lines
● Sonnet 5.5's safeguards stopped the response above · continuing once with that noted
● API Error: Sonnet 5.5's safeguards flagged this message (https://www.anthropic.com/legal/aup). This sometimes happens with safe, normal conversations. Claude Code can't respond to this message with Sonnet 5.5.
Double press esc to edit your last message, or try a different model with /model.
Send feedback with /feedback or learn more: https://support.claude.com/en/articles/8106465
Details: [reasoning_extraction]
Request ID: req_011CfpnRSf4364VjD9pZj6XV
Message ID: msg_011CfpnRiP7fZ1NxspaS7bUB
Environment Info
- Platform: win32
- Terminal: xterm-256color
- Version: 2.1.291
- Feedback ID: 16c7c931-8253-4249-a0d4-97d199e07579