Comfy-Org/ComfyUI · error · ProcessingInterrupted

Task cancelled

Error message

Task cancelled

What it means

Error "Task cancelled" thrown in Comfy-Org/ComfyUI.

Source

Thrown at comfy_api_nodes/util/client.py:757

                tasks.add(monitor_task)
            done, pending = await asyncio.wait(tasks, return_when=asyncio.FIRST_COMPLETED)

            if monitor_task and monitor_task in done:
                # Interrupted – cancel the request and abort
                if req_task in pending:
                    req_task.cancel()
                raise ProcessingInterrupted("Task cancelled")

            # Otherwise, request finished
            resp = await req_task

View on GitHub (pinned to 1c6d8d45b3)

Solutions

  1. Re-run the node; the task was cancelled.

When it happens

Trigger: Thrown at comfy_api_nodes/util/client.py:757 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/8f70d8e7888f6cf4. Report an issue: GitHub.