Comfy-Org/ComfyUI · error · Exception
An unknown error occurred: {initial_response.code} - {initia
Error message
An unknown error occurred: {initial_response.code} - {initial_response.message} What it means
Error "An unknown error occurred: {initial_response.code} - {initial_response.message}" thrown in Comfy-Org/ComfyUI.
Source
Thrown at comfy_api_nodes/nodes_wan.py:172
seed=seed,
prompt_extend=prompt_extend,
watermark=watermark,
),
),
)
if not initial_response.output:
raise Exception(f"An unknown error occurred: {initial_response.code} - {initial_response.message}")
response = await poll_op(
cls,
ApiEndpoint(path=f"/proxy/wan/api/v1/tasks/{initial_response.output.task_id}"),View on GitHub (pinned to 1c6d8d45b3)
Solutions
- Check the Wan API error code and message and adjust the request.
When it happens
Trigger: Thrown at comfy_api_nodes/nodes_wan.py:172 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/d57e8e3bc0cb607f.
Report an issue: GitHub.