Possible bug in RemoveDuplicates:Itemlist

Hi

I’ve got a huge list of values and I think this operation breaks when there are empty values (n8n Version: 0.191.0):

NodeOperationError: 'url' field is missing from some input items
    at Object.execute (/app/code/node_modules/n8n-nodes-base/dist/nodes/ItemLists/ItemLists.node.js:1104:35)
    at Workflow.runNode (/app/code/node_modules/n8n-workflow/dist/src/Workflow.js:598:51)
    at /app/code/node_modules/n8n-core/dist/src/WorkflowExecute.js:557:68
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

Hey @systemaddict,

I am not sure if that is a bug or intentional I will need to check.

What I would do for now is put an if node before it and check for empty values before hitting the item lists node.

3 Likes