Comfy-Org/ComfyUI · error · RuntimeError
Vidu request failed. Code: {task_creation_response.code}
Error message
Vidu request failed. Code: {task_creation_response.code} What it means
Error "Vidu request failed. Code: {task_creation_response.code}" thrown in Comfy-Org/ComfyUI.
Source
Thrown at comfy_api_nodes/nodes_vidu.py:50
task_creation_response = await sync_op(
cls,
endpoint=ApiEndpoint(path=vidu_endpoint, method="POST"),
response_model=TaskCreationResponse,
data=payload,
)
if task_creation_response.state == "failed":
raise RuntimeError(f"Vidu request failed. Code: {task_creation_response.code}")
response = await poll_op(
cls,
ApiEndpoint(path=VIDU_GET_GENERATION_STATUS % task_creation_response.task_id),View on GitHub (pinned to 1c6d8d45b3)
Solutions
- Check the Vidu API response code and adjust the request.
When it happens
Trigger: Thrown at comfy_api_nodes/nodes_vidu.py:50 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/d6c913568247327d.
Report an issue: GitHub.