Free | No tracking | Every fact with a source|German and English

Error / Other

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

  1. 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 or Ctrl + ,).
  2. 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.
  3. Typical example: Get/Set nodes from KJNodes. Here, an update of KJNodes helped, even though the Manager did not report anything as missing.
  4. If the node cannot be repaired, replace it: For pure pass-through nodes (Get/Set, Reroute), simply connect the inputs and outputs directly.
  5. Do you send workflows by script or API: Export them via File → Export Workflow (API). The normal format contains nodes and links at the top; in the API format, each entry has its own class_type.
  6. 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:

Terms for this

Similar errors

Sources

Checked on Oct 27, 2026. Didn't help? Ask in the forum and name the graphics card, program, and the full message.