Comfy-Org/ComfyUI · error · ValueError
The generated image was flagged for content policy violation
Error message
The generated image was flagged for content policy violation.
What it means
Error "The generated image was flagged for content policy violation." thrown in Comfy-Org/ComfyUI.
Source
Thrown at comfy_api_nodes/nodes_reve.py:70
def _reve_response_header_validator(headers: dict) -> None:
error_code = headers.get("x-reve-error-code")
if error_code:
raise ValueError(f"Reve API error: {error_code}")
if headers.get("x-reve-content-violation", "").lower() == "true":
raise ValueError("The generated image was flagged for content policy violation.")
def _model_inputs(versions: list[str], aspect_ratios: list[str]):View on GitHub (pinned to 1c6d8d45b3)
Solutions
- Adjust the prompt to comply with the content policy and try again.
When it happens
Trigger: Thrown at comfy_api_nodes/nodes_reve.py:70 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of Comfy-Org/ComfyUI@1c6d8d45b3 (2026-08-14).
Data as JSON: /api/errors/1319cb9cf947fc7d.
Report an issue: GitHub.