Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incremental calls export results in infinite loop #489

Open
tomaspinho opened this issue Oct 12, 2021 · 2 comments
Open

Incremental calls export results in infinite loop #489

tomaspinho opened this issue Oct 12, 2021 · 2 comments

Comments

@tomaspinho
Copy link

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.

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.

@dolbinskaBW
Copy link

Hi, are there any updates on this issue? 🙇

@elenavelteremote
Copy link

Yes please, looking forward to have an update on this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants