[GAM] Trying to troubleshoot: "WARNING: Config File Not Found"

1,099 views
Skip to first unread message

Charles Kang

unread,
Feb 13, 2025, 1:13:12 PM2/13/25
to GAM for Google Workspace
I first setup my GAM project last year for another domain, but set it up again today. 

I'm able to run GAM commands just fine, but would like to fix the warnings I'm getting. 

WARNING: Config File: /Users/username/.gam/gam.cfg, Section: DEFAULT, Item: oauth2_txt, Value: /Users/username/.gam/oauth2.txt, Not Found
WARNING: Config File: /Users/username/.gam/gam.cfg, Section: DEFAULT, Item: oauth2service_json, Value: /Users/username/.gam/oauth2service.json, Not Found

gam info domain and gam user myEmail show gmailprofile result in the same warning and error of "ERROR: No Client Access allowed" 

I have the same issue as this post where I look in the directory and only see 3 items in the hidden .gam folder: 
- gam.cfg (modified today)
- gamcache folder (modified 2023)
- oauth2.txt.lock (modified today)

Thank you!

Ross Scroggs

unread,
Feb 13, 2025, 1:14:26 PM2/13/25
to google-ap...@googlegroups.com
Send me a private Meet/Zoom invitation and I'll help.

Ross
----
Ross Scroggs



--
You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-apps-manager/68ad536c-c7b5-4374-93a3-da14639e25f0n%40googlegroups.com.

Michaël DE BONA

unread,
Jun 27, 2025, 7:49:34 AM6/27/25
to GAM for Google Workspace
Hey guys!

I'm facing the same warning (for the json file only though). What had to be done to fix it?

Alan Admin

unread,
Jul 3, 2025, 9:24:15 AM7/3/25
to GAM for Google Workspace
would it be possible, rather than requesting a zoom meeting invite for the presumably helpful Mr Scoggs to actually write the solution here, in text, I don't do well with interactive viideo but having thhe steps written down would be nice.

Utkarsh Koranne

unread,
Jul 11, 2025, 6:32:57 PM7/11/25
to GAM for Google Workspace
Hello All,
I wanted to let all you know that Ross and I had a meeting about this problem and he perfectly guide me where i was stuck. and it would not have possible without his live guidance. Thank you Ross again for your perfect guidance.
Best,
Utkarsh

Harold Wong

unread,
Jul 16, 2025, 3:44:11 AM7/16/25
to GAM for Google Workspace
New company, new device, new account and new gam.
Ran the install script and thought I was done and got the same error, first I deleted the lock and oauth, went back into cloud console, I am,  and downloaded oauth2service.json then had to create a new client_secret.json in credentials. Then ran the gam oauth create. Left the settings as is and C. It sent me back to google site to confirm auth. 
Any steps missing? I would call Ross but its like midnight :(

Ross Scroggs

unread,
Jul 16, 2025, 11:00:57 AM7/16/25
to google-ap...@googlegroups.com
I do Zoom meetings so I can ask questions, see what you've done and give corrections. There is no a fixed set of steps to list.
We can do an interactive seesion at whatever pace works for you.

Ross
----
Ross Scroggs


Nikolai Bockholt

unread,
Jul 17, 2025, 3:03:17 PM7/17/25
to GAM for Google Workspace
Same issue here, appreciate any help too.

mcuser@MBP-von-User ~ % gam user nik...@gomedicusgroup.com check serviceaccount
WARNING: Config File: /Users/mcuser/.gam/gam.cfg, Section: DEFAULT, Item: oauth2_txt, Value: /Users/mcuser/.gam/oauth2.txt, Not Found


ERROR: No Client Access allowed
mcuser@MBP-von-User ~ % gam create project
WARNING: Config File: /Users/mcuser/.gam/gam.cfg, Section: DEFAULT, Item: oauth2_txt, Value: /Users/mcuser/.gam/oauth2.txt, Not Found

ERROR: /Users/mcuser/.gam/oauth2service.json already exists. Please delete or rename it before attempting to Create project.

Pete Mundy

unread,
Jul 18, 2025, 6:36:50 PM7/18/25
to GAM for Google Workspace
Try:

gam oauth create

Reply all
Reply to author
Forward
0 new messages