[Bug] Anthropic API Error: Opus 5 safeguards incorrectly flagging benign code deletion requests
Status Open
Reported on v2.1.278
Maintainer reply None cached
Activity 0 comments · opened Sep 21, 2026
Bug Description
I AM SIMPLEY TRYNG TO DELETE USELESS CODE WE HAD DISCUSSION AND WE DECIDED EVERYTHIN , I JUST TOLD HIM TO WRIT A PLEASE BEFORE WE START REMOVIN THING SO SNYTHIN DOESNT GO WRONG BY WHY THE HELL ITS FLAGGIN ME `● API Error: Opus 5 (1M context)'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 Opus 5 (1M context).
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/16049681
Details: [reasoning_extraction]
Request ID: req_011CfGj6oZu8Vo3X5jVjBZg6`
Environment Info
- Platform: win32
- Terminal: zed
- Version: 2.1.278
- Feedback ID: 7d39be72-4cf0-4b55-8ccd-189eb0a92422
Errors
[]