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.62k stars 207 forks source link

Just tried setting this up and I'm getting Access blocked error. #430

Open adamk33n3r opened 1 year ago

adamk33n3r commented 1 year ago

The command I'm running is this

.\gyb.exe --email myemail@gmail.com --action restore-mbox --local-folder . --label-restored "HEY Email"

It then asks me to select the actions I wish GYB to be able to perform. After I continue, it opens up a webpage and after clicking my account I'm shown this error. image

arijitgupta42 commented 1 year ago

On the OAuth consent screen, there's a Test Users section. Click on add users and add the email ID that you're trying to restore for, worked for me after I did that image