Issue splitting items

Hello,

I am wondering what’s wrong.
In the cloud version of N8N, I’m having issues splitting this list as items.
Here is the error I get:

My input is quite large.
Here is the workflow:

Thank you for your help!
Joachim

Ooooh, my brain was not connected properly.
Solved:

3 Likes

Hey @Joachim_Brindeau. The issue is on the input data that you are passing to the list node.

You are trying to pass {{$json.results}} which isn’t valid (double-check the output of the HTTP node, and you will see why).

Basically, you are passing an array of objects that is inside another array:
[[{“siren”: null},{“siren”: “000000000”},{“siren”: “000154652”},{“siren”: “005720784”},{“siren”: “006380042”},{“siren”: “006780514”},{“siren”: “007080773”},{“siren”: “015551278”},{“siren”: “016250029”},{“siren”: “016650996”},{“siren”: “016950545”},{“siren”: “016980062”},{“siren”: “017050410”},{“siren”: “017251067”},{“siren”: “025680471”},{“siren”: “025750084”},{“siren”: “025980186”},{“siren”: “026320028”},{“siren”: “026550095”},{“siren”: “027320134”}… etc]]

But you should pass the container array.

So your input should be “results”:

4 Likes

Sorry about that! I found that out a few minutes before you posted and it works. :slight_smile:
Thank you very much for taking the time to write this answer!

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.