HTTP node misses the JSON payload for 2nd iteration

Hi @physx911, seeing you have more than one item on your HTTP Request node but only one item on the clean data node you’re referencing in your expression will lead to the following behaviour:

  • For the first item arriving on the HTTP Request node, n8n will look up the first item on the clean data node which works fine
  • For the second item arriving on the HTTP Request node, n8n will look up the second item on the clean data node which doesn’t exist

So, what you most likely want here is have n8n always look up the first item from the clean data node. You could use an expression such as {{ $("clean data").first().json.clientName }} for this one ($(“<node-name>”).first() in our docs).

Let me know if you run into any trouble with this!

3 Likes