I’m splitting an array of objects and then accessing their properties in a set node. However, some of those objects lack a property x. I’ve tried using a ternary operator as $(‘Item Lists’).item.json.property ? $(‘Item Lists’).item.json.property : 0 but it stills returns the ‘no data found for item-index: n’ error. Any way to bypass this error within an expression?
Unfortunately you didn’t share an example dataset and workflow to test this first hand. Perhaps you can share a workflow using which your problem can be reproduced so we can help coming up with a solution here?