Customer login captcha error : Request failed reCAPTCHA validation

Recently our client’s customers have been unable to log in to their accounts with an error page “Something went wrong” and message “Request failed reCAPTCHA validation”.

We have temporarily disabled the reCaptcha setting for logins, but this would not be ideal for the long term. Can you please provide any advise regarding this issue?

3 Likes

Hello,

We have the same problem, we have disabled the reCaptcha option but are looking for a better solution.

If you have any advice?

Thanks

Hi @ubaut ,

Sometimes CAPTCHA will fail so you need to try it again later or sign in with another device.

It’s managed by Shopify, so you can’t edit or do anything. You can contact Shopify, they will help you solve if the error arises too many times.

Refer https://help.shopify.com/en/questions#/contact

Hope this helps

If you my answer can help you solve your issue, please mark it as a solution. Thank you and good luck.

We have the same problem sometimes for 2 days now, something is wrong, i have disabled repatcha for logins for now.

Having the same problem with my site.

Same issue here as well, it only began happening this week.

Following as we are having the same issue. I did disable reCAPTCHA, but would like to know a long term solution

Hi, @ubaut !

The Request failed ReCaptcha validation error is returned if a user is considered to be a bot or when the theme isn’t set up properly for ReCaptcha to function properly. It’s difficult for a real person to get a score low enough (under 0.5 as recommended by Google) to be considered a bot, so most often this is an issue caused by the theme.

In regards to the theme, this error is caused by a token not being generated properly for the form. In these cases, the issue is outside of Shopify’s scope, and you or the theme developer can review our public docs on how to resolve this in the code.

If you’re comfortable doing so, you can confirm whether it’s a theme related issue by:

  1. Loading the form in question
  2. Opening Inspect (Chrome Developer tools) and switching to the Network tab
  3. Click into the form and check the lower right corner of your screen in order to see if the reCaptcha logo appears
  4. Fill out and submit the form
  5. Look for contact in the Network tab
  6. Go to the Headers section and scroll down to Form Data
  7. Check to see if the recaptcha-v3-token is present.

If there is no token present, then the error is expected behaviour and it will be up to the theme developer to review the code. If the captcha is enabled through Online Store > Preferences, then the functionality will only be present if the {{ content_for_header }} tag is rendered in the theme. If the tag is missing from the template then it will fail to load.

If you require assistance with these steps, are using a Shopify theme, or would like us to take a closer look, please get in touch with our Support Team. You can open a ticket with us through our Help Center by logging in, selecting your shop, searching a topic, and clicking Continue at the bottom of the page. One of our Support Advisors can look into this for you and escalate if deemed necessary.

Cheers.

This doesnt make sense, my theme was fine for 11 months and now at the same time we all start getting this problem?

2 Likes

We’re experiencing this issue too so not sure it’s a theme issue.

I am also experiencing this issue, all of a sudden.

My way of solving the problem is to disable reCaptcha in the shopify admin for login forms and then injecting the google recaptcha script in the theme and control when I want this script to be fired.

I followed this guide: https://developers.google.com/recaptcha/docs/v3

It seems that if you take control of the form with JavaScript and then fired the recaptcha script yourself it will work.

Hope it helps

@WebEx @AesthetiCare If you’re still requiring further support, please feel welcome to open a ticket with our Support Team through the Help Center and a Support Advisor would be happy to assist you.

You’ll just need to log in, select your shop, search a topic and click the Continue button under “Get support” at the bottom of the page.