Describe the issue/error/question
I would like to iterate through pages of this api.
What is the error message (if any)?
I´m stuck at page 1 with the iterator node, even though manually I´m able to call page 2 etc
Please share the workflow
Share the output returned by the last node
Information on your n8n setup
- **n8n version:latest Desktop 199
- **Database you’re using (default: SQLite):Sqlite
- Running n8n with the execution process [own(default), main]:
- Running n8n via [npm, desktop app]:
Hi @Kool_Baudrillard, the Iterator node isn’t a default n8n node but a community node built by @BramKn. Perhaps he can help with this?
It can be a bit annoying to set the node correctly, sorry for that.
Can you please post the config of your iterator node? I cannot see it here and when I copy the node it doesn’t seem right vs what you say you are trying to do.
@MutedJam thanks for the headsup
this is the setup of the node:
yeah thats what I saw. Can you give a screenshot?
Hi this is how it basically looks
Ok so this is an easy one.
Your pages are set to a size 10.
And you set the incrementor to expect 10k records.
So it thinks the looping is done because 10 < 10k
yes, but after the second iteration it stops, even if I set it too 100 = 100.
Thats because the iterator only receives 1 item. You need to split the items to show the iterator how many you received.
Or simply place the MYSQL after the iterator. As I see you are doing a HTTP and insert. This is causing the issue with the items.
can also set it to expect 1 item, but that would give ya an infinite loop.
If the API in that HTTP can return some kind of flag that shows you if there is items left you can use that as well. but you’ll need to check if that is an option.
it works! Thx, more a brain bug than a software bug