Comfy-Org/ComfyUI · error · Exception
Task failed: {json.dumps(resp_json)}
Error message
Task failed: {json.dumps(resp_json)} What it means
Error "Task failed: {json.dumps(resp_json)}" thrown in Comfy-Org/ComfyUI.
Source
Thrown at comfy_api_nodes/util/client.py:433
extra_text=extra_text,
)
return resp_json
if status in failed_states:
msg = f"Task failed: {json.dumps(resp_json)}"
logging.error(msg)
raise Exception(msg)
try:
await sleep_with_interrupt(poll_interval, cls, None, None, None)View on GitHub (pinned to 1c6d8d45b3)
Solutions
- Inspect the logged task failure payload and adjust the request.
When it happens
Trigger: Thrown at comfy_api_nodes/util/client.py:433 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/b6ce0bdcbb576d06.
Report an issue: GitHub.