Comfy-Org/ComfyUI · error · Exception
An unknown error occurred: {response.code} - {response.messa
Error message
An unknown error occurred: {response.code} - {response.message} What it means
Error "An unknown error occurred: {response.code} - {response.message}" thrown in Comfy-Org/ComfyUI.
Source
Thrown at comfy_api_nodes/nodes_qwen.py:103
image, total_pixels=2048 * 2048, mime_type="image/jpeg"
)
return "data:image/png;base64," + b64
async def _download_result_images(response: QwenImageGenerationResponse) -> torch.Tensor:
if not response.output:
raise Exception(f"An unknown error occurred: {response.code} - {response.message}")
urls = [
item.image
for choice in response.output.choicesView on GitHub (pinned to 1c6d8d45b3)
Solutions
- Check the Qwen API error code and message and adjust the request.
When it happens
Trigger: Thrown at comfy_api_nodes/nodes_qwen.py:103 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/2d98749ed9dad2e7.
Report an issue: GitHub.