My scenario only works on row 2 data set in Google sheet. The errors appears in the iterator module when processing any subsequent rows.
It doesn’t matter if I move any later rows, nor copy/paste the contents of any of it to row 2, I get the same error. I don’t think its not a content problem.
The map()function needs a key to properly return the elements you want in the resulting array.
From what I can see, you are building an array of simple strings. As such, why do you even need the map()function? Map is useful for extracting values from complex objects.
Also, get rid of the emptystring as the second parameter of remove(), as it won’t match empty values in the array. Just leave it blank.