CMS Development

TBerg
Membre

Form submission success but "No contact record"

Résolue

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 Votes
1 Solution acceptée
TBerg
Solution
Membre

Form submission success but "No contact record"

Résolue

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

Voir la solution dans l'envoi d'origine

0 Votes
3 Réponses
TBerg
Solution
Membre

Form submission success but "No contact record"

Résolue

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

0 Votes
MinKi
Membre

Form submission success but "No contact record"

Résolue

Hi @TBerg 

 

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

 

Thanks,

Minna

0 Votes
dennisedson
Équipe de développement de HubSpot
Équipe de développement de HubSpot

Form submission success but "No contact record"

Résolue

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 Votes