How do I change the GAM Admin account

408 views
Skip to first unread message

Jathin Das

unread,
Feb 20, 2012, 10:08:36 AM2/20/12
to google-ap...@googlegroups.com
Hi


My team was using an admin account to run the GAM using Python script. Now the employee has left the team and we have removed his user account. I am not able to run the script now as it says the

 " File "gdata\apps\service.pyo", line 367, in DeleteUser
data.apps.service.AppsForYourDomainException: {'status': 401, 'body': '<HTML>\n
HEAD>\n<TITLE>Token invalid - The account has been disabled.</TITLE>\n</HEAD>\n
BODY BGCOLOR="#FFFFFF" TEXT="#000000">\n<H1>Token invalid - The account has bee
 disabled.</H1>\n<H2>Error 401</H2>\n</BODY>\n</HTML>\n', 'reason': 'Token inva
id - The account has been disabled.'}"

Can any one help me out here .Its too urgent.


Thanks
Jathin

Jay Lee

unread,
Feb 20, 2012, 10:43:35 AM2/20/12
to google-ap...@googlegroups.com
  1. Make sure you're using the latest version of GAM which is 2.2 released just this morning.
  2. Delete the oauth.txt file in the same directory as GAM if it exists.
  3. run "gam info domain" you'll be asked to reauthorize. Do so with another admin account.
Jay
Reply all
Reply to author
Forward
0 new messages