- Issue created by @rraney
- šŗšøUnited States rraney
After the login fails, I see this in console.
Tracking Prevention blocked access to storage for https://www.google.com/. login:1 Tracking Prevention blocked access to storage for https://www.google.com/. login:1 Tracking Prevention blocked access to storage for https://www.google.com/js/bg/R158mP-HER8cF-2W1d4Zs3A-8309t2iBf9rXxsmuGOY.js. login:1 Tracking Prevention blocked access to storage for https://www.google.com/js/bg/R158mP-HER8cF-2W1d4Zs3A-8309t2iBf9rXxsmuGOY.js.
I don't know if it's related.
- šŗšøUnited States rraney
I tried uninstalling and re-installing the recaptcha and recaptcha v3 modules. Now the error message is different.
Error message The answer you entered for the CAPTCHA was not correct.
I even changed my user password to make absolutely certain, but it's not letting me log in with v3.
- šŗšøUnited States rraney
Here is the current log message when the antibot failure message appears using the login form.
Google reCAPTCHA v3 validation failed: Not a success, but no error codes received! Expected action did not match.
- šŗšøUnited States rraney
More console information:
I'm seeing a message "Third party cookies will be blocked"Here's more info:
Cookies with the SameSite=None; Secure and not Partitioned attributes that operate in cross-site contexts are third-party cookies. In future Microsoft Edge versions, reading third-party cookies will be blocked. This behavior protects user data from cross-site tracking.
Please refer to the article linked to learn more about preparing your site to avoid potential breakage.
3 cookies
1 requestapi.js?onload=ctctOnLoadCallback&render=explicit
Learn more: Prepare for phasing out third-party cookies - šŗš¦Ukraine dench0
1. Are you using a custom template for the form with a captcha?
2. Can you send me a link to the form page in PM? - šŗšøUnited States rraney
Now we are starting to get reports of people being unable to submit forms because of captcha errors. I've checked the keys many times and they are set up correctly. The badge appears on our website, so I know I have the domain set up correctly in Google. I've been asking people to provide more specific error messages, but it seems v3 is failing in forms.
- šŗšøUnited States rraney
1. Are you using a custom template for the form with a captcha?
2. Can you send me a link to the form page in PM?Sorry I missed these questions. I will look into it shortly. I will have to enable a form with captcha in order for you to view it failing. I think I actually do have a custom page template for all webforms.
- šŗšøUnited States rraney
The user login was the form that we started having issues with. This does not use a custom template.
- šŗšøUnited States rraney
Yes, it looks like one of the "problem" webforms has a custom template. However, one of them does not. As mentioned, we also turned off captcha on the user login form, which is not using a custom template.
I am not quite at the point where I can share dev. environments with you. We just changed our hosting platform and only have a production environment. I can share a form that's enabled with captcha via the "points" but it does not have a captcha widget.
I noticed that the only remedy appears to be removing the captcha form element from forms. There was a form that was disabled via points, but still had the captcha widget. This widget was giving users a lot of trouble.
- šŗš¦Ukraine dench0
can you also send me a screenshot of the recaptcha v3 config in google admin: https://www.google.com/recaptcha/admin/
- šŗšøUnited States rraney
I can't send an image or file with the "Contact" feature on your profile page. I don't know how to add screenshots here. When I click the add image button, it wants an image URL.
- šŗšøUnited States rraney
I had just removed a staging domain from the list and saved the changes. It turns out I accidentally deleted both domains, but this was only for a minute. I know it appears that I didn't have a domain configured, but I did.
- šŗšøUnited States rraney
I just re-enabled this in Google admin
Verify the origin of reCAPTCHA solutions If disabled, you are required to check the hostname on your server when verifying a solution.
- šŗšøUnited States rraney
I added "www" and tried logging into site. Still getting the error message, then it falls back to v2 checkbox.
- šŗš¦Ukraine dench0
I just re-enabled this in Google admin
no, let's left it unchecked.
- šŗšøUnited States rraney
Label
reCAP v3 Action
Machine name: recap_v3_action
Label for the reCAPTCHA v3 action.
Threshold
0.5
The threshold score value. See the scores interpretation documentation for more information.
Fallback challenge
reCAPTCHA (from module recaptcha)
Select the fallback challenge on reCAPTCHA v3 user validation fail. - šŗšøUnited States rraney
I wonder if I should try with new keys. That's the only thing I haven't tried.
- šŗš¦Ukraine dench0
if I should try with new keys
yes, you can try.
Also what do you have in the Recapthact v3 settings for the:- Local domain name validation
- Cacheable
?
- šŗšøUnited States rraney
So you suggest unchecking on both Google and in Drupal? (despite what is says about doing one or the other)
- šŗšøUnited States rraney
I just started a brand new "site" in Google with new keys. I didn't have any issues logging in.
- šŗš¦Ukraine dench0
So you suggest unchecking on both Google and in Drupal? (despite what is says about doing one or the other)
Just for testing purposes.
- šŗšøUnited States rraney
Should the form captcha v3 be working if I create a point but don't use a form widget? I'm not seeing a badge on the form pages where there is a point configured, unless I enable the widget.
- šŗš¦Ukraine dench0
If you are talking about webforms, you need to use only one method: captcha point or webform captcha element.
- šŗšøUnited States rraney
Thanks but when I don't have a captcha element, but do have a captcha point, I don't see a badge
- Status changed to Fixed
9 months ago 3:34pm 6 June 2024 - šŗš¦Ukraine dench0
Thanks but when I don't have a captcha element, but do have a captcha point, I don't see a badge
then you need to check if you are using the correct form id.
- šŗšøUnited States rraney
Actually, I'm intermittently seeing the badge. There are forms like this: https://www.dgcoks.gov/administration/contact
This page has BOTH enabled and there is no badge. I'd say generally the only time I see the badge is if a form element is enabled. The IDs are all correct. Automatically closed - issue fixed for 2 weeks with no activity.
- š§š·Brazil carolpettirossi Campinas - SP
I'm getting this error on the Login, too.
In my case, I have recaptcha keys installed to be used in webforms. I haven't enabled it on "all forms" and it shouldn't be enabled on login form
I'm getting this error on login form on an environment that has not been added to the key (tugboatqa environment). However, I don't know why it's triggering it on login form as I haven't enabled on all forms.
- šŗš¦Ukraine dench0
@carolpettirossi
You need to check the captcha points settings/admin/config/people/captcha/captcha-points
- š®š³India vabhinay
In my Drupal 10 site, I am facing an "Anti bot verification failed" issue when users try to submit forms protected by reCAPTCHA v3.
What I Have Tried:
ā Checked reCAPTCHA Score Threshold (/admin/config/people/captcha/captcha-points)
The score threshold is set to 0.5 (default).
Still, some users face the issue intermittently.ā Regenerated reCAPTCHA API Keys
Created new Site Key & Secret Key from Google reCAPTCHA Admin Console.
Updated the new keys in Drupal settings.
The issue still occurs randomly.ā Checked reCAPTCHA API Response
Some users receive low scores (below 0.5) even though they are real humans.
No clear reason why Google assigns low scores.Issue Details:
The problem occurs intermittently (not for every user).
Affected users are real humans but get a low reCAPTCHA score.
I cannot find a consistent pattern (e.g., browser, device, IP).
Some submissions work, while others fail with "Anti bot verification failed."
Error persists even after regenerating reCAPTCHA keys. - š®š³India vabhinay
In my Drupal 10 site, I am facing an "Anti bot verification failed" issue when users try to submit forms protected by reCAPTCHA v3.
What I Have Tried:
ā Checked reCAPTCHA Score Threshold (/admin/config/people/captcha/captcha-points)The score threshold is set to 0.5 (default).
Still, some users face the issue intermittently.
ā Regenerated reCAPTCHA API KeysCreated new Site Key & Secret Key from Google reCAPTCHA Admin Console.
Updated the new keys in Drupal settings.
The issue still occurs randomly.
ā Checked reCAPTCHA API ResponseSome users receive low scores (below 0.5) even though they are real humans.
No clear reason why Google assigns low scores.
ā No Conflicting CAPTCHA ModulesI am only using reCAPTCHA v3, not Honeypot or other CAPTCHA modules.
Issue Details:
The problem occurs intermittently (not for every user).
Affected users are real humans but get a low reCAPTCHA score.
I cannot find a consistent pattern (e.g., browser, device, IP).
Some submissions work, while others fail with "Anti bot verification failed."
Error persists even after regenerating reCAPTCHA keys.