Comments (5)
I should note that I can issue other commands (info domain, print users, etc) just fine. I double checked the cloud panel to ensure I have the drive API enabled, and I do.
from gam.
I tried this with 3.41 and get the same error:
Traceback (most recent call last):
File "gam.py", line 7510, in
showDriveFiles(users)
File "gam.py", line 1840, in showDriveFiles
drive = buildGAPIServiceObject(u'drive', user)
File "gam.py", line 595, in buildGAPIServiceObject
SERVICE_ACCOUNT_EMAIL = json_data[u'client_email']
KeyError: u'client_email'
from gam.
I was able to fix this problem by regenerating the oauth2service json and p12. So there probably needs to be some error checking in there to report when these aren't working correct vs generating a KeyError.
from gam.
Same problem.
After getting oauth2service.json by following these instructions
https://github.com/jay0lee/GAM/wiki/CreatingClientSecretsFile#creating-your-own-oauth2servicejson
and successfully running
gam oauth info
and
gam info domain
I tried:
gam user [email protected] show filelist
But I got:
Traceback (most recent call last):
File "gam.py", line 7599, in
showDriveFiles(users)
File "gam.py", line 1873, in showDriveFiles
drive = buildGAPIServiceObject(u'drive', user)
File "gam.py", line 589, in buildGAPIServiceObject
SERVICE_ACCOUNT_EMAIL = json_data[u'client_email']
KeyError: u'client_email'
What could be going on?
from gam.
@DanielAjoy if it's the same as my problem, your keys are out of sync. If you can regenerate them as per my comment above it should work again....at least, it did for me.
from gam.
Related Issues (20)
- Bulk remove users from group via CSV file HOT 1
- Mark "Google Project Creation" as trusted app early in GAM setup HOT 5
- $title > ERROR: invalid argument (Secondword) for account organization details HOT 3
- make gam available as a Homebrew package ??? HOT 4
- error "End date greater than LastReportedDate" when trying to generate a report HOT 4
- delegated user not showing up in account switcher HOT 1
- Student Email not being displayed on print guardians HOT 1
- "Delete User Other Contacts" broken? HOT 7
- GAM show imap doesn't list the usernames HOT 2
- Token has been expired or revoked. HOT 3
- ERROR: projection is not a valid argument for "gam info browser" HOT 1
- Batch ChromeOS actions HOT 6
- Vault support for Calendar HOT 1
- Warn when GAM is calling a deprecated API HOT 1
- Allow selection of limited service account DwD scopes HOT 1
- S/MIME certificate provisioning for Gmail CSE HOT 2
- Make GAM available via winget
- Creating user delegate fails silently
- Stuck at "Something went Wrong" screen on google after trying to get the verification code on GAM installation HOT 4
- "show drivefileacl" out to csv HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gam.