{"record":{"id":"672345c5d7bb6d30","repo":"Comfy-Org/ComfyUI","slug":"polling-endpoint-returned-non-json-response","errorCode":null,"errorMessage":"Polling endpoint returned non-JSON response.","messagePattern":"Polling endpoint returned non-JSON response\\.","errorType":"exception","errorClass":"Exception","httpStatus":null,"severity":"error","filePath":"comfy_api_nodes/util/client.py","lineNumber":360,"sourceCode":"                    wait_label=\"Checking\",\n                    estimated_duration=None,\n                    as_binary=False,\n                    final_label_on_success=None,\n                    monitor_progress=False,\n                )\n                if not isinstance(resp_json, dict):\n                    raise Exception(\"Polling endpoint returned non-JSON response.\")\n            except ProcessingInterrupted:\n                if cancel_endpoint:\n                    with contextlib.suppress(Exception):","sourceCodeStart":342,"sourceCodeEnd":378,"githubUrl":"https://github.com/Comfy-Org/ComfyUI/blob/1c6d8d45b3693bfbb32385b410d813a7fd6be216/comfy_api_nodes/util/client.py#L342-L378","documentation":"Error \"Polling endpoint returned non-JSON response.\" thrown in Comfy-Org/ComfyUI.","triggerScenarios":"Thrown at comfy_api_nodes/util/client.py:360 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Retry polling; the endpoint returned a non-JSON response."],"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-15T17:31:12.345Z"}