[Bug] /compact throws Anthropic API Error: Message flagged by safeguards
Status Open
Reported on v2.1.281
Maintainer reply None cached
Activity 1 comment · opened Sep 24, 2026
Bug Description
/compact throws error
Error during compaction: API Error: Opus 5.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.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/8106465
Details: [reasoning_extraction]
Request ID: req_011CfMx9Az6SSTkQKQfq1nXm
Environment Info
- Platform: darwin
- Terminal: iTerm.app
- Version: 2.1.281
- Feedback ID: cf707aa1-a0c6-4271-bf87-e70baa4cfb80
Errors
[]This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