Wordpress Error: The key type is invalid

Wordpress Error: The key type is invalid

It is possible that, when trying to access WordPress, you may encounter an error like the one shown in the following image:


 If you have installed the reCAPTCHA plugin on your WordPress website and you are seeing the error "Error for site owner: invalid key type" when trying to access your site, it is likely due to one of the following two reasons:
 
You have entered the wrong reCAPTCHA keys: Make sure you have correctly entered the reCAPTCHA keys in the plugin settings on your website. To verify the keys, go to the reCAPTCHA settings page in the Google Admin Console and ensure that the keys were generated correctly.
 
You have configured the wrong reCAPTCHA type: You may have selected a reCAPTCHA type that does not match the type of key you generated. For example, if you generated a reCAPTCHA v2 key but configured the plugin to use Invisible reCAPTCHA, this error may occur.
 
To resolve the issue, review the keys and the reCAPTCHA type settings in the Google Admin Console and make sure they match the plugin configuration in your WordPress site.
 
In the Google Admin Console, you must generate the appropriate reCAPTCHA type (v2/v3), and it must match the reCAPTCHA type configured in your WordPress plugin. Below are two images showing the panels of both platforms:
 
Configure the reCAPTCHA type in the Google Admin Console:

 
Configure the reCAPTCHA type in the WordPress plugin settings:


We also provide a guide on  How to install reCAPTCHA in WordPress  if you have not activated it yet.
 
If everything is configured correctly and you still see the error, try temporarily disabling the reCAPTCHA plugin to check whether the error disappears. If it does, there may be an issue with the plugin, and you should seek assistance from the plugin’s technical support or a WordPress professional.  Disable WordPress plugins via FTP
    • Related Articles

    • SSH key update

      This guide describes how to remove warnings that may appear when trying to connect to your domain/web server through SSH. The warning referred to in this guide is the "host key mismatch". It should look similar to the following: ...
    • Wordpress Error: It was not possible to create the directory

      It is possible that if changes have been made to the WordPress configuration, you may at some point receive a message like this when trying to install a new theme or update a plugin: This means that WordPress is not connecting to the directory ...
    • How to install a reCaptcha in Wordpress

      When installing WordPress, you may receive spam through comments or contact forms. To prevent this and avoid negative SEO impact caused by mass spam, there are tools that can significantly increase security and reduce unwanted submissions. A CAPTCHA ...
    • Plugins to increase the security of our Wordpress

      Many plugins/themes and even outdated versions of WordPress may contain security vulnerabilities in their own code, which can allow malicious code to be injected into WordPress files. You can significantly increase your WordPress security by ...
    • How to set up Sucuri plugin for Wordpress

      Sucuri is a powerful security plugin specifically designed for WordPress websites. It provides comprehensive protection against online threats such as malware, brute-force attacks, code injection, and more. Additionally, it includes a Web Application ...