Comfy-Org/ComfyUI · error · ValueError
Task creation failed with code {response.Error.Code}: {respo
Error message
Task creation failed with code {response.Error.Code}: {response.Error.Message} What it means
Error "Task creation failed with code {response.Error.Code}: {response.Error.Message}" thrown in Comfy-Org/ComfyUI.
Source
Thrown at comfy_api_nodes/nodes_hunyuan3d.py:215
GenerateType=generate_type["generate_type"],
EnablePBR=generate_type.get("pbr", None),
PolygonType=generate_type.get("polygon_type", None),
),
is_rate_limited=_is_tencent_rate_limited,
)
if response.Error:
raise ValueError(f"Task creation failed with code {response.Error.Code}: {response.Error.Message}")
task_id = response.JobId
result = await poll_op(
cls,View on GitHub (pinned to 1c6d8d45b3)
Solutions
- Check the error code and message returned by the Hunyuan3D API and adjust the request parameters accordingly.
When it happens
Trigger: Thrown at comfy_api_nodes/nodes_hunyuan3d.py:215 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/ba705937e618aa6c.
Report an issue: GitHub.