mirror of
https://github.com/langgenius/dify-docs.git
synced 2026-07-22 04:15:24 -04:00
[DOCS]: WORKFLOW JSON error: KeyError, error details: 'nodes' #234
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
@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:
Next Steps:
Thank you for your understanding and contribution!
@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.
@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?