Support » Plugin: Contact Form by WPForms - Drag & Drop Form Builder for WordPress » ReCaptcha error: “ERROR for site owner: Invalid site key”

  • Resolved lisadehaan



    I was trying to fix forms of a website that belongs to my student company to avoid spam, and with that I was trying to get the recaptcha v2 key right. But all I got was “ERROR for site owner: Invalid site key”, I even tried to generate new keys and none of it worked. I can’t think of any ‘former’ keys that exist, if that is the reason of this error. I don’t know how to fix this, as I’ve done what other people were recommended to do with an error like this.

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support Ethan Choi


    Hi lisadehaan,

    In cases where we’ve seen this happen when reCAPTCHA keys are correct, the issue is due to adding the http:// or https:// to your domain in Google’s reCAPTCHA account, like this example. In this case, removing the http:// or https:// should resolve the issue. Please see this example for how the domain format should look like in the reCAPTCHA account.

    I hope this helps! 🙂



    Hi @ethanchoi ,
    I had the same problem but now it’s solved. Your solution works very well.
    Thank you very much for your support.



    I’m the site owner and now logging into: domain/wp-login.php I get the dreaded “ERROR for site owner: Invalid site key”.
    I’m unable to login as Admin in order to change the reCaptcha secret and site keys. Any suggestions how I can get to the Admin Dashboard and change the site keys? Perhaps through the database?



    Was able to go to hosting services File Manager and deleted the Google reCapthca from the wp-content/plugins folder. I was then able to log into Admin area.

    Will now review the documentation instructions!!



    Have’s another one for you!
    Was getting the same error messages -“ERROR for site owner: Invalid site key”
    I am sure there are many reasons, but after spending way too many hours changing things, I wondered if I was using the right email address to register for the reCAPTCHA Keys?
    The site had one Email but Google had one with another, ha I said!
    Entered the email associated with the site to setup the reCAPTCHA.
    It worked.
    There may be other reasons, here is one. See if it works for you.



    Thank you @ethanchoi – it worked! I really appreciate your support and assistance.



    WebNut, thank you for your suggestion.

    Thanks to you, I checked and saw I have 2 Google accounts with 2 different email addresses. Although I haven’t quite figured out how to get the correct one working, I now see that the email address/Google account is what’s causing my site key error.

    Now to try and figure out how to get it all working again! Sigh.


    Plugin Support Ethan Choi


    Hi @irenelinda,

    If ever you need more help with using WPForms Lite, please feel free to create a new post in our support forum.

    Thanks 🙂



    Will do. Thanks, Ethan. If I can’t get the site key to work, I will create a new post. I suspect, however, it’s my issue with Google Analytics and not yours with your plugin!


Viewing 9 replies - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.