Hi @Edgard_Neto - sorry for the frustration here! Would you be able to share your workflow with us by copying the nodes and pasting the code here between two sets of three backticks (```) so we can debug this flow further with you?
Hi @Edgard_Neto - no problem, I can take a look into this, and depending on how it goes I may need a bit of help from the wider team on Monday, as I’m the only one in today on the support team
Just as a heads up - your post contained some credentials, I’ve gone ahead and edited those out for you
Hi @Edgard_Neto - taking a look at this with my teammate @MutedJam together, neither of us are too sure what you’re trying to do with this workflow. Unfortunately you’ve provided an example we cannot run as it requires external connections and it seems to also pull data from other nodes that do not exist.
Can you please show us some sample JSON data that would be fed into the Code node so we can look at your code with a runnable example? Otherwise we won’t be able to help here.
Hi @Edgard_Neto - I’m not able to run that example you provided in the Google Drive link as it still requires some credentials that we wouldn’t have to run, but I think your images may have highlighted the problem.
Instead of item.json.image1 on lines 8 and 10 in your code node as in your third screenshot, can you try $("Set6").first().json.image1 ? I think that should fix this up
This looks very similar to other issues you have had in the past, Does the Set3 node output an image1 or is this data from a previous node that you want to use?
You did post the images but if you remember from the other issues you can only use item.json.x with data that is in the node directly before the code node and if you wanted to use the image and the output of Set3 you would need to use a merge node linking Set6 and Set3 so that all of the data is available.