Skip to content

"Required input is missing" error in delegate-only mode #85

@elson

Description

@elson

When running a workflow in "delegate-only" mode and passing a String primitive to a Save Image node, the workflow fails with an Required input is missing: filename_prefix error and the image is not saved.

Error Details

  • Node ID: N/A
  • Node Type: N/A
  • Exception Type: Prompt execution failed
  • Exception Message: TypeError: can't access property "node_errors", c is null

System Information

  • ComfyUI Version: 0.22.0
  • Arguments: main.py --listen 0.0.0.0 --port 8088 --enable-cors-header --cpu --enable-manager
  • OS: linux
  • Python Version: 3.12.13 (main, May 19 2026, 23:48:44) [GCC 14.2.0]
  • Embedded Python: false
  • PyTorch Version: 2.12.0+cu130

Devices

  • Name: cpu
    • Type: cpu
    • VRAM Total: 33519362048
    • VRAM Free: 20988223488
    • Torch VRAM Total: 33519362048
    • Torch VRAM Free: 20988223488

Master Logs

[Distributed] [Distributed][exec:exec_1780043900385_0f1f1e] Orchestration start: requested_workers=1, requested_ids=['7d3168a8-2f87-4a0e-8de9-d1296a166ac9'], websocket=True, probe_concurrency=8, prep_concurrency=4, media_sync_concurrency=2, media_sync_timeout=120.0s, load_balance=False
[Distributed] [Distributed][exec:exec_1780043900385_0f1f1e] Probing 1 workers with probe_concurrency=8
[Distributed] [Distributed][exec:exec_1780043900385_0f1f1e] Worker probe complete: active=1/1
[Distributed] Removed upstream reference 'images' from node 11 for delegate-only master prompt.
[Distributed] Removed upstream reference 'filename_prefix' from node 9 for delegate-only master prompt.
[Distributed] Inserted placeholder node 16 for collector 11 in delegate-only master prompt.
[Distributed] [Distributed][exec:exec_1780043900385_0f1f1e] Active distributed workers: Modal (7d3168a8-2f87-4a0e-8de9-d1296a166ac9)
Failed to validate prompt for output 9:
* (prompt):
  - Required input is missing: filename_prefix
* SaveImage 9:
  - Required input is missing: filename_prefix
Output will be ignored
[Distributed] API Error [500]: Invalid prompt: {'type': 'prompt_outputs_failed_validation', 'message': 'Prompt outputs failed validation', 'details': 'Required input is missing: filename_prefix', 'extra_info': {}, 'node_errors': {'9': {'errors': [{'type': 'required_input_missing', 'message': 'Required input is missing', 'details': 'filename_prefix', 'extra_info': {'input_name': 'filename_prefix'}}], 'dependent_outputs': ['9'], 'class_type': 'SaveImage'}}}
[Distributed] job_complete received canonical envelope - job_id: exec_1780043901365_55ef5f_11, worker: 7d3168a8-2f87-4a0e-8de9-d1296a166ac9, batch_idx: 0, is_last: True, queue_size: 1

Cloud Worker Logs

Model SDXL prepared for dynamic VRAM loading. 4897MB Staged. 0 patches attached.
100%|██████████| 20/20 [00:02<00:00,  8.25it/s]
100%|██████████| 20/20 [00:02<00:00,  8.39it/s]
Model AutoencoderKL prepared for dynamic VRAM loading. 159MB Staged. 0 patches attached.
Prompt executed in 3.51 seconds

Workflow

input_bug.json

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions