Captcha don't work

1 reply · opened Mar 28, 2022

JjdburMar 28, 2022

I have a working well contact form.
I want to add a captcha on it. reCaptcha v2.
I have the 2 keys from the Google site. The name of the site is correct on the captcha parameters.
The captcha is displayed, but indicating: "Error for the site owner: the site key is invalid".
I'm sure it's the right key (site key).
On the form:
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
<div class="g-recaptcha" data-sitekey="6Lck9LIUAAAAAI8gb0AbPTJEjGLEOlV4WGQKZ7RP"></div>

This captcha was working on a old version of this site until yesterday, when I put online the new version of the site.

Thank you for your help !
J-D B

SSemicolon WebSTAFFMar 28, 2022

Hello,

Please make sure that the reCaptcha Keys are enabled for your Domain as this particular Error Message is only displayed when the Domain is not included for your reCaptcha Keys. Also consider fixing the HTML Validation errors on your Page: https://validator.w3.org/nu/?doc=https%3A%2F%2Fbonesforlife-leman.ch%2Fcontact.html .

This should definitely fix your issues. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard