An error in ComfyUI

When ComfyUI cannot run a workflow, it shows a red message and outlines the node that failed. This page says how to read it and how to bring it back here to fix the graph.

How to bring an error back

  1. In ComfyUI, copy the red text (select it and Ctrl+C), or the error from the terminal of ComfyUI.
  2. In this app, open the same graph, then Help ▸ Explain a ComfyUI error… or Graph ▸ Explain a ComfyUI error…. The save card has the same button.
  3. Paste the text into Text of the ComfyUI error and press Explain.
  4. Under Nodes it names the card lists the nodes the error names, by number and by class. Show on the canvas selects the node and brings it into view. A node that is not in this graph says "not on this canvas". Node numbers of a workflow you opened here are the same as in ComfyUI.
  5. Under What it means the card explains a known message, with Meaning and What to do.
  6. For an error it does not know, it says "The app does not know this error. Ask the assistant: it reads the text and your graph." Ask the assistant sends the text to the chat. Nothing is sent before you press it.
  7. Fix, save the workflow again, and open the new file in ComfyUI.

Many errors are found by Check graph here too, before you run anything.

Messages the card knows

The card recognises these messages of ComfyUI: out of memory, "Prompt outputs failed validation", "Value not in list", "Required input is missing", "Return type mismatch between linked nodes", a node that is not found, "Prompt has no outputs", a value smaller than min or bigger than max, "Could not detect model type", a damaged or incomplete safetensors file, "mat1 and mat2 shapes cannot be multiplied", "size mismatch", tensors on different devices, "Dependency cycle detected", and "lora key not loaded".

Common messages and what they usually mean

ComfyUI says (in words like these)UsuallyHere
a node type is missing, or the node is drawn reda node pack is not installedthe check: Nodes that are not installed. Install the pack in ComfyUI yourself, restart it, then Sync ▸ Sync now.
a value is not in the list (for example a model name)a model file is missing, or named differently on this computerthe check: Models that are not on disk. Choose a file you have. See Choosing a model file.
a required input is missingan input has no linkthe check: Required inputs left empty.
the shapes or sizes of tensors do not matchmodels of different families are mixedthe check: Models from different families.
out of memorythe graphics card has too little memory for this size or modellower the width and height, the batch size or the length of a video; or a smaller model. See Graphics card memory.

The check cannot see the last kind, and some others that appear only while ComfyUI runs.

See also

This page is imported from the application repository's wiki (docs/wiki/graph/ComfyUI-Errors.md, revision b8e3f71). The same guide is built into the app: Help ▸ User guide.

To refresh it, run npm run import and then npm run build in the website folder.