Unrecognized error: account_upsert_failed

I want pushing apollo contacts to hubspot crm but I got error

the error is Partial Success Succesfully pushed 1 Contacts to HubSpot. Encountered errors with pushing Contact. Unrecognized error: account_upsert_failed. Facing this problem since last week. so please give solution.

Hi, @iobulamma :waving_hand: Welcome to our community.

It looks like you are using a 3rd party app, integration, or connector. Is that correct? If so, you’ll need to reach out to the creator for specific support and troubleshooting.

If you are using the Apollo connector that is available in the HubSpot App Marketplace — HubSpot Data Enrichment, for example, here are the support channels Apollo.io provides:

Best,

Jaycee

Did you manage to resolve this error? We are experiencing the samd issues

The “Unrecognized error: account_upsert_failed” typically occurs when there’s a problem during the process of updating or creating records (often referred to as “upserting”) in the target system, which in this case would be HubSpot. Here’s what you can do to troubleshoot and resolve this issue:

1. Check Data Integrity:

  • Invalid Data: Ensure that the data being synced from Apollo to HubSpot, particularly account-related data, meets HubSpot’s requirements. Invalid data, such as improperly formatted email addresses or phone numbers, can cause an upsert to fail.
  • Duplicates: Check if there are duplicates or conflicts in the data that could be causing issues during the upsert process.

2. Field Mapping Issues:

  • Account Mapping: Double-check that the account fields in Apollo are correctly mapped to the corresponding fields in HubSpot. A mismatch in required fields could cause an upsert failure.
  • Required Fields: Make sure all required fields in HubSpot are being populated during the upsert process. Missing required fields will prevent the account from being successfully updated or created.

3. API Limits or Errors:

  • API Rate Limits: Ensure that you’re not exceeding HubSpot’s API rate limits, which could cause upsert operations to fail intermittently.
  • API Keys/Token Issues: Check if there’s an issue with the API keys or tokens used for the integration. Invalid or expired tokens can lead to errors during the upsert process.

4. Integration Settings:

  • Sync Settings: Review the sync settings in Apollo and HubSpot to ensure that the upsert operation is configured correctly. Sometimes, the settings might restrict certain operations, leading to failures.
  • Error Logs: Look at the detailed error logs provided by the integration tool. These logs might offer more specific information about why the upsert failed.

Most likely, when mapping fields between Apollo and HubSpot, you mapped an Apollo field, against a HubSpot field which is a dropdown. In my case it was Industry, on Companies. Be mindful that you need to review BOTH Account and Contact fields. To stay out of trouble, i recommend mapping only against Single Text and Numeric fields from HubSpot.