{"record":{"id":"df34c82016e2a439","repo":"Comfy-Org/ComfyUI","slug":"large-files-are-not-currently-supported-please-op","errorCode":null,"errorMessage":"Large files are not currently supported. Please open an issue in the ComfyUI repository.","messagePattern":"Large files are not currently supported\\. Please open an issue in the ComfyUI repository\\.","errorType":"exception","errorClass":"NotImplementedError","httpStatus":null,"severity":"error","filePath":"comfy_api_nodes/nodes_topaz.py","lineNumber":781,"sourceCode":"                    audioTransfer=\"Copy\",\n                    dynamicCompressionLevel=dynamic_compression_level,\n                ),\n            ),\n            wait_label=\"Creating task\",\n            final_label_on_success=\"Task created\",\n        )\n        upload_res = await sync_op(\n            cls,\n            ApiEndpoint(\n                path=f\"/proxy/topaz/video/{initial_res.requestId}/accept\",\n                method=\"PATCH\",\n            ),\n            response_model=VideoAcceptResponse,\n            wait_label=\"Preparing upload\",\n            final_label_on_success=\"Upload started\",\n        )\n        if len(upload_res.urls) > 1:\n            raise NotImplementedError(\n                \"Large files are not currently supported. Please open an issue in the ComfyUI repository.\"\n            )\n        async with aiohttp.ClientSession(headers={\"Content-Type\": \"video/mp4\"}) as session:\n            if isinstance(src_video_stream, BytesIO):\n                src_video_stream.seek(0)\n                async with session.put(upload_res.urls[0], data=src_video_stream, raise_for_status=True) as res:\n                    upload_etag = res.headers[\"Etag\"]\n            else:\n                with builtins.open(src_video_stream, \"rb\") as video_file:\n                    async with session.put(upload_res.urls[0], data=video_file, raise_for_status=True) as res:\n                        upload_etag = res.headers[\"Etag\"]\n        await sync_op(\n            cls,\n            ApiEndpoint(\n                path=f\"/proxy/topaz/video/{initial_res.requestId}/complete-upload\",\n                method=\"PATCH\",\n            ),\n            response_model=VideoCompleteUploadResponse,","sourceCodeStart":763,"sourceCodeEnd":799,"githubUrl":"https://github.com/Comfy-Org/ComfyUI/blob/1c6d8d45b3693bfbb32385b410d813a7fd6be216/comfy_api_nodes/nodes_topaz.py#L763-L799","documentation":"For Topaz video enhancement, the proxy's accept step (/proxy/topaz/video/{requestId}/accept, PATCH) normally returns one pre-signed PUT URL. If it returns more than one URL, the video requires multipart upload, which this node does not implement, so it raises NotImplementedError. It is a capability gap, not an input error.","triggerScenarios":"Calling the video enhance flow with a video file large enough that the Topaz proxy negotiates a chunked/multipart upload and returns multiple urls in VideoAcceptResponse.","commonSituations":"Long or high-bitrate MP4s (typically multi-GB screen recordings or ProRes-grade files) fed straight from disk; users unaware of any size threshold since none is documented locally.","solutions":["Reduce the video size before the node: shorter clip, lower bitrate, or re-encode (the node validates MP4 container, so keep it MP4).","Split the video into segments under the multipart threshold and enhance each segment, then rejoin.","If you genuinely need large-file support, open an issue in the ComfyUI repository as the message suggests."],"exampleFix":null,"handlingStrategy":"validation","validationCode":"MAX_BYTES = 900 * 1024 * 1024  # stay under the multipart threshold\nsize = video.get_stream_source().getbuffer().nbytes if isinstance(video.get_stream_source(), io.BytesIO) else os.path.getsize(video.get_stream_source())\nif size > MAX_BYTES:\n    raise ValueError(\"video too large for single-PUT Topaz upload; split or re-encode\")","typeGuard":null,"tryCatchPattern":null,"preventionTips":["Re-encode long MP4s to a moderate bitrate before Topaz video nodes.","Segment long clips (e.g. 30-60 s chunks) as standard practice; multipart is not implemented."],"tags":["topaz","video","upload","multipart","not-implemented"],"backgroundTag":null,"analyzedSha":"1c6d8d45b3693bfbb32385b410d813a7fd6be216","analyzedAt":"2026-08-14T19:37:18.893Z","schemaVersion":2},"datasetVersion":"2026-08-15T17:31:12.345Z"}