Our Help Center is moving!

We'll update this banner in the coming weeks to direct you to our new Help Center once it's live. If you require any assistance or have any questions during this period, please email support@7pace.com.

Pagination errors with REST API 3.2

Officially Answered

Comments

3 comments

  • Avatar
    Vanja Pletikosić

    Hello Frederic,

    Thank you for reaching out to us.
    You will need to specify a value for the $skip command, even if it is to skip zero.
    So when using both $count and $skip, the $count command determines how many rows your query will fetch, and the $skip command determines how many will be skipped before they are fetched.
    So if you are using $count=200, you should use $skip=0 in the first query. Then your second query should have ($count=200, $skip=200), and your third query should have ($count=200,$skip=400).

    Please let me know if this helps.

    Best regards,
    Vanja

    0
    Comment actions Permalink
  • Avatar
    Frederic Le Bars

    Hello,

    that is exactly what I am doing:

    After some analyzis, I found that the error occurs after a $skip=1200. there are around 20 results duplicated with the $skip=1000.

     

    Best regards,

    Frédéric

    0
    Comment actions Permalink
  • Avatar
    Vanja Pletikosić

    Hi Frederic,

    I have created ticket #60799 for us to further troubleshoot this. Let's continue our communication there.

    Best regards,
    Vanja

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk