Cannot execute because a node is missing the class_type property (Node not loaded or wrong workflow format)
ComfyUI received a job in which a node is missing the information about what kind of node it is.
The message
invalid prompt: {'type': 'invalid_prompt', 'message': 'Cannot execute because a node is missing the class_type property.', 'details': "Node ID '#127'", 'extra_info': {}} | neuere Versionen: Node '…' has no class_type. The workflow may be corrupted or a custom node is missing.
Affects: ComfyUI
Why is this happening?
Every node in the job sent to ComfyUI needs the class_type field, for example KSampler. If it is missing, ComfyUI stops before starting and names the node ID. In the interface, this usually happens when a node from a Custom Node is not loaded correctly, for example because the Custom Node is outdated. If you send workflows by script or API, you often sent the normal workflow format instead of the API format.
How to fix it
- Note the node ID from the message (for example
#75). To find it in the workflow, turn on the “Node ID badge mode” option under Lite Graph in the settings (gear icon orCtrl + ,). - Look at this node. If it has a red outline or comes from a Custom Node, install or update the package in the ComfyUI-Manager and restart ComfyUI.
- Typical example: Get/Set nodes from KJNodes. Here, an update of KJNodes helped, even though the Manager did not report anything as missing.
- If the node cannot be repaired, replace it: For pure pass-through nodes (Get/Set, Reroute), simply connect the inputs and outputs directly.
- Do you send workflows by script or API: Export them via File → Export Workflow (API). The normal format contains
nodesandlinksat the top; in the API format, each entry has its ownclass_type. - If the console shows “(IMPORT FAILED)” next to a Custom Node on startup, fix this error first, see the entry “Custom Node: IMPORT FAILED”.
Set up from scratch again
If it still doesn’t work after that, a fresh setup step by step often helps:
- Set up and maintain ComfyUI on Windows
Desktop or Portable, where the models belong, sharing models with other programs, safely installing custom nodes, updates, startup options … - Your First Image with ComfyUI
Install Comfy Desktop, learn the interface, and create your first AI image with FLUX.2 [small] 4B or Z-Image Turbo. - Your First AI Video with LTX in ComfyUI
Use LTX-2.3 in ComfyUI to create short videos with sound from text or an image. Template, files, settings, and license.
Terms for this
Similar errors
- Prompt outputs failed validation: Required input is missing (Required input not connected)
- Expected all tensors to be on the same device (data partly on GPU, partly on CPU)
- expected scalar type Half but found Float (number formats do not match)
- Windows SmartScreen or Defender blocks an installer or .exe
- IPAdapter model not found / ClipVision model not found (IPAdapter files are missing or named incorrectly)
Sources
- https://github.com/Comfy-Org/ComfyUI/blob/master/execution.py
- https://github.com/kijai/ComfyUI-SUPIR/issues/164
- https://docs.comfy.org/development/api-development/workflow-api-format
- https://docs.comfy.org/interface/settings/lite-graph
Checked on Oct 27, 2026. Didn't help? Ask in the forum and name the graphics card, program, and the full message.