Skip to main content
Question

Pagination cursor expires after 1 hours even for a new cursor


Forum|alt.badge.img

We are using a tool which has gong integration. This tool make recursive calls for getting call transcripts. Since this is a huge list and also some post processing has to be done on the transcripts.
We noticed that even though we use the updated cursor from our previous response. The new cursor expires after 1 hour to the first request. if though the new cursor was just fetched from the response of the latest call.
For example this is the response from one of the recursive call.

{"requestId":"<request id>","errors":["cursor has expired"]}

Does this mean we need to complete the whole operation within 1 hour?
Expected behavior: cursor should expire after 1 hour since it was last fetched/generated.
PS: we checked the logs and we are sending a new cursor into the next request which we got from the previous one.

2 replies

Molly Kipnis
Forum|alt.badge.img+2
  • Community Manager
  • 619 replies
  • March 6, 2025

Hi ​@Ash Patel! I’m looking into this for you. Thanks for your patience! 


Molly Kipnis
Forum|alt.badge.img+2
  • Community Manager
  • 619 replies
  • April 8, 2025

Hi again ​@Ash Patel — I wanted to follow up here: 

Some API calls that return a list are limited in the amount of records they may return, so multiple API calls may be required to bring all records.

Such an API call also returns a records field, which contains the number of records in the current page, the current page number and the total number of records.In cases where the total number of records exceeds the number of records thus far retrieved, the records field will also contain a cursor field which can be used to access the next page of records.

To retrieve the next page, repeat the API call with the cursor value as supplied by the previous API call. All other request inputs should remain the same.

For more specific help troubleshooting errors, please send your inquiry along with a full example of a call being passed and its return via this form and our Engineering Team will be happy to review!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings
×