{"record":{"id":"d6c913568247327d","repo":"Comfy-Org/ComfyUI","slug":"vidu-request-failed-code-task-creation-response","errorCode":null,"errorMessage":"Vidu request failed. Code: {task_creation_response.code}","messagePattern":"Vidu request failed\\. Code: (.+?)","errorType":"exception","errorClass":"RuntimeError","httpStatus":null,"severity":"error","filePath":"comfy_api_nodes/nodes_vidu.py","lineNumber":50,"sourceCode":"    task_creation_response = await sync_op(\n        cls,\n        endpoint=ApiEndpoint(path=vidu_endpoint, method=\"POST\"),\n        response_model=TaskCreationResponse,\n        data=payload,\n    )\n    if task_creation_response.state == \"failed\":\n        raise RuntimeError(f\"Vidu request failed. Code: {task_creation_response.code}\")\n    response = await poll_op(\n        cls,\n        ApiEndpoint(path=VIDU_GET_GENERATION_STATUS % task_creation_response.task_id),","sourceCodeStart":32,"sourceCodeEnd":68,"githubUrl":"https://github.com/Comfy-Org/ComfyUI/blob/1c6d8d45b3693bfbb32385b410d813a7fd6be216/comfy_api_nodes/nodes_vidu.py#L32-L68","documentation":"Error \"Vidu request failed. Code: {task_creation_response.code}\" thrown in Comfy-Org/ComfyUI.","triggerScenarios":"Thrown at comfy_api_nodes/nodes_vidu.py:50 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check the Vidu API response code and adjust the request."],"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"}