[DOCS]: WORKFLOW JSON error: KeyError, error details: 'nodes' #234

Closed
opened 2026-02-16 05:19:31 -05:00 by yindo · 3 comments
Owner

Originally created by @ss958 on GitHub (Sep 1, 2025).

Type of Documentation Change

Error/Typo fix

Documentation Page URL or Path

No response

Current Content

An error occurred in the plugin, please contact the author of langgenius/comfyui/comfyui for help, error type: KeyError, error details: 'nodes'

Suggested Changes

comfyui api:{
"3": {
"inputs": {
"seed": 580319629622368,
"steps": 8,
"cfg": 1,
"sampler_name": "euler",
"scheduler": "simple",
"denoise": 1,
"model": [
"66",
0
],
"positive": [
"6",
0
],
"negative": [
"78",
0
],
"latent_image": [
"58",
0
]
},
"class_type": "KSampler",
"_meta": {
"title": "K采样器"
}
},
"6": {
"inputs": {
"text": "{{#1756456182710.query#}}",
"clip": [
"38",
0
]
},
"class_type": "CLIPTextEncode",
"_meta": {
"title": "CLIP文本编码器"
}
},
"8": {
"inputs": {
"samples": [
"3",
0
],
"vae": [
"39",
0
]
},
"class_type": "VAEDecode",
"_meta": {
"title": "VAE解码"
}
},
"37": {
"inputs": {
"unet_name": "qwen\qwen_image_fp8_e4m3fn.safetensors",
"weight_dtype": "default"
},
"class_type": "UNETLoader",
"_meta": {
"title": "UNET加载器"
}
},
"38": {
"inputs": {
"clip_name": "qwen\qwen_2.5_vl_7b_fp8_scaled.safetensors",
"type": "qwen_image",
"device": "default"
},
"class_type": "CLIPLoader",
"_meta": {
"title": "CLIP加载器"
}
},
"39": {
"inputs": {
"vae_name": "qwen\qwen_image_vae.safetensors"
},
"class_type": "VAELoader",
"_meta": {
"title": "VAE加载器"
}
},
"58": {
"inputs": {
"width": 720,
"height": 1280,
"batch_size": 4
},
"class_type": "EmptySD3LatentImage",
"_meta": {
"title": "空Latent_SD3"
}
},
"60": {
"inputs": {
"filename_prefix": "ComfyUI",
"images": [
"77",
0
]
},
"class_type": "SaveImage",
"_meta": {
"title": "保存图像"
}
},
"66": {
"inputs": {
"shift": 3.1,
"model": [
"73",
0
]
},
"class_type": "ModelSamplingAuraFlow",
"_meta": {
"title": "模型采样算法AuraFlow"
}
},
"73": {
"inputs": {
"lora_name": "qwen\Qwen-Image-Lightning-8steps-V1.1.safetensors",
"strength_model": 1,
"model": [
"37",
0
]
},
"class_type": "LoraLoaderModelOnly",
"_meta": {
"title": "LoRA加载器(仅模型)"
}
},
"77": {
"inputs": {
"anything": [
"8",
0
]
},
"class_type": "easy cleanGpuUsed",
"_meta": {
"title": "清理GPU占用"
}
},
"78": {
"inputs": {
"conditioning": [
"6",
0
]
},
"class_type": "ConditioningZeroOut",
"_meta": {
"title": "条件零化"
}
}
}

Reason for Change

No response

Code of Conduct

  • I agree to follow Dify's documentation contribution guidelines
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
  • Please do not modify this template :) and fill in all the required fields.
