-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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: Engagements stream rate-limited in incremental sync #26365
Labels
Comments
To be added to the Epic for stream parity |
thank you @nataliekwong for the incredible detail in the ticket. Super helpful. |
Some notes after reading the API docs:
|
@midavadim Is it possible to link the PR to this issue as well? #23630 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Connector Name
source-hubspot
Connector Version
0.2.3
What step the error happened?
During the sync
Revelant information
The Hubspot connector has a stream "Engagements".
That stream erroneously uses this endpoint (https://legacydocs.hubspot.com/docs/methods/engagements/get-recent-engagements) for incremental syncs, which was changed in this PR: #8887. The issue with this approach is that it is rate limited to only 10,000 records.
That means that a user, when selecting an incremental sync mode for this stream, will only receive a maximum of 10,000 records. This problem has been observed here: #23630. This means the user experience differs when selecting Full Refresh or Incremental. This is particularly important for the Engagements stream because it is event-based, which means it contains 1 row per event and is naturally a table with many rows.
The stream can use this endpoint instead: https://legacydocs.hubspot.com/docs/methods/engagements/get-all-engagements. As a result, when syncing incrementally, more than 10,000 records will be synced.
Relevant log output
No response
Contribute
The text was updated successfully, but these errors were encountered: