Api 2023-10 next_items_page infinity loop, BUG?

hi
i’m runnung query

query{
boards (ids:2724446259) {
items_page (limit: 100){
cursor
items {
id
name
column_values {
id
value
}
}
}
}
}

receining response with cursor key

and then running
second_query:
query{
next_items_page (limit:100, cursor: “MSwyNzI0NDQ2MjU5LHlWRll4VFk1UEpXQXdEQngwM3FTSCwyMzMsMTAwLHwyMzAxNzkxMjkw”){
cursor
items {
id
name
column_values {
id
value
}
}
}
}

second query enter into infinity loop
i’m receiving always same response

its a dead loop
when number of items more than 2 pages
even on small page
10 items total
first query limit = 1
next query item = 1
response looped

Are you using the new cursor returned in the next_items_page response for your third query?

yes i’m extracting new cursor value
BUT as i mentioned it always retuns same
you can try with playground
just set for example limit = 1
and you will see that from second page result(and cursor) always same

1 Like

image

looped…

sorry looks like its a mistake in my code.
closed

I was gonna say I cannot reproduce it!

1 Like

yes, sorry i’ve found a mistake in my code.