When processing a few hundred HTTP request in a loop, the workflow shows the “workflow completed successfully” message, but it hasn’t processed all items in the loop.
What is the error message (if any)?
None, but you can see from the screenshot, it was in the middle of item number 220, but stopped at 219 on a code node..
the code node didnt return anything. (probably because you tell it not to in your code)
And therefor the merge node didnt merge anything and the flow stopped. You need to make sure it always returns data in the end to start the next iteration of the loop.
I always put everything inside the loop in a subflow. With the execute workflow node you can set it to always return an item to make sure the loop does not stop.
(next to other benefits of having it in a subflow)