ERROR: Inconsistent item format

Hi EH,
Good news! I’ve got this working. It would be nice if you could tell me why this works, because I honestly don’t know.
I’ve altered the javascript to this:

for (const item of $input.all()) {
delete item.binary;
}

return $input.all();

and deleting the whole binary property, rather than the data key within, has got it going again.

Would love your comment,

Many thanks, Dan

2 Likes