Closed egenethebest closed 1 year ago
Send me a Meet/Zoom invitation
ross.scroggs @ gmail.com
The problem is in the People API. There is no parameter specifying a contact group when listing contacts. You have to make a call asking for a list of members in a contact group and then get their details with an API call per contact.
Get 6.28.04 and try:
gam user
Thank you very much Ross for your hard work! filtercontactgroup works like a charm, I am now getting a lot less errors.
PS. the Google People API is terrible, the legacy contacts API was way better.
Often when trying to print users's contacts in a large contact group GAM ends up erroring our with:
ERROR: 503: serviceNotAvailable - The service is currently unavailable.
This causes many of my scripts that sync contactgroups to fail since it does not retry and just fails. Maybe it should back off like it does when you exceed a quota ?
Here is an example of this occuring:
This specific contact group has about 1.5K contacts, however, I have seen this occur with as little as over 100 contacts.
GAM Version used: