• Resolved samtarley

    (@samtarley)


    Hello!
    Installed plugin and seems it is working perfect, but getting in console such errors:
    GET https://www.google.com/recaptcha/api.js?render=MY_V2_KEY&ver=3.0 net::ERR_ABORTED 400
    and
    Uncaught (in promise) Error: Invalid site key or not loaded in api.js
    Did i miss something or what? Why it throwing in console this errors?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author IQComputing

    (@iqcomputing)

    Hello,

    Usually we see this kind of issue if the domain is not on the API Key domain list or the key does not belong to a version 2 API. We’ve created an article that walks through how to setup the v2 API key, linked below:

    https://www.iqcomputing.com/support/articles/generate-google-recaptcha-v2-keys/

    Once you’ve verified that your domain is in the key domain list and the keys are ones added to the Integration screen of Contact Form 7, you may need to select the ReCaptcha version as seen on the below screen shot:

    https://ps.w.org/wpcf7-recaptcha/assets/screenshot-1.jpg?rev=2153682

    Finally, we suggest going through the Installation Instructions once more just to make sure nothing was missed or overlooked. We’re always looking for feedback on how to improve our instructions so if anything is unclear or you have any suggestions we’re all ears!

    If you’ve verified all of the above you may need to edit your question above with your website added into the website field ( so that it does not get picked up by bots ) and we can look at the specific form that’s running into issues. Hopefully with the above information you’re able to find what went wrong, where, and why. If not please reply back and we can assist you further. Stay safe and have a wonderful week!

    Thread Starter samtarley

    (@samtarley)

    @iqcomputing thanks! Could it be an issue connected to localhost environment? I’m only testing it on localhost(hostname used there I added to domain list) right now

    Plugin Author IQComputing

    (@iqcomputing)

    Hello,

    Possibly. Depending on how the localhost environment is setup adding the “domain” to the keys acceptable list could be troublesome. How Google interprets a localhost domain can be a mystery.

    https://developers.google.com/recaptcha/docs/faq#im-getting-an-error-localhost-is-not-in-the-list-of-supported-domains.-what-should-i-do

    Maybe 127.0.0.1 in the domain list will work for the key. Maybe if you’re using a Virtual Host you might be able to add that to the domain list. Unfortunately, looking through the Google Support it seems like guesswork and specific to each personal localhost environment.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘still requesting v3’ is closed to new replies.