Google Admin SDK error Resource Not Found: domain when trying to list existing users
I am trying to write a simple script to get a list of my Google Apps users using Google's python API. So far it looks like this (based on a Google example): !/usr/bin/python import httplib2 from apiclient import errors from apiclient.discovery import build from oauth2client.client import OAuth2WebServerFlow from oauth2client.client import SignedJwtAssertionCredentials client_email = 'service_account_email@developer.gserviceaccount.com' with open("Python GAPS-98dfb88b4c9f.p12") as f: private_key = f.read() OAUTH_SCOPE = 'https://www.googleapis.com/auth/admin.directory.user' credentials =