gpsoauth
gpsoauth copied to clipboard
{'Error': 'BadAuthentication'}
Hello everyone, I have an error that I cannot solve, I have more details that I will now post about the error, I want to recover data from Google Drive, backup. I get this error, if anyone knows how to solve it, I need help please!
-------------- Whatsapp Google Drive Extractor -------------- [i] Searching...
Requesting access to Google... Failed {'Error': 'BadAuthentication'}
Workaround
- Check that your email and password are correct in the settings file.
- Your are using a old python version. Works >= 3.8.
- Update requirements, use in a terminal: 'pip3 install --upgrade -r ./doc/requirements.txt' or 'pip install --upgrade -r ./doc/requirements.txt
- Your OAuth token configured in the settings file may have expired. The token will be deleted and you will have to log in again.
I tried everything he asked me and what I should do but still the same error persists!.
I have the same issue here:
> /home/taviso/.local/lib/python3.10/site-packages/gpsoauth/__init__.py(99)_perform_auth_request()
-> return google.parse_auth_response(res.text)
(Pdb) p res.text
'Error=BadAuthentication'
This started happening maybe one week ago, it's not clear to me what changed. I use gpsoauth via gkeepapi (cc @kiwiz)
This issue has more discussion: #48
Tl;Dr It's possible that your TLS fingerprint has changed and Google's authn servers are unhappy with that. #44 has a potential workaround (but requires a manual step).