reCAPTCHA – Incorrect key type Code Answer

Hello Developer, Hope you guys are doing great. Today at Tutorial Guruji Official website, we are sharing the answer of reCAPTCHA – Incorrect key type without wasting too much if your time.

The question is published on by Tutorial Guruji team.

I want to secure the form on my website with a reCAPTCHA script. After adding the script and this window is displayed and in it an error – “Information for the website owner – we detected an Error: incorrect key type”. I will add that the domain is correctly configured and added in the appropriate section of reCAPTCHA. This is a page written on Jekyll and here may be a problem. For the script to work there correctly you need an encrypted private key – and there may be a problem. I tried to generate the key several times but nothing helped – still the same error. I created new V3 keys and checked. But that too didnt work. Any idea on how to solve this problem?

My code:

... form ...
<input type="hidden" name="options[reCaptcha][siteKey]" value="6LfF_7AZAAAAAK796nWHg-K4DkjG_-pnlfEH7Ch0">
<input type="hidden" name="options[reCaptcha][secret]" value="KX02DlLiKdqKkMkyAThrIVhjP9zydIZ/KC0copPjpdkkA1cX+zy5loEpg+c618R5kZMKXlelpN/2GDItQWNy4alUGQCtP8k8GTioTtZVmuNXal5sbP1OPkXFKof+6auTz5cfeFs2XRkrQlduNAw/Bc0TB/7RiZNOjMNGBSmbKWc=">
<fieldset class="security">
<div class="g-recaptcha" data-sitekey="6LfF_7AZAAAAAK796nWHg-K4DkjG_-pnlfEH7Ch0"></div>
... end form ...
<script type="text/javascript">
var onload = function() {
grecaptcha.render('html_element', {
'sitekey' : '6LfF_7AZAAAAAK796nWHg-K4DkjG_-pnlfEH7Ch0',
'theme' : 'dark'
<script async src=""></script>

(Old keys – i generated new)

Link to the page

Link to the repository

(The form is in every post)


I’m solved the problem – now I using the reCAPTCHA v2 – Checkbox. Change of the version solved the problem. Generating new keys for v2 version solved this problem. Captcha displays and works correctly.

We are here to answer your question about reCAPTCHA – Incorrect key type - If you find the proper solution, please don't forgot to share this with your team members.

Related Posts

Tutorial Guruji