Factories
content_policy_violation
The task prompt or environment setup commands were flagged by the platform's automated content policy checks.
Walk me through resolving this issue: https://docs.warp.dev/factories/api-and-sdk/troubleshooting/errors/content-policy-violation/
The content_policy_violation error occurs when the task prompt or environment setup commands are flagged by the platform’s automated content policy checks.
Details
Section titled “Details”- HTTP Status:
403 Forbidden - Retryable: No
- Task State: FAILED
When does this occur?
Section titled “When does this occur?”This error is returned when:
- The task prompt contains content that violates Warp’s usage policies
- The environment setup commands contain patterns flagged as potentially harmful
- The automated content classifier determines the task should be blocked
Example response
Section titled “Example response”{ "type": "/factories/api-and-sdk/troubleshooting/errors/content-policy-violation/", "title": "Unable to start cloud agent. Please try again or contact support if the issue persists.", "status": 403, "instance": "/api/v1/agent/tasks", "error": "Unable to start cloud agent. Please try again or contact support if the issue persists.", "retryable": false, "trace_id": "abc123..."}How to resolve
Section titled “How to resolve”- Review your task prompt and environment setup commands to ensure they comply with Warp’s usage policies.
- If you believe this was flagged in error, contact Warp support and include the
trace_idfrom the error response.
Related
Section titled “Related”- Cloud agents overview — How cloud agent tasks work
- Environments — Configuring setup commands