[Bug] Anthropic API Error: Random "Violate Usage Policy" on Legitimate Code Requests

Resolved 💬 0 comments Opened Jun 9, 2026 by facundodartayete Closed Jun 9, 2026

Bug Description
not the first time i run into a "violate our Usage Policy" out of a simple code change request, no violent language, no inappropriate asks, seems completely random. no hateful speech whatsoever

Environment Info

  • Platform: darwin
  • Terminal: cursor
  • Version: 2.1.169
  • Feedback ID: 89bef9fb-9c29-4c2b-b923-e7620fba859f

Errors

[]

View original on GitHub ↗