title: Google reCAPTCHA ERROR for site owner: Invalid site key
body: <p>I cant get reCAPTCHA v3 working on my website. I have put the right code in from the Google reCAPTCHA v3 website but it shows "ERROR for site owner: Invalid site key" in the bottom right.</p>
  
  <p>I'm only 7 and if I have missed something, please take it easy</p>
  
  <pre><code> &lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
  &lt;head&gt;
      &lt;meta charset="UTF-8"&gt;
      &lt;title&gt;Recaptcha test&lt;/title&gt;
      &lt;script src="https://www.google.com/recaptcha/api.js"&gt;&lt;/script&gt;
      &lt;script&gt;
        function onSubmit(token) {
            document.getElementById("demo-form").submit();
        }
      &lt;/script&gt;
      &lt;script src="https://www.google.com/recaptcha/api.js?render=reCAPTCHA_site_key"&gt;&lt;/script&gt;
  
  
  &lt;body&gt;
  &lt;button class="g-recaptcha"
          data-sitekey="reCAPTCHA_site_key"
          data-callback='onSubmit'
          data-action='submit'&gt;Submit&lt;/button&gt;
  &lt;script&gt;
      function onClick(e) {
          e.preventDefault();
          grecaptcha.ready(function() {
              grecaptcha.execute('reCAPTCHA_site_key', {action: 'submit'}).then(function(token) {
                  // Add your logic to submit to your backend server here.
              });
          });
      }
  &lt;/script&gt;
  
  
  &lt;/head&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Then, I tried reCAPTCHA v2 Checkbox, same things happened. Although, "ERROR for site owner: Invalid site key" was now in the top left:</p>
  
  <pre><code>    &lt;!DOCTYPE html&gt;?
  &lt;html lang="en"&gt;
  &lt;head&gt;
      &lt;meta charset="UTF-8"&gt;
      &lt;title&gt;Recaptcha test&lt;/title&gt;
      &lt;script src="https://www.google.com/recaptcha/api.js" async defer&gt;&lt;/script&gt;
  
      &lt;script src="https://www.google.com/recaptcha/api.js?onload=onloadCallback&amp;render=explicit"
              async defer&gt;
      &lt;/script&gt;
  
  
  
  &lt;body&gt;
  &lt;form action="?" method="POST"&gt;
      &lt;div class="g-recaptcha" data-sitekey="your_site_key"&gt;&lt;/div&gt;
      &lt;br/&gt;
      &lt;input type="submit" value="Submit"&gt;
  &lt;/form&gt;
  &lt;script type="text/javascript"&gt;
      var onloadCallback = function() {
          alert("grecaptcha is ready!");
      };
  &lt;/script&gt;
  
  
  
  &lt;/head&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>