GAM-team / got-your-back

Got Your Back (GYB) is a command line tool for backing up your Gmail messages to your computer using Gmail's API over HTTPS.
https://github.com/GAM-team/got-your-back/wiki
Apache License 2.0
2.64k stars 209 forks source link

ERROR: ('invalid_grant: Bad Request', '{\n "error": "invalid_grant",\n "error_description": "Bad Request"\n}') #290

Closed tincanfury closed 3 years ago

tincanfury commented 4 years ago

hadn't checked on my crontab run backup, but recently I tried to run manually and noticed,

/opt/bin/gyb --email <>@gmail.com --action backup --local-folder /home/<>/Backup/gyb-<> ERROR: ('invalid_grant: Bad Request', '{\n "error": "invalid_grant",\n "error_description": "Bad Request"\n}') $ gyb --short-version 1.39

Not sure what I need to do to resolve this issue, but for the time being I can't backup my email anymore. thanks!

Begalov commented 4 years ago

gyb-1.38-windows-x86_64.zip last worked in June, today throw error after update to gyb-1.39-windows-x86_64.zip result the same

Begalov commented 4 years ago

You can just delete the .cfg file named after the email address and then reauth.

Jay

https://groups.google.com/g/got-your-back/c/D-k547AuyBo/m/c_FzpQPjCAAJ

It worked

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.