Comfy-Org/ComfyUI · error · ValueError

Reve API error

Error message

Reve API error: {error_code}

What it means

Error "Reve API error: {error_code}" thrown in Comfy-Org/ComfyUI.

Solutions

  1. Check the Reve API error code and adjust the request.

When it happens

Trigger: Thrown at comfy_api_nodes/nodes_reve.py:68 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/c350d18296bd7253. Report an issue: GitHub.

Appendix: source

Thrown at comfy_api_nodes/nodes_reve.py:68

        ),
    ]


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.")

View on GitHub (pinned to 1c6d8d45b3)