Reference only

Bad linked input: represent API connections with a source node and output slot

An inputs list may be interpreted as a link rather than a literal array. Inspect serialization before assuming every JSON list will reach a node unchanged.

Symptoms and scope

An inputs list may be interpreted as a link rather than a literal array. Inspect serialization before assuming every JSON list will reach a node unchanged.

Error fragments for search; IDs, values and filenames may vary:

Bad linked input
bad_linked_input

Source-supported context

The reviewed core expects ordinary links as a two-element node-ID/output-slot list and handles specific literal wrappers separately. Custom nodes and later API versions may have additional rules. Source 1 Source 2

Cases to distinguish

1. UI-format links were copied directly into an API inputs object.

2. The link lost its slot, uses incorrect nesting or substitutes a display title for a node ID.

3. A literal array is interpreted as a connection because its serialization is wrong.

Diagnostic sequence

The sequence below is an editorial procedure based on the cited context, not a diagnosis already confirmed for your environment.

Step 1. Build a minimal valid example in the native UI and inspect its supported API export for this particular input.

Step 2. Check that ordinary link source IDs exist and output slots are valid in the current node definition.

Step 3. For literal arrays, follow the node author's and current exporter's wrapping format rather than guessing an old marker.

Step 4. Validate the request structure before sending it and distinguish missing IDs, invalid slots and misread literals in error reporting.

Completion check

bad_linked_input disappears without turning the intended business array into a different connection.

Limitations and cautions

This explains the reviewed core's rules, not every nested subgraph, custom list node or future serialization format.

Original sources

Localization prepared: 2026-09-22. The source-check dates above were inherited from the existing article; this translation does not claim they were all rechecked today. No GPU run, minimum-memory measurement or runtime guarantee is supplied.

Didn't solve it?

Check the next possible cause

The same symptom can come from a different cause. Work through these related entries in order.

  1. Return type mismatch: inspect the source output slot and destination inputReturn type mismatch between linked nodesIMAGE, LATENT, MODEL and CONDITIONING have different roles. A drawable connection or similar socket color is not sufficient evidence of a valid interface.
Paste your full log into the error finder

Was this page helpful?

Anonymous. Only a yes/no counter is stored; no account, IP address or device details.

Sources & references

Localized from the existing Chinese research draft. Original source-check dates are retained; this translation is not new technical verification or a runtime test.

01ComfyUI execution.py validationSource checked: 2026-09-2102ComfyUI Server API routesSource checked: 2026-09-21

Report an issue · 23a3829c-6bfd-50bd-892e-b583a46a5ef1