CMS Development

TBerg
Mitglied

Form submission success but "No contact record"

lösung

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 Akzeptierte Lösung
TBerg
Lösung
Mitglied

Form submission success but "No contact record"

lösung

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

Lösung in ursprünglichem Beitrag anzeigen

0 Upvotes
3 Antworten
TBerg
Lösung
Mitglied

Form submission success but "No contact record"

lösung

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

0 Upvotes
MinKi
Mitglied

Form submission success but "No contact record"

lösung

Hi @TBerg 

 

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

 

Thanks,

Minna

0 Upvotes
dennisedson
HubSpot-Produktteam
HubSpot-Produktteam

Form submission success but "No contact record"

lösung

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