Skip to content

Unable to load workflow templates (404) #7712

Description

@WASasquatch

Expected Behavior

Browse templates

Actual Behavior

Only custom node templates show

Steps to Reproduce

Open browse templates

Debug Logs

Nothing in server console, in browser it's getting a 404 for the asset:


Error fetching workflow templates: 
Object { stack: "AxiosError$1@http://127.0.0.1:8188/assets/index-DqRLabIt.js:89100:18\nsettle@http://127.0.0.1:8188/assets/index-DqRLabIt.js:89942:12\nonloadend@http://127.0.0.1:8188/assets/index-DqRLabIt.js:90268:13\n", message: "Request failed with status code 404", name: "AxiosError", code: "ERR_BAD_REQUEST", config: {…}, request: XMLHttpRequest, response: {…}, status: 404 }

code: "ERR_BAD_REQUEST"

config: Object { timeout: 0, xsrfCookieName: "XSRF-TOKEN", xsrfHeaderName: "X-XSRF-TOKEN", … }

message: "Request failed with status code 404"

name: "AxiosError"

request: XMLHttpRequest { readyState: 4, timeout: 0, withCredentials: false, … }
​​
mozAnon: false
​​
mozSystem: false
​​
onabort: function handleAbort()
​​
onerror: function handleError()
​​
onload: null
​​
onloadend: function onloadend()
​​
onloadstart: null
​​
onprogress: null
​​
ontimeout: function handleTimeout()
​​
readyState: 4
​​
response: ""
​​
responseText: ""
​​
responseType: ""
​​
responseURL: "http://127.0.0.1:8188/templates/index.json"
​​
responseXML: null
​​
status: 404
​​
statusText: "Not Found"
​​
timeout: 0
​​
upload: XMLHttpRequestUpload { onloadstart: null, onprogress: null, onabort: null, … }
​​
withCredentials: false
​​
<prototype>: XMLHttpRequestPrototype { open: open(), setRequestHeader: setRequestHeader(), send: send(), … }

response: Object { data: "", status: 404, statusText: "Not Found", … }

stack: "AxiosError$1@http://127.0.0.1:8188/assets/index-DqRLabIt.js:89100:18\nsettle@http://127.0.0.1:8188/assets/index-DqRLabIt.js:89942:12\nonloadend@http://127.0.0.1:8188/assets/index-DqRLabIt.js:90268:13\n"

status: 404

<prototype>: Object { constructor: AxiosError$1(message, code2, config2, request, response), toJSON: toJSON(), stack: "", … }
workflowTemplatesStore.ts:63:16

Other

There is no templates/index.json in ComfyUI's UI.

When I pulled ComfyUI this morning I ended up on origin/temp_pr which may be the reason, between implementations?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Potential BugUser is reporting a bug. This should be tested.

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions