Comfy-Org/ComfyUI · error · Exception

The response contains no images: {response.code} - {response

Error message

The response contains no images: {response.code} - {response.message}

What it means

Error "The response contains no images: {response.code} - {response.message}" thrown in Comfy-Org/ComfyUI.

Source

Thrown at comfy_api_nodes/nodes_qwen.py:112

        item.image
        for choice in response.output.choices
        if choice.message
        for item in choice.message.content
        if item.image
    ]
    if not urls:
        raise Exception(f"The response contains no images: {response.code} - {response.message}")
    return torch.cat([await download_url_to_image_tensor(url) for url in urls])

View on GitHub (pinned to 1c6d8d45b3)

Solutions

  1. Adjust the prompt and try again; the response contained no images.

When it happens

Trigger: Thrown at comfy_api_nodes/nodes_qwen.py:112 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/fad15bccb0e743da. Report an issue: GitHub.