Google Apps Domain: Unknown Error 404: Domain not found. - notFound

996 views
Skip to first unread message

Chuck Buhler

unread,
Feb 17, 2016, 3:00:32 PM2/17/16
to Google Apps Manager
Everything working just fine this morning.  Changed passwords for some users, moved a few chromebooks, etc.  Went to use the same scripts a couple of hours later, first it asked me to redo the permissions (same as gam info domain when you first install)  and then I get this error:

Google Apps Domain: Unknown
Error 404: Domain not found. - notFound

It doesn't ask me to reset up permissions if I run "gam info domain" again, but gives the same error.

Not a clue on what changed.

I running version 3.6.1 of gam,  python ver 2.7.8 on openSuse 13.2,  and it's all been stable for months.

I've called Google and they say that everything is working normal, no error on our apps account.  So I redid the client_secrets.json and oauth2service.json files which didn't fix it, so I reinstalled gam and still hasn't fixed it.

Any help pointing me in the right direction would be great.

thank


Chuck Buhler

unread,
Feb 17, 2016, 3:47:07 PM2/17/16
to Google Apps Manager
I've installed version  3.63 and still get the same error.

I've double checked that I didn't fat finger domain name in the developer's console, double checked the json files.  still not seeing what's broken.


Chuck Buhler

unread,
Feb 17, 2016, 4:32:55 PM2/17/16
to Google Apps Manager
Ok  I figured out the issue.    I have two google accounts and somehow it picked up my personal google account instead of my work / domain google account. 

I don't know why it asked me to redo the permissions, but when it did that must be where it picked up my personal email account,  I had checked it earlier, but was currently logged in with my work account.

I ran:
gam oauth2 info
 and it showed that the admin account was my personal email account instead of my work account.

What fixed it was:
gam oauth2 delete
gam oauth2 create
when it brought up the permissions screen it had my personal email showing, so I changed it to my work email.

Everything seems to be working now, and I got it upgraded to the newest version at the same time.

thanks all 

Mike Reilly

unread,
Jul 29, 2016, 10:24:05 PM7/29/16
to Google Apps Manager
Thank you sir! You just saved me a bunch of time. :)
Reply all
Reply to author
Forward
0 new messages