Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

Google reCaptcha - form submission failure

Posted on by
Hi,
 
I've tried to integrate google recaptcha to my form. I've followed all instructions given in here. When I try to submit the form, the form submission fails. Web page inspection gave the following info: /errorMessage: /Required params cannot be null or empty ms_captcha_solution : , ms_captcha_type : , ms_captcha_flow_id : /. Same error comes with V2 invisible, V2 checkbox and V3.
 
Is there something missing in the instructions or does the default captcha solution require disabling? What could be the issue in this? I've now tried almost everything that comes to my mind with this.
  • AziWish Profile Picture
    AziWish 6 on at
    Google reCaptcha - form submission failure
    Hi,
     
    I followed all of the instructions but couldn't implement them because before I registered my plugin when I put in a new captcha like friendly captcha, it faced this error: Message: Error while trying to get the assembly Microsoft.Dynamics.Cxp.FormsReCaptcha.Plugins, Version=1.0.0.0, Culture=neutral
     
    Any ideas about this issue?
  • SG-12071144-0 Profile Picture
    SG-12071144-0 3 on at
    Google reCaptcha - form submission failure
    Hello,
    I have followed all the instructions in the doucment and also written a plugin code.
    But the form submission fails. In the network tab of developer tools it shows 500 internal server error.
    i dont see div tag automatically renderding a value.
    Any ideas on this issue?
  • Dengliang Li Profile Picture
    Dengliang Li Microsoft Employee on at
    Google reCaptcha - form submission failure
    Hi,
     
    Has the issue been solved?
    Have there been any updates? Please feel free to ask me if you have any questions!
    If it has been resolved, can you mark the response as an answer?
     
  • Suggested answer
    Dengliang Li Profile Picture
    Dengliang Li Microsoft Employee on at
    Google reCaptcha - form submission failure
    Hi,
     
    I encountered the same problem as you in my testing.

    According to a screenshot from the official documentation.
    https://learn.microsoft.com/en-us/dynamics365/customer-insights/journeys/real-time-marketing-form-custom-captcha#2-add-the-captcha-text-value-to-the-form-submission
    Once the form is submitted, the g-recaptcha-response parameter is added automatically to the form submission.
    However, creating fields in the contact entity will have a prefix. It is not possible to create a field as shown in the image.
     

     
    This could be the cause of the error.
     
    You can follow the documentation's instructions to build a plugin that hides the value of this parameter so that the form can be submitted successfully.
    https://learn.microsoft.com/en-us/dynamics365/customer-insights/journeys/real-time-marketing-form-custom-captcha#3-create-a-plugin
     
     
    If my answer was helpful, please click Like, and if it solved your problem, please mark it as verified to help other community members find more.
    If you have further questions, please feel free to contact me .
     
    Best Regards,
    Dengliang Li
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans