POLICY / ERROR-CATALOG-v1

content_policycauses and resolution

Content safety or usage-policy block

  • content_policy
  • content_policy_violation
  • safety_error
  • moderation_blocked

What this signal means

The request or generation triggered a provider, model, or relay safety policy.

Typical HTTP
400 / 403
Protocols
openai / anthropic
Catalog date
2026-09-08

Sanitized response example

{
  "error": {
    "code": "content_policy_violation",
    "message": "Request blocked by safety policy"
  }
}

Possible causes

  • Input content triggered a safety classifier or product policy.
  • A relay, enterprise gateway, or downstream application applies extra rules.

Verification and resolution order

  1. 01

    Retain the request ID and policy category without storing sensitive raw content.

  2. 02

    Review official policy and the application’s own allowed-use boundaries.

  3. 03

    Do not rephrase to evade safety controls; use provider appeal or human review when appropriate.

What this error cannot prove

A generic refusal cannot identify the enforcing layer or exact rule.

Official references