Comfy-Org/ComfyUI · error · Exception

The style_id input cannot be empty.

Error message

The style_id input cannot be empty.

What it means

Error "The style_id input cannot be empty." thrown in Comfy-Org/ComfyUI.

Source

Thrown at comfy_api_nodes/nodes_recraft.py:324

                IO.Custom(RecraftIO.STYLEV3).Output(display_name="recraft_style"),
            ],
        )

    @classmethod
    def execute(cls, style_id: str) -> IO.NodeOutput:
        if not style_id:
            raise Exception("The style_id input cannot be empty.")
        return IO.NodeOutput(RecraftStyle(style_id=style_id))

View on GitHub (pinned to 1c6d8d45b3)

Solutions

  1. Provide a non-empty style_id.

When it happens

Trigger: Thrown at comfy_api_nodes/nodes_recraft.py:324 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/c91050ba17b27a33. Report an issue: GitHub.