Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
caio_caminoski
Creator
Creator

REST Pagination Next Token Problem - Youtube API

Hi there,

I am trying to retrieve some data about youtube videos. The data is pretty basic. I am finding the list I need, however I am having a pagination problem. As I know very little about this topic, I figure I am probably doing sth very stupid.

Here is how I am setting my REST API:

REST Youtube.png

The path for the pagination I found using the following view:

REST Youtube1.png

Any idea on how to set this pagination correctly?

Thank you in advance,

Caio

4 Replies
henrikalmen
Specialist
Specialist

Try unchecking "is header field" next to pagination field names. That seems to do the trick.

caio_caminoski
Creator
Creator
Author

Thank you for the response Henrik. I did try checking all, unchecking all, checking only one, but nothing seems to work.

What I had to do is create a loop calling an url that updates every time with the next page token. But honestly, if there is a native option to do it through the REST connector, I would rather use it.

Even though I could retrieve the data this way, I still have some issues with the data, which I believe is something with the API as I saw more people having the same problem in the internet. What is happening is that after retrieving around 600 rows, it starts bringing empty responses, even though there is still a lot of data to bring. It does not seem to be a cota problem as I have enough "requests available"and I am using a sleep function to avoid overloading them with requests.


Again, I don't know much about this topic, so any help is welcome.


Thank you again, Henrik.


Caio

micheledenardi
Specialist II
Specialist II

Are there any update about this topic ? I've the same issue...

Thanks

Michele De Nardi
If a post helps to resolve your issue, please accept it as a Solution.
SilviyaK
Contributor III
Contributor III

I have a very similar issue here. Do you mind sharing a sample of your loop as it might be beneficial to me as well? 🙂