You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using zenpy to do an incremental export of Calls enters an infinite loop because the next_page URL for the last page will return a single (the last) Call when requested and return its own URL as next_page, causing zenpy to loop fovever.
Happy to provide more clarifications if the explanation is not sufficient.
Assuming the logic here would be to set a sensible count limit on all requests and break when the return count is less than the set one, as we would be in the last page.
The text was updated successfully, but these errors were encountered:
Using zenpy to do an incremental export of Calls enters an infinite loop because the
next_page
URL for the last page will return a single (the last) Call when requested and return its own URL asnext_page
, causing zenpy to loop fovever.Happy to provide more clarifications if the explanation is not sufficient.
Zendesk recommends using
count
as control for these endpoints:https://developer.zendesk.com/api-reference/voice/talk-api/incremental_exports/#pagination-and-polling
Assuming the logic here would be to set a sensible count limit on all requests and break when the return count is less than the set one, as we would be in the last page.
The text was updated successfully, but these errors were encountered: