Edit Fields node BUG

When the Edit Fields node is used to process two or more variables in a JSON file, all the “\” and "" characters in between are escaped, causing the file path to be incorrect. However, with only a single variable such as {{ $json.num }}, everything works fine. I want to use n8n, so please don’t criticize my poor English translation.


There is no problem with the preview.

How many \,,\\ are missing from the Schema option?

There are also a few missing ,\,\\ under the json option.
As a result, when the next node calls the variable, a path error occurs. I thought it was a problem with the comfyUI node.
I’m a newbie and it took me two days to solve this problem. I only found the problem with the help of AI chat. I hope the official can fix it as soon as possible.

what’s the expression you’re using to populate the “ckpt_name” key?


I don’t quite understand what you mean. It seems that the {{ $json.num }}$ variable can only be used in expression mode. Fixed mode cannot,So why do the double backslashes between the two $ variables need to be escaped? I don’t understand this thing very well.Are two $json automatically associated like django orm calling for loop.If you don’t understand it, just make do with it. As long as one of the people or the code can run, it’s fine. :rofl: :rofl:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.