{"record":{"id":"8f70d8e7888f6cf4","repo":"Comfy-Org/ComfyUI","slug":"task-cancelled","errorCode":null,"errorMessage":"Task cancelled","messagePattern":"Task cancelled","errorType":"exception","errorClass":"ProcessingInterrupted","httpStatus":null,"severity":"error","filePath":"comfy_api_nodes/util/client.py","lineNumber":757,"sourceCode":"                tasks.add(monitor_task)\n            done, pending = await asyncio.wait(tasks, return_when=asyncio.FIRST_COMPLETED)\n\n            if monitor_task and monitor_task in done:\n                # Interrupted – cancel the request and abort\n                if req_task in pending:\n                    req_task.cancel()\n                raise ProcessingInterrupted(\"Task cancelled\")\n\n            # Otherwise, request finished\n            resp = await req_task","sourceCodeStart":739,"sourceCodeEnd":775,"githubUrl":"https://github.com/Comfy-Org/ComfyUI/blob/1c6d8d45b3693bfbb32385b410d813a7fd6be216/comfy_api_nodes/util/client.py#L739-L775","documentation":"Error \"Task cancelled\" thrown in Comfy-Org/ComfyUI.","triggerScenarios":"Thrown at comfy_api_nodes/util/client.py:757 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Re-run the node; the task was cancelled."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"1c6d8d45b3693bfbb32385b410d813a7fd6be216","analyzedAt":"2026-08-14T19:37:18.893Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}