Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List Group Members Issue #244

Closed
dav1303 opened this issue Feb 23, 2022 · 4 comments
Closed

List Group Members Issue #244

dav1303 opened this issue Feb 23, 2022 · 4 comments

Comments

@dav1303
Copy link

dav1303 commented Feb 23, 2022

Hi

Seems we have got an issue here

gam print group-members emailmatchpattern "be_mass_mailing_|fr_mass_mailing_" fields group,email > D:\0-IN\Group-MassMailing\groups.csv

Getting all Groups, may take some time on a large Google Workspace Account...
Got 600 Groups: a@xxx.com Traceback (most recent call last):
File "init.py", line 4572, in callGAPI
File "googleapiclient_helpers.py", line 131, in positional_wrapper
File "googleapiclient\http.py", line 937, in execute
googleapiclient.errors.HttpError: <HttpError 400 when requesting https://admin.googleapis.com/admin/directory/v1/groups?orderBy=email&fields=nextPageToken%2Cgroups%28email%29&customer=my_customer&pageToken=ClGejaCSnoeWoJqFj5qTmouev5yejY2amZCKjdGckJL_AP6YmJigz8_Pz8_Py5zNyZmZm8zInf8A_v_-_5iYmKDPz8_Pz8_LnM3JmZmbzMid__4Q4wUhImPeCKsuCHdQAloLCRqWgWEwhYFzEANggJCYjQFyBgikztiQBg%3D%3D&prettyPrint=false&alt=json returned "Invalid Input: ClGejaCSnoeWoJqFj5qTmouev5yejY2amZCKjdGckJL_AP6YmJigz8_Pz8_Py5zNyZmZm8zInf8A_v_-5iYmKDPz8_Pz8_LnM3JmZmbzMid__4Q4wUhImPeCKsuCHdQAloLCRqWgWEwhYFzEANggJCYjQFyBgikztiQBg==". Details: "[{'message': 'Invalid Input: ClGejaCSnoeWoJqFj5qTmouev5yejY2amZCKjdGckJL_AP6YmJigz8_Pz8_Py5zNyZmZm8zInf8A_v-_5iYmKDPz8_Pz8_LnM3JmZmbzMid__4Q4wUhImPeCKsuCHdQAloLCRqWgWEwhYFzEANggJCYjQFyBgikztiQBg==', 'domain': 'global', 'reason': 'invalid'}]">

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "init.py", line 26950, in getGroupMembersEntityList
File "init.py", line 4692, in callGAPIpages
File "init.py", line 4595, in callGAPI
gamlib.glgapi.invalidInput: Invalid Input: ClGejaCSnoeWoJqFj5qTmouev5yejY2amZCKjdGckJL_AP6YmJigz8_Pz8_Py5zNyZmZm8zInf8A_v_-_5iYmKDPz8_Pz8_LnM3JmZmbzMid__4Q4wUhImPeCKsuCHdQAloLCRqWgWEwhYFzEANggJCYjQFyBgikztiQBg==

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "init.py", line 60199, in ProcessGAMCommand
File "init.py", line 27177, in doPrintGroupMembers
File "init.py", line 26955, in getGroupMembersEntityList
File "init.py", line 2189, in invalidMember
KeyError: 'query'

@EddyH7
Copy link

EddyH7 commented Feb 23, 2022

We are getting the same issue with "gam print groups" tested by various admin accounts / projects / OS's / machines.

It's been happening for a couple of days now.

Getting all Groups, may take some time on a large Google Workspace Account...
Got 4400 Groups: 123@**.ac.uk - abc@.ac.uk Traceback (most recent call last):
File "init.py", line 4572, in callGAPI
File "googleapiclient/_helpers.py", line 131, in positional_wrapper
File "googleapiclient/http.py", line 937, in execute
googleapiclient.errors.HttpError: <HttpError 400 when requesting https://admin.googleapis.com/admin/directory/v1/groups?orderBy=email&fields=nextPageToken%2Cgroups%28email%29&customer=my_customer&pageToken=ClaTlomaj42QlZqci8_H0piNkIqPv4yXmpmZlpqTm9GenNGKlP8A_piYmKDPz8_Pz8_JzJrPyMnHzJ7I_wD-__7_mJiYoM_Pz8_Pz8nMms_IycfMnsj__hD5IiFEOlPVwUJd0FACWgsJESEk2CiUi_IQA2C33-6tBnIGCIT32ZAG&prettyPrint=false&alt=json returned "Invalid Input: ClaTlomaj42QlZqci8_H0piNkIqPv4yXmpmZlpqTm9GenNGKlP8A_piYmKDPz8_Pz8_JzJrPyMnHzJ7I_wD-__7_mJiYoM_Pz8_Pz8nMms_IycfMnsj__hD5IiFEOlPVwUJd0FACWgsJESEk2CiUi_IQA2C33-6tBnIGCIT32ZAG". Details: "[{'message': 'Invalid Input: ClaTlomaj42QlZqci8_H0piNkIqPv4yXmpmZlpqTm9GenNGKlP8A_piYmKDPz8_Pz8_JzJrPyMnHzJ7I_wD-__7_mJiYoM_Pz8_Pz8nMms_IycfMnsj__hD5IiFEOlPVwUJd0FACWgsJESEk2CiUi_IQA2C33-6tBnIGCIT32ZAG', 'domain': 'global', 'reason': 'invalid'}]">

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "init.py", line 26719, in doPrintGroups
File "init.py", line 4692, in callGAPIpages
File "init.py", line 4595, in callGAPI
gamlib.glgapi.invalidInput: Invalid Input: ClaTlomaj42QlZqci8_H0piNkIqPv4yXmpmZlpqTm9GenNGKlP8A_piYmKDPz8_Pz8_JzJrPyMnHzJ7I_wD-__7_mJiYoM_Pz8_Pz8nMms_IycfMnsj__hD5IiFEOlPVwUJd0FACWgsJESEk2CiUi_IQA2C33-6tBnIGCIT32ZAG

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "init.py", line 60199, in ProcessGAMCommand
File "init.py", line 26724, in doPrintGroups
File "init.py", line 2189, in invalidMember
KeyError: 'query'

@taers232c
Copy link
Owner

taers232c commented Feb 23, 2022 via email

@EddyH7
Copy link

EddyH7 commented Feb 24, 2022

Hi Ross, thanks for getting back to us about this so quickly.

This issue seems to have gone away for us this morning so hopefully it's now resolved for everyone.

Many thanks

@dav1303
Copy link
Author

dav1303 commented Feb 24, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants