Hello all,
So I changed my gmail password yesterday and realized this caused my tokens to expire so went through the process of installing the latest version of GAM and re-authorizing myself (with a new GAM project). This all went well for the rest of the day, until I decided to start using my installation again today.
The first attempt to issue a command results in "ERROR: Authentication Token Error - invalid_grant: Token has been expired or revoked."
The second attempt prompts me with "What is your G Suite admin email address?".
Following through with the prompt resolves the issue, but this isn't really a solution for me if I have to do this every day. I have cron jobs and other scripts that rely on GAM to issue commands.
I have used GAM for a while now and I haven't had this issue in the past, so I am wondering if something changed or if I needed to issue some sort of flag while authorizing.
Any help would be appreciated.