Originally created by @ss958 on GitHub (Sep 1, 2025). ### Type of Documentation Change Error/Typo fix ### Documentation Page URL or Path _No response_ ### Current Content An error occurred in the plugin, please contact the author of langgenius/comfyui/comfyui for help, error type: KeyError, error details: 'nodes' ### Suggested Changes comfyui api:{ "3": { "inputs": { "seed": 580319629622368, "steps": 8, "cfg": 1, "sampler_name": "euler", "scheduler": "simple", "denoise": 1, "model": [ "66", 0 ], "positive": [ "6", 0 ], "negative": [ "78", 0 ], "latent_image": [ "58", 0 ] }, "class_type": "KSampler", "_meta": { "title": "K采样器" } }, "6": { "inputs": { "text": "{{#1756456182710.query#}}", "clip": [ "38", 0 ] }, "class_type": "CLIPTextEncode", "_meta": { "title": "CLIP文本编码器" } }, "8": { "inputs": { "samples": [ "3", 0 ], "vae": [ "39", 0 ] }, "class_type": "VAEDecode", "_meta": { "title": "VAE解码" } }, "37": { "inputs": { "unet_name": "qwen\\qwen_image_fp8_e4m3fn.safetensors", "weight_dtype": "default" }, "class_type": "UNETLoader", "_meta": { "title": "UNET加载器" } }, "38": { "inputs": { "clip_name": "qwen\\qwen_2.5_vl_7b_fp8_scaled.safetensors", "type": "qwen_image", "device": "default" }, "class_type": "CLIPLoader", "_meta": { "title": "CLIP加载器" } }, "39": { "inputs": { "vae_name": "qwen\\qwen_image_vae.safetensors" }, "class_type": "VAELoader", "_meta": { "title": "VAE加载器" } }, "58": { "inputs": { "width": 720, "height": 1280, "batch_size": 4 }, "class_type": "EmptySD3LatentImage", "_meta": { "title": "空Latent_SD3" } }, "60": { "inputs": { "filename_prefix": "ComfyUI", "images": [ "77", 0 ] }, "class_type": "SaveImage", "_meta": { "title": "保存图像" } }, "66": { "inputs": { "shift": 3.1, "model": [ "73", 0 ] }, "class_type": "ModelSamplingAuraFlow", "_meta": { "title": "模型采样算法AuraFlow" } }, "73": { "inputs": { "lora_name": "qwen\\Qwen-Image-Lightning-8steps-V1.1.safetensors", "strength_model": 1, "model": [ "37", 0 ] }, "class_type": "LoraLoaderModelOnly", "_meta": { "title": "LoRA加载器(仅模型)" } }, "77": { "inputs": { "anything": [ "8", 0 ] }, "class_type": "easy cleanGpuUsed", "_meta": { "title": "清理GPU占用" } }, "78": { "inputs": { "conditioning": [ "6", 0 ] }, "class_type": "ConditioningZeroOut", "_meta": { "title": "条件零化" } } } ### Reason for Change _No response_ ### Code of Conduct - [x] I agree to follow Dify's documentation [contribution guidelines](https://github.com/langgenius/dify/blob/0277a37fcad5ad86aeb239485c27fffd5cd90043/CONTRIBUTING.md) - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report, otherwise it will be closed. - [x] 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :) - [x] Please do not modify this template :) and fill in all the required fields.
yindo added the documentationbug labels 2026-02-16 05:19:31 -05:00
yindo closed this issue 2026-02-16 05:19:31 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Sep 13, 2025):

Hi, @ss958. I'm Dosu, and I'm helping the dify-docs team manage their backlog and am marking this issue as stale.

Issue Summary:

  • You reported a KeyError related to the missing 'nodes' key in the WORKFLOW JSON for the comfyui plugin.
  • You provided a partial comfyui API JSON snippet showing node definitions to help clarify the issue.
  • No further comments or updates have been made on this issue since your initial report.
  • The issue remains unresolved and no documentation updates have been made yet.

Next Steps:

  • Please let me know if this issue is still relevant with the latest version of the dify-docs repository by commenting here.
  • If I do not hear back from you within 5 days, this issue will be automatically closed.

Thank you for your understanding and contribution!

@dosubot[bot] commented on GitHub (Sep 13, 2025): Hi, @ss958. I'm [Dosu](https://dosu.dev), and I'm helping the dify-docs team manage their backlog and am marking this issue as stale. **Issue Summary:** - You reported a KeyError related to the missing 'nodes' key in the WORKFLOW JSON for the comfyui plugin. - You provided a partial comfyui API JSON snippet showing node definitions to help clarify the issue. - No further comments or updates have been made on this issue since your initial report. - The issue remains unresolved and no documentation updates have been made yet. **Next Steps:** - Please let me know if this issue is still relevant with the latest version of the dify-docs repository by commenting here. - If I do not hear back from you within 5 days, this issue will be automatically closed. Thank you for your understanding and contribution!
Author
Owner

@ss958 commented on GitHub (Sep 14, 2025):

I am using the latest versions of Dify and ComfyUI. I followed the plugin instructions to export the ComfyUI API for use, which resulted in this error. I noticed that the API JSON data exported by the current latest version of ComfyUI is inconsistent with the ComfyUI-related section in the Dify documentation. Please verify and fix this issue.

@ss958 commented on GitHub (Sep 14, 2025): I am using the latest versions of Dify and ComfyUI. I followed the plugin instructions to export the ComfyUI API for use, which resulted in this error. I noticed that the API JSON data exported by the current latest version of ComfyUI is inconsistent with the ComfyUI-related section in the Dify documentation. Please verify and fix this issue.
Author
Owner

@dosubot[bot] commented on GitHub (Sep 14, 2025):

@crazywoola, the user reports that the latest ComfyUI API JSON export is inconsistent with the Dify documentation, causing a KeyError related to the missing 'nodes' key. Could you please help verify and address this issue?

@dosubot[bot] commented on GitHub (Sep 14, 2025): @crazywoola, the user reports that the latest ComfyUI API JSON export is inconsistent with the Dify documentation, causing a KeyError related to the missing 'nodes' key. Could you please help verify and address this issue?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-docs#234