Invalid workflow against zod schema:
Your question
I've just started using ComfyUI. I've noticed that when I load a lot of workflows, this error message keeps popping up. It doesn't seem to affect the actual operation of the workflows, but it keeps appearing every time I switch pages. I've spent a whole day searching online for a solution, but I still can't figure it out. I'm going crazy! I urgently need help.
For easier viewing: Invalid workflow against zod schema: Validation error: Invalid semantic version (x.y.z) at "nodes[8].properties.ver"; Invalid semantic version (x.y.z) at "nodes[14].properties.ver"; Invalid semantic version (x.y.z) at "nodes[15].properties.ver"; Invalid semantic version (x.y.z) at "nodes[17].properties.ver"; Invalid semantic version (x.y.z) at "nodes[18].properties.ver"; Invalid semantic version (x.y.z) at "nodes[20].properties.ver"; Invalid semantic version (x.y.z) at "nodes[22].properties.ver"; Invalid semantic version (x.y.z) at "nodes[25].properties.ver"; Invalid semantic version (x.y.z) at "nodes[26].properties.ver"
Logs
Other
No response
Please upload the workflow file.
I have the same issue
To disable workflow validation you can toggle this setting off:
Workflow validation checks whether all aspects of the workflow adhere to the expected format/schema. It's okay to disable temporarily.
In your case, the validation is flagging the node's ver property (node pack version). ver is expected to be a semantic version like 1.2.3-beta.1+metadata.
The validation for that field was added here https://github.com/Comfy-Org/ComfyUI_frontend/pull/2751. It uses this regex /^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-([\da-z-]+(?:\.[\da-z-]+)*))?(?:\+([\da-z-]+(?:\.[\da-z-]+)*))?$/. It also allows git commit hashes. If you can share the workflow or the ver field of the node properties you may help find a bug in the current system, thanks!
If someone who experiences this issue could share the workflow (or just the node inside the workflow that causes the issue), that would help a ton ð !
After disabling workflow validation, there are no more error messages. Thank you!
Thank you for the workflow as it allowed me to identify the issue. The fix is pending and will be live soon.
I am still hitting this:
Invalid workflow against zod schema:
Validation error: Invalid format. Must be 'github-user/repo-name' at "nodes[0].properties.aux_id"; Invalid format. Must be 'github-user/repo-name' at "nodes[2].properties.aux_id"; Invalid format. Must be 'github-user/repo-name' at "nodes[8].properties.aux_id"; Invalid format. Must be 'github-user/repo-name' at "nodes[10].properties.aux_id"; Invalid format. Must be 'github-user/repo-name' at "nodes[19].properties.aux_id"
I had some custom nodes (made using convert to group node) saved and they were showing up as nodes that I can add before updating but now they don't display anymore. I spent a lot of effort creating those custom nodes and I'd like to recover them.
To disable workflow validation you can toggle this setting off:
Workflow validation checks whether all aspects of the workflow adhere to the expected format/schema. It's okay to disable temporarily.
In your case, the validation is flagging the node's
verproperty (node pack version).veris expected to be a semantic version like1.2.3-beta.1+metadata.The validation for that field was added here Comfy-Org/ComfyUI_frontend#2751. It uses this regex
/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-([\da-z-]+(?:\.[\da-z-]+)*))?(?:\+([\da-z-]+(?:\.[\da-z-]+)*))?$/. It also allows git commit hashes. If you can share the workflow or theverfield of the node properties you may help find a bug in the current system, thanks!
Thank u! After disabling workflow validation, there are no more error messages.
This has been fixed on the current version of ComfyUI. So, you should not need to disable workflow validation anymore unless you're using an older version.
If you experience this issue and are coming here now, it might be something separate. Please share the workflow so we can fix it quickly.
I downloaded a workflow off of civitai. I'm getting this error with it nonstop. I'm on ComfyUI Manager V3.31.10. I have attached the file.
Self-Sufficient Workflow (Anime) - Basic + Face + Hand Detailer.json
- Fixed issue found by @karl-von-knecht here: https://github.com/Comfy-Org/ComfyUI-Manager/pull/1758
- Fixed issue found by @brummerke here: https://github.com/Comfy-Org/ComfyUI_frontend/pull/3518
Thanks for sharing workflows and helping improve the ecosystem. It's important we ensure the node pack name/version is formatted correctly and handles all edge cases, so that installing custom nodes is a smooth process.
Anyone else arriving, please post workflows, it is very much appreciated!
Hey there! I just freshly installed ComfyUI Portable, and I'm also getting this error from my workflow. Mine is similar to brummerke's error (I'm not sure if the formatting error is on my part, or on Comfy's part, or on the node's part), but nonetheless I'll paste my workflow here, in case it helps you:
workflow: https://puu.sh/KseJc/3b0ff974c5.png
Invalid workflow against zod schema:
Validation error: Invalid format.
Must be 'github-user/repo-name' at "nodes[35].properties.aux_id"; Invalid format. Must be 'github-user/repo-name' at "nodes[38].properties.aux_id"
Thank you for your hard work!!!
I still have the same error: win 11, Invalid workflow against zod schema: Validation error: Invalid format. Must be 'github-user/repo-name' at "nodes[0].properties.aux_id"; Invalid format. Must be 'github-user/repo-name' at "nodes[5].properties.aux_id"; Invalid format. Must be 'github-user/repo-name' at "nodes[6].properties.aux_id"; Invalid format. Must be 'github-user/repo-name' at "nodes[7].properties.aux_id"; Invalid format. Must be 'github-user/repo-name' at "nodes[10].properties.aux_id"; Invalid format. Must be 'github-user/repo-name' at "nodes[11].properties.aux_id"; Invalid format. Must be 'github-user/repo-name' at "nodes[14].properties.aux_id"; Invalid format. Must be 'github-user/repo-name' at "nodes[16].properties.aux_id"; Invalid format. Must be 'github-user/repo-name' at "nodes[22].properties.aux_id"; Invalid format. Must be 'github-user/repo-name' at "nodes[23].properties.aux_id"; Invalid format. Must be 'github-user/repo-name' at "nodes[35].properties.aux_id"; Invalid format. Must be 'github-user/repo-name' at "nodes[39].properties.aux_id"; Invalid format. Must be 'github-user/repo-name' at "nodes[41].properties.aux_id"; Invalid format. Must be 'github-user/repo-name' at "nodes[44].properties.aux_id"; Invalid format. Must be 'github-user/repo-name' at "nodes[45].properties.aux_id"
workflow-mpswan-funv3-RqB562nEkWngLE8I9p6t-t8star-openart.ai.json Here are more details: [START] Security scan [DONE] Security scan
ComfyUI-Manager: installing dependencies done.
** ComfyUI startup time: 2025-05-04 18:47:41.108 ** Platform: Windows ** Python version: 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] ** Python executable: C:\Users\amin\Desktop\ComfyUI_windows_portable\python_embeded\python.exe ** ComfyUI Path: C:\Users\amin\Desktop\ComfyUI_windows_portable\ComfyUI ** ComfyUI Base Folder Path: C:\Users\amin\Desktop\ComfyUI_windows_portable\ComfyUI ** User directory: C:\Users\amin\Desktop\ComfyUI_windows_portable\ComfyUI\user ** ComfyUI-Manager config path: C:\Users\amin\Desktop\ComfyUI_windows_portable\ComfyUI\user\default\ComfyUI-Manager\config.ini ** Log path: C:\Users\amin\Desktop\ComfyUI_windows_portable\ComfyUI\user\comfyui.log
Prestartup times for custom nodes: 0.0 seconds: C:\Users\amin\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-easy-use 0.0 seconds: C:\Users\amin\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes\rgthree-comfy 2.0 seconds: C:\Users\amin\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-manager
Checkpoint files will always be loaded safely. Total VRAM 32607 MB, total RAM 63092 MB pytorch version: 2.8.0.dev20250502+cu128 Set vram state to: NORMAL_VRAM Device: cuda:0 NVIDIA GeForce RTX 5090 : cudaMallocAsync Using pytorch attention Python version: 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] ComfyUI version: 0.3.31 ComfyUI frontend version: 1.18.6 [Prompt Server] web root: C:\Users\amin\Desktop\ComfyUI_windows_portable\python_embeded\Lib\site-packages\comfyui_frontend_package\static [Crystools INFO] Crystools version: 1.22.1 [Crystools INFO] CPU: AMD Ryzen 9 9950X3D 16-Core Processor - Arch: AMD64 - OS: Windows 11 [Crystools INFO] Pynvml (Nvidia) initialized. [Crystools INFO] GPU/s: [Crystools INFO] 0) NVIDIA GeForce RTX 5090 [Crystools INFO] NVIDIA Driver: 576.02 xFormers not available xFormers not available [ComfyUI-Easy-Use] server: v1.3.0 Loaded [ComfyUI-Easy-Use] web root: C:\Users\amin\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-easy-use\web_version/v1 Loaded ComfyUI-GGUF: Allowing full torch compile (nightly)
Loading: ComfyUI-Impact-Pack (V8.14.2)
[Impact Pack] Wildcards loading done. Total VRAM 32607 MB, total RAM 63092 MB pytorch version: 2.8.0.dev20250502+cu128 Set vram state to: NORMAL_VRAM Device: cuda:0 NVIDIA GeForce RTX 5090 : cudaMallocAsync
Loading: ComfyUI-Manager (V3.31.13)
[ComfyUI-Manager] network_mode: public
ComfyUI Revision: 150 [76899171] *DETACHED | Released on '2025-05-03'
Warning: Could not load sageattention: No module named 'sageattention' sageattention package is not installed Warning: Could not load sageattention: No module named 'sageattention' sageattention package is not installed [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
[rgthree-comfy] Loaded 42 fantastic nodes. ð
Import times for custom nodes: 0.0 seconds: C:\Users\amin\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes\websocket_image_save.py 0.0 seconds: C:\Users\amin\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-textoverlay 0.0 seconds: C:\Users\amin\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-GGUF 0.0 seconds: C:\Users\amin\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes\gguf 0.0 seconds: C:\Users\amin\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-depthanythingv2 0.0 seconds: C:\Users\amin\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes\rgthree-comfy 0.0 seconds: C:\Users\amin\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-WanVideoStartEndFrames 0.0 seconds: C:\Users\amin\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-impact-pack 0.0 seconds: C:\Users\amin\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-kjnodes 0.0 seconds: C:\Users\amin\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-videohelpersuite 0.0 seconds: C:\Users\amin\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Crystools 0.1 seconds: C:\Users\amin\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-manager 0.2 seconds: C:\Users\amin\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-WanVideoWrapper 0.4 seconds: C:\Users\amin\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-easy-use
Starting server
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json To see the GUI go to: http://127.0.0.1:8188 [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json FETCH ComfyRegistry Data: 5/83 FETCH ComfyRegistry Data: 10/83 FETCH ComfyRegistry Data: 15/83 FETCH ComfyRegistry Data: 20/83 [ComfyUI-Manager] Installation failed: Install path already exists: C:\Users\amin\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-WanVideoWrapper
[ComfyUI-Manager] Queued works are completed. {'install': 1}
After restarting ComfyUI, please refresh the browser. FETCH ComfyRegistry Data: 25/83
Restarting... [Legacy Mode]
Command: ['"C:\Users\amin\Desktop\ComfyUI_windows_portable\python_embeded\python.exe"', '"ComfyUI\main.py"']
C:\Users\amin\Desktop\ComfyUI_windows_portable>--use-sage-attention '--use-sage-attention' is not recognized as an internal or external command, operable program or batch file.
C:\Users\amin\Desktop\ComfyUI_windows_portable>pause Press any key to continue . . . [START] Security scan [DONE] Security scan
ComfyUI-Manager: installing dependencies done.
** ComfyUI startup time: 2025-05-04 18:48:07.840 ** Platform: Windows ** Python version: 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] ** Python executable: C:\Users\amin\Desktop\ComfyUI_windows_portable\python_embeded\python.exe ** ComfyUI Path: C:\Users\amin\Desktop\ComfyUI_windows_portable\ComfyUI ** ComfyUI Base Folder Path: C:\Users\amin\Desktop\ComfyUI_windows_portable\ComfyUI ** User directory: C:\Users\amin\Desktop\ComfyUI_windows_portable\ComfyUI\user ** ComfyUI-Manager config path: C:\Users\amin\Desktop\ComfyUI_windows_portable\ComfyUI\user\default\ComfyUI-Manager\config.ini ** Log path: C:\Users\amin\Desktop\ComfyUI_windows_portable\ComfyUI\user\comfyui.log
Prestartup times for custom nodes: 0.0 seconds: C:\Users\amin\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes\rgthree-comfy 0.0 seconds: C:\Users\amin\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-easy-use 2.0 seconds: C:\Users\amin\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-manager
Checkpoint files will always be loaded safely. Total VRAM 32607 MB, total RAM 63092 MB pytorch version: 2.8.0.dev20250502+cu128 Set vram state to: NORMAL_VRAM Device: cuda:0 NVIDIA GeForce RTX 5090 : cudaMallocAsync Using pytorch attention Python version: 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] ComfyUI version: 0.3.31 ComfyUI frontend version: 1.18.6 [Prompt Server] web root: C:\Users\amin\Desktop\ComfyUI_windows_portable\python_embeded\Lib\site-packages\comfyui_frontend_package\static [Crystools INFO] Crystools version: 1.22.1 [Crystools INFO] CPU: AMD Ryzen 9 9950X3D 16-Core Processor - Arch: AMD64 - OS: Windows 11 [Crystools INFO] Pynvml (Nvidia) initialized. [Crystools INFO] GPU/s: [Crystools INFO] 0) NVIDIA GeForce RTX 5090 [Crystools INFO] NVIDIA Driver: 576.02 xFormers not available xFormers not available [ComfyUI-Easy-Use] server: v1.3.0 Loaded [ComfyUI-Easy-Use] web root: C:\Users\amin\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-easy-use\web_version/v1 Loaded ComfyUI-GGUF: Allowing full torch compile (nightly)
Loading: ComfyUI-Impact-Pack (V8.14.2)
[Impact Pack] Wildcards loading done. Total VRAM 32607 MB, total RAM 63092 MB pytorch version: 2.8.0.dev20250502+cu128 Set vram state to: NORMAL_VRAM Device: cuda:0 NVIDIA GeForce RTX 5090 : cudaMallocAsync
Loading: ComfyUI-Manager (V3.31.13)
[ComfyUI-Manager] network_mode: public
ComfyUI Revision: 150 [76899171] *DETACHED | Released on '2025-05-03'
Warning: Could not load sageattention: No module named 'sageattention' sageattention package is not installed Warning: Could not load sageattention: No module named 'sageattention' sageattention package is not installed [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
[rgthree-comfy] Loaded 42 fantastic nodes. ð
Import times for custom nodes: 0.0 seconds: C:\Users\amin\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes\websocket_image_save.py 0.0 seconds: C:\Users\amin\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-textoverlay 0.0 seconds: C:\Users\amin\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-GGUF 0.0 seconds: C:\Users\amin\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes\gguf 0.0 seconds: C:\Users\amin\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes\rgthree-comfy 0.0 seconds: C:\Users\amin\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-depthanythingv2 0.0 seconds: C:\Users\amin\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-WanVideoStartEndFrames 0.0 seconds: C:\Users\amin\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-impact-pack 0.0 seconds: C:\Users\amin\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-kjnodes 0.0 seconds: C:\Users\amin\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-videohelpersuite 0.1 seconds: C:\Users\amin\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-WanVideoWrapper 0.4 seconds: C:\Users\amin\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-manager 0.5 seconds: C:\Users\amin\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-easy-use 0.5 seconds: C:\Users\amin\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Crystools
Starting server
To see the GUI go to: http://127.0.0.1:8188 [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json FETCH ComfyRegistry Data: 5/83 FETCH ComfyRegistry Data: 10/83 FETCH ComfyRegistry Data: 15/83 FETCH ComfyRegistry Data: 20/83 FETCH ComfyRegistry Data: 25/83 FETCH ComfyRegistry Data: 30/83 FETCH ComfyRegistry Data: 35/83 FETCH ComfyRegistry Data: 40/83 FETCH ComfyRegistry Data: 45/83 FETCH ComfyRegistry Data: 50/83 FETCH ComfyRegistry Data: 55/83 FETCH ComfyRegistry Data: 60/83 FETCH ComfyRegistry Data: 65/83 FETCH ComfyRegistry Data: 70/83 FETCH ComfyRegistry Data: 75/83 FETCH ComfyRegistry Data: 80/83 FETCH ComfyRegistry Data [DONE] [ComfyUI-Manager] default cache updated: https://api.comfy.org/nodes FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json [DONE] [ComfyUI-Manager] All startup tasks have been completed.
læ¥ä¿¡å·²æ¶å°..çŒååå€....
I am also getting this error on many workflows. Thank you.
ReActor-Mask_RenderBlack_Bug.json
Reactor_Mask_Black-Render_02.json
Edit: added another workflow with this issue.
Also getting this error, also using the Reactor Masking Node as @logan683 above
I'm still getting tons of these errors when developing my own nodes that have not been published (yet) to any registry or Github. This validation feature may be well-intended, but it's quite annoying to have it pop up over and over again during development.
You can disable it, see my comments above.