gpsoauth icon indicating copy to clipboard operation
gpsoauth copied to clipboard

{'Error': 'BadAuthentication'}

Open Estban0 opened this issue 9 months ago • 2 comments

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

  1. Check that your email and password are correct in the settings file.
  2. Your are using a old python version. Works >= 3.8.
  3. Update requirements, use in a terminal: 'pip3 install --upgrade -r ./doc/requirements.txt' or 'pip install --upgrade -r ./doc/requirements.txt
  4. 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!.

Estban0 avatar Oct 31 '23 17:10 Estban0

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)

taviso avatar Nov 03 '23 18:11 taviso

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).

kiwiz avatar Nov 06 '23 17:11 kiwiz