I have a custom form which makes a POST request to
/form/v2/:portal_id/:form_guid with the proper tracking ID and data provided. The expectation is that I can subsequently make a GET request to
/contacts/v1/contact/utk/:contact_utk/profile and have
is-contact equal to true.
This is how my custom integration works 95% of the time. After the POST to the proper form is made, my script initially had a 5 second sleep timer in it. I have spoken to a HubSpot developer through the support ticketing, and they told me that could be too small of a delay. I have now set it to 10 seconds, per their recommendation.
The problem is that
is-contact returns empty or
false a small percentage of the time. I have been able to replicate it only a few times, but there are others who report the issue.
- Form is submitted
- POST /form/v2/:portal_id/:form_guid
- Response body is empty (expected result, I believe) and 204 (successful) HTTP response code
- (script sleeps for 10 seconds)
- GET /contacts/v1/contact/vid/:vid/profile
- Response body (is-contact is empty or
false) and a 200 (successful) HTTP response come back
Has anyone else experienced this before? Like I said, it works flawlessly almost always; however, sometimes it appears to fail.