CMS Development

TBerg
Member

Form submission success but "No contact record"

SOLVE

I'm using this drupal module (https://www.drupal.org/project/hubspot) on a website to link a simple webform (just an email field) submission to a Hubspot form (also just an email field) . It goes through successfully but no contact record is created.

 

Just to be sure its getting through, I tried it with custom text fields (like "Email Address", or "ASDF") and they work just fine...but there is something special it seems about the hubspot default email field.

 

Additional Info

The drupal module is using hubspot api v2 and is authenticating via an App I created with the following scopes: contacts, forms, oauth

 

Here is a screenshot of the values right before they are sent: 

api_post.png

The "email_address" field makes it through to the custom "Email Address" field in hubspot. But "email" just gets dropped it seems. * I have tried using real email addresses as well...in case it was silently dropping them bc it thought they were spam or whatever.

 

Similar ticket that was never really resolved:
https://community.hubspot.com/t5/APIs-Integrations/Form-submission-success-but-there-is-quot-No-cont...

 

If I submit the from hubspot (https://share.hsforms.com/16kWMmEIgRnOLaiUZdOCMAg2tbwm) the email field works and a contact is created.

Of course, the form on hubspot is using api v3...so not quite the same scenario.

 

Any thoughts?

 

My portal ID: 4727686
Form ID: ea458c98-4220-4673-8b6a-251974e08c02

 

0 Upvotes
1 Accepted solution
TBerg
Solution
Member

Form submission success but "No contact record"

SOLVE

The email address was being url encoded...I think Hubspot was seeing it as invalid. Disabling the encoding fixed it.

View solution in original post

0 Upvotes
3 Replies 3
TBerg
Solution
Member

Form submission success but "No contact record"

SOLVE

The email address was being url encoded...I think Hubspot was seeing it as invalid. Disabling the encoding fixed it.

0 Upvotes
MinKi
Member

Form submission success but "No contact record"

SOLVE

Hi @TBerg 

 

I'm having exactly same problem. How do you disable the encoding?

 

Thanks,

Minna

0 Upvotes
dennisedson
HubSpot Product Team
HubSpot Product Team

Form submission success but "No contact record"

SOLVE

Hey @TBerg 

Any errors in the console? 

Looked at the form and I saw a couple with an email attached from this afternoon.  Is it working now?

@tjoyce any experience with Drupal + HubSpot

0 Upvotes