Claude opus 4.7 - "Request blocked by Anthropic" for basic code changes (changing a flag/test)

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

When using Claude opus 4.7 in Cursor, I frequently get a “Request blocked by Anthropic’s Usage Policy” error even for completely basic, innocuous code changes. The error message reads:

“We are unable to complete this request because it was blocked under Anthropic’s Usage Policy.”

This is happening for simple tasks like:

  • Changing a boolean flag value (e.g., true → false)
  • Changing a test assertion from pass to fail
  • Simple “Hello, world!” level edits

This is happening more and more frequently and is severely impacting productivity. There is nothing remotely policy-violating about these requests.

Steps to Reproduce

  1. Open Cursor IDE with Claude opus 4.7 selected as the model
  2. Open any file in your project
  3. Ask the AI to make a simple change, such as:
    • “Change this flag from true to false”
    • “Make this test assert false instead of true”
    • “Write Hello, world!”
  4. Observe the error: “Request blocked by Anthropic’s Usage Policy”

Note: This error appears with increasing frequency even when repeating the exact same simple prompt.

Expected Behavior

The AI should process simple, benign code change requests without triggering a policy block. Basic tasks like toggling a boolean flag, updating a test assertion, or writing trivial code snippets should never be blocked by Anthropic’s Usage Policy.

Operating System

MacOS

Version Information

Latest (as of April 2026)

For AI issues: which model did you use?

claude-opus-4-5 (opus 4.7)

For AI issues: add Request ID with privacy disabled

90140f94-532a-420e-8201-3833af57e334

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

A post was merged into an existing topic: Opus 4.7 "blocked under Anthropic’s Usage Policy