Contact event incorrectly updating the contact's email address

Hi there,

There was an issue recently reported by a customer where they update the email address of a contact, and when we post an event update to the contact it reverts the email address back to the original value.

The event API method uses the email address as the primary key, and I’m guessing there is a bug around this. The customer’s audit log shows our extension made this change, and we only do the event update. There are direct changes to the contact done with our implementation.

This is the endpoint we are using: https://api.hubapi.com/crm/v3/timeline/events/batch/create

Reference to documentation: Accounts Dashboard | HubSpot

We are going to use the fallback objectId as the identifier for the updates going forward. This post is just to notify the HubSpot team of the bug, and of this solution should anyone else encounter this.

Hey, @RM456 :waving_hand: Thank you very much for sharing this information. And for sharing the workaround. If you have a moment, filing a support ticket for this will be helpful for tracking. I’d phrase it as:

  • this is not a question about your custom code
  • this is a product question
  • you want to know if this is “working as designed but not as we’d expect” or if it’s an issue that needs to be investigated internally.

Best,

Jaycee