Comfy-Org/ComfyUI · error · ValueError

' ' file type is not found in the response.

Error message

'{file_type}' file type is not found in the response.

What it means

Error "'{file_type}' file type is not found in the response." thrown in Comfy-Org/ComfyUI.

Solutions

  1. Check the Hunyuan3D task response for the available file keys and request one of the supported file types.

When it happens

Trigger: Thrown at comfy_api_nodes/nodes_hunyuan3d.py:115 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/0560e97324440237. Report an issue: GitHub.

Appendix: source

Thrown at comfy_api_nodes/nodes_hunyuan3d.py:115

def get_file_from_response(
    response_objs: list[ResultFile3D], file_type: str, raise_if_not_found: bool = True
) -> ResultFile3D | None:
    for i in response_objs:
        if i.Type.lower() == file_type.lower():
            return i
    if raise_if_not_found:
        raise ValueError(f"'{file_type}' file type is not found in the response.")
    return None

View on GitHub (pinned to 1c6d8d45b3)