Hi I need to loop through elements to perform certain task (create a database page in notion and then create a certain nb of block). But I have ab issue due to the fact that the field to split our is not in the previous node but in the node before (n-2).
If I do this, it works fine :
But if I insert a node in between, it does not work :
I get that error in the Item List node :
1 item
ERROR: Couldn't find the field '[object Object],[object Object]' in the input data
Details
Time
25/05/2023 13:08:48
Item Index: 0
Stack
NodeOperationError: Couldn't find the field '[object Object],[object Object]' in the input data
at Object.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/ItemLists/V1/ItemListsV1.node.js:808:35)
at Workflow.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/Workflow.js:652:51)
at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:592:68
at processTicksAndRejections (node:internal/process/task_queues:96:5)
Thanks for any help.