KeyError: u'client_email'

71 views
Skip to first unread message

Daniel Ajoy

unread,
Feb 10, 2015, 5:43:45 PM2/10/15
to google-ap...@googlegroups.com
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 X...@YYYY.org show filelist

But I got:

Traceback (most recent call last):
  File "gam.py", line 7599, in <module>
    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?



Daniel

Ben Harris

unread,
Feb 25, 2015, 8:36:04 PM2/25/15
to google-ap...@googlegroups.com
Same issue here, using Linux.



..................................................................................................................

This e-mail, including attachments, relates to Retrieve a Golden of Minnesota (RAGOM) volunteer activity.  It is intended strictly for the use of RAGOM volunteers for the performance of their volunteer-related activities.  It may be used only by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited without express written permission from a RAGOM operations manager . If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately.

Reply all
Reply to author
Forward
0 new messages