invisible ReCAPTCHA error | Community
Skip to main content
November 20, 2017
Solved

invisible ReCAPTCHA error

  • November 20, 2017
  • 3 replies
  • 25961 views

I've added the invisible ReCAPTCHA using Courtney Grimes' guide​ to our WordPress website. I keep getting the error "missing-input-response". Has anyone faced anything similar and perhaps have any tips to solve it? I've attached screenshots as suggested by @Sanford Whiteman in a different user's comment. Here's the one of the live pages: Contact John Henry Foster

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by SanfordWhiteman

I had not, it wasn't in the original guide post. What do I set the autofill to?


It doesn't AutoFill, it gets filled via a JS call to vals().

The intent is that reCAPTCHA populates the hidden field under the hood. That field needs to be passed to the Google endpoint via webhook.

Note you don't actually have to add a hidden field to the form in Form Editor -- if you use addHiddenFields then it will be added automatically in the browser, even if it's never visible in Form Editor.  However, if you use vals/setValues (as your current code does) the field has to exist first.

3 replies

SanfordWhiteman
Level 10
November 20, 2017

You have a syntax error (which you'll see in your browser's F12 Console):

Remove that trailing comma and try again.

November 21, 2017

Fixed the syntax error (thank you!) but I am still receiving this:

{ "success": false, "error-codes": [ "missing-input-response" ] }

SanfordWhiteman
Level 10
November 21, 2017

Katie, do you in fact have the field spamCheck on this form? You can't run setValues() ​or its alias ​vals() ​otherwise.

Katherine_Zhu
Level 2
June 13, 2019

Hi Katie OBriem & @Sanford Whiteman,

We recently just implemented with the original post & the fix from this post by adding a hidden field for spamcheck on our form. Everything seems to be working now but we're seeing after the fix, there are still records that are coming in with the error "missing-input-response". Was wondering if you guys are also experiencing this. 

Also, does "missing-input-response" mean recaptcha didn't work or does it mean verified = false? I'm not sure if it just didn't fire can we need to manually run some of these people through again or if truly those are bots. 

Thank you in advance!

Katherine

SanfordWhiteman
Level 10
June 14, 2019

Hi Katherine,

missing-input-response means, if the webhook is sending the correct {{lead.token}} -- which it must be, if it doesn't happen in all calls -- that the hidden form field that stores the user "fingerprint" was empty when the form was submitted.

If everything else is set up correctly on the client (JS) side to populate the hidden field, then missing-input-response always means the submission was from a bot.

However... if the client side is not completely correct, then it's possible for the hidden field to not be populated for another reason. So in that case missing-input-response doesn't point directly to a bot, it could be malfunctioning JS.

SanfordWhiteman
Level 10
January 27, 2020

Please open a new thread in Products and supply your URL and the Activity Log entry/detail.