[GH-ISSUE #232] WhaGoDri shows {'Error': 'Unknown'} since last month #201

Open
opened 2026-02-25 20:34:53 +03:00 by kerem · 7 comments
Owner

Originally created by @andre-zan-ramos on GitHub (Feb 11, 2025).
Original GitHub issue: https://github.com/B16f00t/whapa/issues/232

WhaGoDri worked fine for me with manual oauth authentication. But since last month it has been giving this error.

Checking updates...
You have the latest version

 __      __.__             ________      ________        .__
/  \    /  \  |__ _____   /  _____/  ____\______ \_______|__|
\   \/\/   /  |  \\__  \ /   \  ___ /  _ \|    |  \_  __ \  |
 \        /|   Y  \/ __ \\    \_\  (  <_> )    `   \  | \/  |
  \__/\  / |___|  (____  /\______  /\____/_______  /__|  |__|
       \/       \/     \/        \/              \/

-------------- Whatsapp Google Drive Extractor --------------

[i] Searching...

Requesting authentication for Google Drive...
Failed
{'Error': 'Unknown'}

Can anyone help me?

Originally created by @andre-zan-ramos on GitHub (Feb 11, 2025). Original GitHub issue: https://github.com/B16f00t/whapa/issues/232 WhaGoDri worked fine for me with manual oauth authentication. But since last month it has been giving this error. Checking updates... You have the latest version __ __.__ ________ ________ .__ / \ / \ |__ _____ / _____/ ____\______ \_______|__| \ \/\/ / | \\__ \ / \ ___ / _ \| | \_ __ \ | \ /| Y \/ __ \\ \_\ ( <_> ) ` \ | \/ | \__/\ / |___| (____ /\______ /\____/_______ /__| |__| \/ \/ \/ \/ \/ -------------- Whatsapp Google Drive Extractor -------------- [i] Searching... Requesting authentication for Google Drive... Failed {'Error': 'Unknown'} Can anyone help me?
Author
Owner

@mpcabd commented on GitHub (Feb 16, 2025):

I'm facing the same problem too.

<!-- gh-comment-id:2661581205 --> @mpcabd commented on GitHub (Feb 16, 2025): I'm facing the same problem too.
Author
Owner

@fab1198 commented on GitHub (Mar 21, 2025):

did you have any luck in solving it? I'm facing the same problem

<!-- gh-comment-id:2743992833 --> @fab1198 commented on GitHub (Mar 21, 2025): did you have any luck in solving it? I'm facing the same problem
Author
Owner

@JBou commented on GitHub (Jun 21, 2025):

I had the same problem, but solved it finally by going to https://myaccount.google.com/apppasswords and creating a new password. Then I pasted it inside settings.cfg and it worked. I left the oauth blank.

[google-auth]
gmail = username@gmail.com
# Optional. The account password or app password when using 2FA.
password = abcd efgh ijkl mnop
# Optional. Login using the oauth cookie.
oauth = ""
# Optional. The result of "adb shell settings get secure android_id".
android_id = 0000000000000000
# Optional. Enter the backup country code + phonenumber be synchronized, otherwise it synchronizes all backups.
# You can specify a list of celnumbr = BackupNumber1, BackupNumber2, ...
celnumbr = ""

I also had certificate problems first (#218, #231, #239), but I downgraded requests to 2.29.0 to fix them.
Also, I upgraded gpsoauth to the latest version (inside doc/requirements.txt):

requests==2.29.0
colorama
gpsoauth
pyicloud
pandas
numpy
selenium
webdriver-manager
selenium-stealth
ConfigObj
pycryptodome
packaging
<!-- gh-comment-id:2993614504 --> @JBou commented on GitHub (Jun 21, 2025): I had the same problem, but solved it finally by going to https://myaccount.google.com/apppasswords and creating a new password. Then I pasted it inside `settings.cfg` and it worked. I left the `oauth` blank. ``` [google-auth] gmail = username@gmail.com # Optional. The account password or app password when using 2FA. password = abcd efgh ijkl mnop # Optional. Login using the oauth cookie. oauth = "" # Optional. The result of "adb shell settings get secure android_id". android_id = 0000000000000000 # Optional. Enter the backup country code + phonenumber be synchronized, otherwise it synchronizes all backups. # You can specify a list of celnumbr = BackupNumber1, BackupNumber2, ... celnumbr = "" ``` I also had certificate problems first (#218, #231, #239), but I downgraded `requests` to `2.29.0` to fix them. Also, I upgraded gpsoauth to the latest version (inside `doc/requirements.txt`): ``` requests==2.29.0 colorama gpsoauth pyicloud pandas numpy selenium webdriver-manager selenium-stealth ConfigObj pycryptodome packaging ```
Author
Owner

@firststef commented on GitHub (Jun 25, 2025):

i tried the requirements.txt upgrade, tried with the account pass, with the app pass, with oauth, without oauth, i don't get it why it doesn't work for me. {'Error': 'Unknown'} shows sometimes and Bad Request other times

<!-- gh-comment-id:3005995984 --> @firststef commented on GitHub (Jun 25, 2025): i tried the requirements.txt upgrade, tried with the account pass, with the app pass, with oauth, without oauth, i don't get it why it doesn't work for me. {'Error': 'Unknown'} shows sometimes and Bad Request other times
Author
Owner

@firststef commented on GitHub (Jun 25, 2025):

one thing i didnt try is android_id 000000000, i put my own android_id, because somewhere it said it can lock you out of the phone or smth

<!-- gh-comment-id:3006000950 --> @firststef commented on GitHub (Jun 25, 2025): one thing i didnt try is android_id 000000000, i put my own android_id, because somewhere it said it can lock you out of the phone or smth
Author
Owner

@thiboyyy commented on GitHub (Jul 29, 2025):

@firststef Any update ?

<!-- gh-comment-id:3133683422 --> @thiboyyy commented on GitHub (Jul 29, 2025): @firststef Any update ?
Author
Owner

@davispuh commented on GitHub (Dec 11, 2025):

Yeah it's broken but I fixed it with #247 now with that PR it works :)

<!-- gh-comment-id:3639505159 --> @davispuh commented on GitHub (Dec 11, 2025): Yeah it's broken but I fixed it with #247 now with that PR it works :)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/whapa#201
No description provided.