Hi,
I have implemented your Hubspot on my website (Wordpress) using PHP and I have a problem with that.
When someones (not always) submit a form then in submissions page there is no contact record. If I click “View submission” then I have “No fields were submitted”. I am sure that from my website you cannot submit a form without data like “First name” or “Last name” so it is almost impossible…
I have used your code from documentation so this should work.
Please help me with that or give me information about what I am doing wrong.
My portal ID: 434319
Form: 828010a8-16f4-4527-9167-184eb1eea453 (BYOS)
Welcome, @mateusz-peczkow.
I haven’t been able to replicate this behavior. Have you in your tests?
I submitted the BYOS form twice and each submission created a new contact. See test 1 and test 2 in your account.
Although these tests wen through successfully, I have little insight into the API calls you’re making to HubSpot from your back end.
Do you have any logs on your end of requests at the same time “No contact record” submissions come through here? If so, I’ll need to see the payloads you are sending.
Welcome, @IsaacTakushi,
Thanks for your reply.
I am also cannot replicate this on the normal way but still, these contacts are appearing in HubSpot dashboard so this is a huge problem.
I don’t have any logs because I am using PHP curl function and only I am able to have a response from your API, and it is always the same. All logs must be stored on your side.
I’ve checked last submissions and always I am getting 204 (from your documentation:204 when the form submissions are successful - https://developers.hubspot.com/docs/methods/forms/submit_form)
) after each submits from the website.
Is there any option to track it better to see what’s going on?
Hi, @mateusz-peczkow.
I used this endpoint to investigate submissions for form 828010a8-16f4-4527-9167-184eb1eea453. I see a number of submissions which do not have any fields:
{
"submittedAt": 1555353301406",
"values": [ ],
"pageUrl": "https://pure-ip.com/uk/integrations/microsoft-teams/?noredirect=en_GB"
}
The v2 Forms API accepts calls which are missing email and other required fields, however it will not create contact records.
Unfortunately, I have no additional insight into what could be causing the behavior you are seeing. The logs show you are sending blankemailarrays to the endpoint.