Describe the problem/error/question
the split in batches finished the loop before all the input item depleted
eg. input->split in batch(split by 1)-> and it finish the loop on counter 42
it is quite weird and I am not able to figure out why
What is the error message (if any)?
Please share your workflow
Share the output returned by the last node
Information on your n8n setup
n8n version: 1.8.2
Database (default: SQLite): sqlite
n8n EXECUTIONS_PROCESS setting (default: own, main): main
Running n8n via (Docker, npm, n8n cloud, desktop app): docker
Operating system: linux
I Suspect one of the nodes in the loop didnt return any items, this would also stop the flow from executing further.
the Done output doesnt seem to have any output (see grey line there)
But cannot see the rest of the nodes so only know github is returning all items sofar.
If this doesnt help you yet, please post a screenshot of the execution of the complete flow when it stops.
Agree with @BramKn ! Think that is the problem. The simplest potential solution would be activating the setting “Always Output Data” on that node. If it is the last one before the loop ends no changes on the workflow should be needed. If not you potentially need an IF-Node to bypass other nodes.
thanks much @BramKn @jan, with your inputs I figure out the cause for early return:
in the loop I have a github node to get file from a repo. and it fails whenever file name contains a “?”, even though I checked “continue on fail” it doesn’t seem to help.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.