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

source-hubspot-native: detect cycles when using search API and break out #2100

Open
williamhbaker opened this issue Oct 29, 2024 · 0 comments

Comments

@williamhbaker
Copy link
Member

The hubspot v3 search API has a limit of 10,000 items it can return, and we must use the last modified date as a cursor.

If there are more than 10,000 records with the exact same last modified date, this can lead to an endless loop. We should detect these cases and break out of the loop by restricting the search to that date, and then sorting by id.

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

1 participant