Hi,
Our company has created a third party hubspot app and it is used by our customers to enrich their contact data with data from our system and other data that we collect.
We try to match a contact based on information from our system and if we can’t find a contact, we create a new one in the hubspot account of our customers and add data from our system to it.
We also collect the hubspotutk cookie from the website visitors of our customer and we try to add data from that cookie to the contact the we have matched or created.
We do this by finding the contact that is associated with the hubspotutk cookie and then we merge it with the contact that we have created or matched.
We use the following endpoints for the process that is described above:
- /contacts/v1/contact/utk/{$utk}/profile
- /contacts/v1/search/query’
- /submissions/v3/integration/submit/{$portal_id}/{$form_guid}
- /contacts/v1/contact/merge-vids/{$id}
- /contacts/v1/contact (to create a new contact)
For one of our customers it seems that it is not possible to merge contacts. We keep gettiing the error following error: ‘vid to merge is not a valid contact or is already in the process of being merged’.
Also here is a correlation ID for a request that got the above error response: ‘a6c7ddef-888d-4035-a0a5-7f3530fe896b’
Can someone help me to find out what the problem is?