Update to recaptcha V3: Invalid key or site key not loaded in api.js Error, Cannot submit form

4,917 views
Skip to first unread message

Gordon Abbotts

unread,
Feb 11, 2019, 7:46:33 PM2/11/19
to reCAPTCHA
Hi there,

I've been experiencing a problem with reCAPTCHA V3.

I admin many websites, mostly WordPress and generally use Contact Form 7 for forms on the sites, and up until Friday last week I have managed to update each one to using CF7.5.1 & reCAPTCHA V3 with no problems at all.
On Friday, I did the same process only to find a error in the console which prevents the form from sending at all.

recaptcha__en.js:516 Uncaught Error: Invalid site key or not loaded in api.js: xxxxxxXXXXXXxxxxxx
    at Object.mn [as execute] (recaptcha__en.js:516)
    at execute ((index):252)
    at Qt (recaptcha__en.js:509)
    at ez (recaptcha__en.js:503)
    at recaptcha__en.js:518
    at recaptcha__en.js:537

 The Site Key and secret keys have been regenerated numerous times and are 100% correct, the domain names have been added and I cannot see (or find on the internet) any reason why it isn't working.

The issue is not WordPress and Contact Form 7, as I have successfully updated installations on the same server already. It's possible it could be a theme conflict and as the author of the theme I'd very much like to see some information as what might need to be changed. 
Anyway after many hours spent fruitlessly searching for a fix, I decided to switch back to contact form 7.5.0 and thus back to V2, had to regenerate some new keys, and now V2 doesn't work either: "Error for site owner: Invalid site key".

As we are at the moment I'm not sure whether this issue has been logged and is being looked at. 
Not very impressed at all.

Gordon Abbotts

unread,
Feb 14, 2019, 2:06:23 PM2/14/19
to reCAPTCHA
OK the problem was that I included the "http://" portion of the domain in the names that were entered, worked straight away when i removed.. 
Reply all
Reply to author
Forward
0 new messages