-
Notifications
You must be signed in to change notification settings - Fork 776
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://www.google.com/recaptcha/api2/pat 401 (Unauthorized) #561
Comments
Same |
same here |
same here how to solve it |
Same |
Same! |
Same :( |
Additionally, I've noticed that when I use Safari dev tools to remotely connect to my iPhone and pull up dev tools in Safari, it seems this error occurs on every load |
Yes, different user agents change the in dev tools - but in prod, testing on a real device I still get a 401. I'm hoping Google doesn't close this issue, as it appears recaptcha just won't load on recent iOS versions and there's no guidance or documentation on the issue. |
Seems like the problem start when user agent has iPhone OS 16_0 and above. Its working fine till version iPhone OS 15_8. |
anyone has solved this issue please ? |
I see this issue on Safari Version 17.5 (19618.2.12.11.6) Cross-Origin-Opener-Policy-Report-Only: same-origin; Also noticing other CSS and JS is returning a 401 response. Request Working on Chrome 130.0.6723.92 (Official Build) (x86_64) Working on Chrome Canary 132.0.6817.0 Response Headers Working on Firefox latest build. 132.0 Not checking other Chromium browsers. |
Same here .. confirmed it happens only with iphone user agent .. but still happening. |
I can confirm this; it is the same issue on my sites. |
anyone have a solution for this issue or no? |
Is there any temporary solution for this? |
is there some update? |
Peas as always breaking everything and the developers has to fix theyr s*****. Any fix on this? This is a super bad bug... Gonna have to disable App Check while this isn't fixed. |
I wouldn't expect an answer in this repostory. I opened a discussion in the Google Cloud Security forums If anyone wants to contribute: https://www.googlecloudcommunity.com/gc/reCAPTCHA/reCAPTCHA-initialization-error-on-Safari-iOS-16/td-p/859376 |
It looks like this is a red herring error. I was getting the same error on safari and upon investigating the error more on safari on my macbook it turned out once I actually submitted the form I was getting an error about my query string being too long so IIS was rejecting my request. Basically for some reason in safari the getRecatpchaResponse function I had to determine if the user was a bot or not was about 2500 characters long. No idea why it was working in every browser but safari. Anyways I updated the max length of my query string to 3000 in IIS from 2048 and boom it started working again! Hope this can help someone else out but yeah most likely recaptcha is not working in safari due to another reason. Hit that submit button and see what error you get! |
Hi,
When I have the Chrome's Device Toolbar active (CTRL + SHIFT + M), I'm getting this error on console when loading the page:
recaptcha__pt.js:805
POST https://www.google.com/recaptcha/api2/pat?k= 401 (Unauthorized)
If I disable the device tollbar, there's no error.
Thank you.
The text was updated successfully, but these errors were encountered: