saaah
May 2, 2025, 6:53pm
1
My workflow:
I’ve also tried adding the pagina param as a query param, but didn’t work also.
At some point, the node will throw the error The returned response was identical 5x, so requests got stopped . The API that I’m using returns “data”: [ㅤㅤㅤ] when there’s no data in the page:
I had previously written in python using request and it worked:
But I’d like to do the same in n8n. How to make it work?
saaah
May 2, 2025, 7:00pm
2
elif y['data'] == 0
should have been
elif y['data'] == ""
But that doesn’t change our case here lol.
saaah
May 2, 2025, 9:39pm
3
I think it’s solved, used {{ $response.body.data.length === 0 }}. Running more tests to confirm.
system
Closed
July 31, 2025, 9:39pm
4
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.