title: reCaptcha ERROR: Invalid domain for site key in Google Server
body: <p>i get recaptcha, put my   domain.com.ar and get a key</p>
  
  <p>i use this code</p>
  
  <p>Code.gs</p>
  
  <pre><code>function doGet() {
  
   var t = HtmlService.createTemplateFromFile('Index')
   return t.evaluate().setTitle("Contacto de Usuarios").setSandboxMode(HtmlService.SandboxMode.IFRAME);
  
  }
  
  function include(filename) {
      return HtmlService.createHtmlOutputFromFile(filename)
    .getContent();
  }
  
  
  function processForm(formObject) {
  
  
   var userCompleto = formObject.userCompleto;
  
   var Email = formObject.Email;
  
   var Movil = formObject.Movil;
  
   var Mensaje = formObject.Mensaje
  
   var captcha = formObject.g-recaptcha-response
  
   var captcha1 = formObject.g-recaptcha
  
  
   Logger.log(userCompleto+Email+Movil+captcha)
  
    //etc code ........
  
  
    }
  </code></pre>
  
  <p>Index.htm</p>
  
  <pre><code>  &lt;form id="myForm2" action="?" method="post" &gt;
  
  
    &lt;input type="text" name="userCompleto" value="" class="ss-q-short" id="userCompleto" size="30"&gt; 
  
    &lt;input type="text" name="Email" value="" class="ss-q-short" id="Email" size="30"&gt; 
  
     &lt;input type="text" name="Movil" value="" class="ss-q-short" id="Movil" size="30"&gt; 
  
  
     &lt;textarea rows="4" cols="50" name="Mensaje" value="" class="ss-q-short" id="Mensaje" size="30" &gt;
  
     &lt;div id= "example2"&gt;&lt;/div&gt;
  
     &lt;input type="button" value="Comunicate" id="comunica" name="comunica" style="height: 30px" onclick="validateForm2()" /&gt;
  
  
     &lt;/form&gt;
     &lt;?!= include('JavaScript'); ?&gt;
  </code></pre>
  
  <p>JavaScript.htm</p>
  
  <pre><code>  &lt;script type="text/javascript"&gt;
  
  
    var onloadCallback = function() {
  
    var widgetId2 = grecaptcha.render(document.getElementById('example2'), {
        'sitekey' : '6LeDlhUTAAAAAMbdjlTLHDzA8MMb_pQS6epqgLHs'
      });
  
    };
  
   &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;script type='text/javascript' &gt;
  
    function  validateForm2(){
  
      //..validation 
  
     var objDatosGuardar = document.getElementById("myForm2")
  
       google.script.run.processForm2(objDatosGuardar);
  
     };
  
  
     &lt;/script&gt;
  </code></pre>
  
  <p>trow a ERROR   ERROR: Invalid domain for site key</p>
  
  <p>I try change de key for the captcha and nothing
  I try to put in the key new domains like 127.0.0.0
  I dont get Looger.log nothing</p>
  
  <p>Please Help</p>