Hubspot Contact API - Contact Does Not Exist

contacts

#1

Hi there!! I am trying to retrieve contact data from my main hubspot account via hubspot api.But everytime I try it throws an error saying the contact does not exist.
I have integrated the app with my main hubspot account. I have existing contacts in my main account. When I try to call the API, it returns the error:
API used:
https://api.hubapi.com/contacts/v1/contact/email/(email-id-of-my-contact)/profile?hapikey=(my-app-hapikey)
Result:
{
“status”: “error”,
“message”: “contact does not exist”,
“correlationId”: (some-hashed-value),
“requestId”: (some-hashed-value)
}
Does anyone know how to resolve this issue?


#2

@rogerganga Can you email me your portal id and the email address you are trying to pull? I will see if I can recreate it on my end.

pmanca@hubspot.com

thanks!