Hello <@U04S8PLJWMT> is there any change in the Hu...
# ask-ai
k
Hello @kapa.ai is there any change in the Hubspot API that would result in a failure in the connector?
k
Yes, there have been several changes in the HubSpot API that have impacted the Airbyte HubSpot connector and could result in failures: 1. API Key Deprecation: HubSpot has announced the deprecation of API keys, requiring users to switch to Private Apps for authentication. If you continue using API keys after the sunset date, the connector will fail to authenticate and sync data. You should update your connector settings to use Private App credentials instead of API keys to avoid failures. More details can be found in the [forum discussion](https://discuss.airbyte.io/t/3018). 2. Request URI Too Large: When syncing objects with a large number of properties (columns), the HubSpot API can return a "414 Request-URI Too Large" error. This happens because the API cannot handle requests with too many fields specified in the URL. The workaround is to reduce the number of fields requested or batch them, but this limitation is due to the HubSpot API itself and has caused connector failures for users with many properties in their HubSpot instance. See the [GitHub issue](https://github.com/airbytehq/airbyte/issues/33976) and [forum post](https://discuss.airbyte.io/t/59). 3. Bulk Updates and Infinite Loops: HubSpot has made changes where bulk updates can set the same last modified timestamp for many records. This can cause the Airbyte connector to enter an infinite loop during syncs, especially when more than 10,000 records share the same timestamp, due to the way pagination is handled. This is discussed in the [GitHub issue](https://github.com/airbytehq/airbyte/issues/43317). 4. Authentication Token Expiry: For large accounts, the OAuth token used by the connector can expire mid-sync, especially when syncing associations in the Contacts stream. This results in 401 Unauthorized errors and failed syncs. The issue is more likely to occur as sync times increase with larger datasets. See the [GitHub issue](https://github.com/airbytehq/airbyte/issues/62467). 5. API Endpoint Deprecations: HubSpot has deprecated certain API endpoints (e.g., V1 REST API for some contact-related streams). This has led to the removal or modification of affected streams in the connector, requiring users to refresh schemas and reset data. Details are available in the [HubSpot migration guide](https://docs.airbyte.com/integrations/sources/hubspot-migrations#hubspot-migration-guide). In summary, several HubSpot API changes—such as authentication method updates, endpoint deprecations, and API limitations—can cause failures in the Airbyte HubSpot connector if not addressed. If you are experiencing failures, reviewing recent HubSpot API changes and updating your connector configuration accordingly is recommended.
k
cc @Gaëtan Manchon
g
@kapa.ai the solution was to update the hubspot connector from 5.2.0 to 5.8.12
👍 1
k
A message from kapa.ai
Yes, updating the HubSpot connector from version 5.2.0 to 5.8.12 addresses several issues that were present in earlier versions. For example, there were known problems with infinite loops and data duplication in streams like line_item, goals, tickets, and contacts starting from version 5.4.0, which were fixed in later releases (notably in 5.8.6 and 5.8.7) by correcting pagination and duplication logic. Users confirmed that after updating to these newer versions, the sync issues were resolved and the connector worked as expected. Therefore, upgrading to 5.8.12 is a recommended solution for such failures and ensures you benefit from the latest bug fixes and improvements in the connector[Github Issue: line_item table sync never completes](https://github.com/airbytehq/airbyte/issues/61352).