Form Submission with Power Automate creates only errors
Hi,
I try to submit data to a HubSpot form through Power Automate. I use a HTTP Post function, using this URI https://api.hsforms.com/submissions/v3/integration/submit/:portalId/:formGuid (with my portal and form ID). It has been working last week, now I suddenly get the following error: Invalid input JSON on line 1, column 1: Cannot construct instance of `com.hubspot.formsubmission.core.models.PublicApiFormSubmissionRequest$Json` (although at least one Creator exists): no String-argument constructor/factory method to deserialize from String value ('fields').
The JSON body looks like this "fields": [ { "objectTypeId": "0-1", "name": "email", "value": "@{triggerBody()?['entity']?['email']}" }, { "objectTypeId": "0-1", "name": "salutation", "value": "@{triggerBody()?['entity']?['salutation']}" },.....
a month ago
- last edited
a month ago
by PamCotton
Member
Form Submission with Power Automate creates only errors
I’m also encountering this issue when trying to submit data to a HubSpot form via Power Automate. The error message about invalid JSON format on line 1 has been a blocker for me too, even though it was working previously.
Form Submission with Power Automate creates only errors
Hi, @Harling👋 Thanks for including those details in your post. Interpreting Power Automate errors can be a bit tricky. Not impossible, but challenging. I'd like to invite a mix of community members to the conversation who have posted or answered Power Automate questions — hey @coldrickjack@AKhan786@NThoman@SWesthagenhave you run into this situation?