Infinite loop

Hello!!!
I have a server with 1GB of RAM and there I deployed n8n with Docker. Every time I run a sequence of more than 10 rows in a csv, the sequence goes into an infinite loop at one of the nodes. Could you help me with this?


This is the flow

By looking at your screenshot. The link back to Right End Merge node (with Append Label) to SplitInBatches is causing the loop.

Means, Once it hits the merge it’s looping back again and again

What exactly you’re trying to achieve?

2 Likes

I’m trying to see if there are words within a website and return an answer of whether these words are there or not.

You might have to add some sort of check that breaks the loop. You can check if the $runIndex equals the length of items returned by the Spreadsheet File node and break the loop if it >= the length.

1 Like

It’s curious! I already tried to do that, apparently it is a problem in the HTTP request node.
I’m still reading the documentation to see if it’s something I’ve overlooked.
Thanks

1 Like

Hey @rogelio94,

Did you solve the issue?
I found this example workflow that might be helpful: https://n8n.io/workflows/995

Thanks, great job :vulcan_salute:

1 Like