ivankry
February 27, 2025, 11:33am
1
Describe the problem/error/question
The problem is so: When i give into the cycle two different images, on the output of the cycle node there is the first image for the first run and the second image for the second run, but when I move to the next node there is the first image for both first and second run of the cycle on the input of the node.
Please share your workflow
Cycle node on the output:
First run:
Second run:
Cycle node on the input of the next node:
First run:
Second run:
Information on your n8n setup
n8n version:
1.77.3 (Self Hosted)
Database (default: SQLite): Don’t know
n8n EXECUTIONS_PROCESS setting (default: own, main): Main
Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
Operating system: Windows
Hello @ivankry I think this is likely an issue with binary data handling across Cycle node iterations. Try these fixes:
Add a “No Operation” node immediately after your Cycle node - this resets item structure and often fixes binary data passing issues
Alternative approach - instead of Cycle, try to split it in batches
If you must use Cycle, add this Function node after it:
// Fix binary data reference
return {
json: $input.item.json,
binary: $input.item.binary
};
This issue happens because binary data references can get mixed up when passing through the Cycle node’s iterations.
system
Closed
May 29, 2025, 10:33am
3
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.