Hey all!
I have been able to get by without GAM for a good while now, but a situation has occurred that prompted me to reach back into the toolbelt for GAM. I originally set up GAM to run in a cloud instance on GCP and it worked perfectly at the time. Now when I try anything, I get an error, and I am wondering if the key I generated (sorry I don't have all the terminology right) back then is expired or something. I will note that I am currently on GAM 5.03.
I started to go back to the setup process but wasn't sure exactly what part needed to be fixed so I thought I would consult with people who are smarter than me to tell me where I should start.
So when I launch GCP and type gam, it seems to get started ok. Once I'm in however, any command seems to get me the following output:
nbrothers@cs-492057367909-default-boost-jt7vt:~$ gam oauth info
Traceback (most recent call last):
File "gam.py", line 11594, in <module>
File "gam.py", line 11157, in ProcessGAMCommand
File "gam.py", line 10037, in OAuthInfo
File "gam.py", line 716, in getValidOauth2TxtCredentials
File "auth/oauth.py", line 456, in refresh
File "auth/oauth.py", line 464, in _locked_refresh
File "site-packages/google/oauth2/credentials.py", line 176, in refresh
File "site-packages/google/oauth2/_client.py", line 248, in refresh_grant
File "site-packages/google/oauth2/_client.py", line 124, in _token_endpoint_request
File "site-packages/google/oauth2/_client.py", line 60, in _handle_error_response
google.auth.exceptions.RefreshError: ('invalid_grant: Bad Request', '{\n "error": "invalid_grant",\n "error_description": "Bad Request"\n}')
[1078] Failed to execute script gam
Does anybody have any insight on what parts of the setup process I should undo/redo? I would appreciate any leads :)
Thank you in advance!