"Token has been expired or revoked" after one day of use

488 views
Skip to first unread message

Corey Ramirez Gomez

unread,
Feb 15, 2017, 6:59:25 PM2/15/17
to GAM for G Suite
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.
Reply all
Reply to author
Forward
0 new messages