When you set the Google Recaptcha key in WordPress, the "Website owner error: Invalid key type" issue may appear. If you want to find some solutions, this post is what you need. This post from MiniTool provides a full guide for you.
Sometimes, you may encounter the “error for site owner: invalid key type” issue. What causes this issue? There are 2 main reasons – the wrong ReCaptcha type and the domain name problem. Next, let’s see how to fix the “error for site owner: invalid domain for site key” issue.
Also see: Fixed: Google Chrome ReCAPTCHA Not Working (2021 Update)
Fix 1: Downgrade to ReCaptcha V2 Key
Most popular web frameworks currently do not support V3 keys, so the first method for you to fix the “error for site owner: invalid key type” issue is to downgrade to the Recaptcha V2 key. Now, let’s see how to do that:
Step 1: Launch WordPress and navigate to the Manage part.
Step 2: Select Contact Form 7 and Integrations, then, remove the API keys.
Step 3: Next, click Plugins to select the Add Plugin option.
Step 4: Find Invisible ReCaptcha For WordPress, and then install and activate it.
Step 5: Now, go to the ReCaptcha Admin account, choose ReCaptcha v2 (Invisible) and generate new keys. Then, you will receive the site key and secret key when you finish the form.
Step 6: Copy the site key to the clipboard, open WordPress again, and go to Admin -> Settings -> Invisible ReCaptcha.
Step 7: In the Site Key field, paste the site key you copied earlier, and then go back again to copy the Secret Key. Then paste the secret key into the secret key field.
Step 8: Select the Save option, then go to the Contact Form tab, then check the Enable Protection for Contact Form 7 option here, and then click the Save Changes option.
Fix 2: Verify Domain Name
You should make sure that your website exists and is the same as the domain name registered for ReCaptcha, and whether it has been added to the domain name section of the Google ReCaptcha page.
You can verify by first selecting Plugins and then clicking Settings under WP-ReCaptcha options. Here, you need to enter the site key and secret key, and finally click Save ReCaptcha changes.
Fix 3: Edit the Database
If the configuration is set so that the site administrator must also enable the verification code option to log in to the site, and now they encounter the same error message, then you need to make some changes in the database.
You only need to disable this option, but before doing so, make sure you have composed a backup. Run the following command in the database to globally disable the verification code: Update tblconfiguration SET value =” where setting =’CaptchaSetting’;
Then, check if the “error for site owner: invalid domain for site key” issue has gone.
Fix 4: Contact Support
If all of the solutions are not working, you should try to contact support. Wait for a while until you receive your reply, and then follow the guide given by the support. At last, check if the “error for site owner: invalid key type” problem is resolved.
Final Words
After reading this post, you should know how to fix the error for site owner invalid key type. If you encounter some related issues, you can let us know in the comments. We will reply to you as soon as possible.