I'm going round in circles with version 1.52

100 views
Skip to first unread message

Onion

unread,
Sep 28, 2021, 5:56:58 AM9/28/21
to Got Your Back: Gmail Backup
I should have skipped the latest version 1.52 because I'm now having nothing but problems trying to set up authorization. I've tried 5 times or more to get it to work.

I deleted the 2 files in the GYB folder to start over (json & cfg)
I set up the OAuth consent screen and clicked Publish.

In my Credentials page it shows an OAuth 2.0 Client ID number. 
In Service Accounts, it shows a long project number. 

I got as far as choosing #1 Gmail Backup Only
I have the link to go to the browser to get the verification code. 
I pasted the code in CMD. For the 3rd time, I get this error:

"Error: you did not authorize the OAuth token in the browser with the your...@gmail.com Google Account. Please make sure you are logged in to the correct account when authorizing the token in the browser"

The other error I see when trying again is: 
ERROR: ('invalid_grant: Bad Request', '{ 'error': 'invalid_grant', 'error_description': 'Bad Request'})

I triple checked and triple retyped to make sure the double dashes and spaces are correct when I type the command: gyb --email your...@gmail.com --action backup

What could I be doing wrong this time? 

Onion

unread,
Sep 28, 2021, 6:33:04 AM9/28/21
to Got Your Back: Gmail Backup
For what seems like the 10th try and 1-1/2 hours later, it is now working after getting several "Error 404: access_denied" errors. The solution "may" have been when either I deleted the cfg file, or when I did "Publish" again in the OAuth consent screen. 

I have a 21-page tutorial I wrote for myself showing all the possible errors (15 I've found so far). Even with the tutorial, nothing seems to work on the first try after installing GYB updates. I will now put the "noupdatecheck.txt" file into my gyb backup folder so I won't get notice of any new updates. 
Reply all
Reply to author
Forward
0 new messages