APIs & Integrations

DCorrea
Membre

Newly created contact not returning (contact does not exist)

Résolue

Hi, the application I'm working on submits a form (https://api.hsforms.com/submissions/v3/integration/submit) and right after that it tries to get information for the newly created contact (https://api.hubapi.com/contacts/v1/contact/email/{email}/profile?hapikey={apiKey}). It usually works, but sometimes I get a "contact does not exist" message. When I find this message in the logs, I manually check the contact, and it's there, and I can successfully retrieve the information using the API.

 

So my question is: is it "expected" that Hubspot may need a second or 2 (or more) to be able to retrieve a contact created via a form submission? Maybe when the form API returns, it's still executing something asynchronously.

0 Votes
1 Solution acceptée
dennisedson
Solution
Équipe de développement de HubSpot
Équipe de développement de HubSpot

Newly created contact not returning (contact does not exist)

Résolue

Hey @DCorrea 

Although it should be pretty quick, it will have to go through a dedupe process.  That might be what you are experiencing 🤔

Voir la solution dans l'envoi d'origine

2 Réponses
dennisedson
Équipe de développement de HubSpot
Équipe de développement de HubSpot

Newly created contact not returning (contact does not exist)

Résolue

Just a little follow up as I just saw something else with the same type of question.

Just going to quote directly

It should be within a couple of minutes. It’s hard to be specific because it’s possible there was a lot of import activity just prior that could back up indexing. I’ve seen it be as high as 30 minutes, but generally it’s under a minute.

 

Hope that gives  more complete answer

0 Votes
dennisedson
Solution
Équipe de développement de HubSpot
Équipe de développement de HubSpot

Newly created contact not returning (contact does not exist)

Résolue

Hey @DCorrea 

Although it should be pretty quick, it will have to go through a dedupe process.  That might be what you are experiencing 🤔