You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After setting up groupsettings service, I attempted to do an update method... but got this error message:
[ERROR] HttpError: <HttpError 403 when requesting https://www.googleapis.com/groups/v1/groups/TECH.XYZ%40jerseystem.org?alt=json returned "Groups Settings API has not been used in project 28547294957 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/groupssettings.googleapis.com/overview?project=28547294957 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.">
Traceback (most recent call last):
File "/var/task/populateGoogleGroups_lambda.py", line 51, in lambda_handler
groupMaintenance.standardizeGroupAccess(delegated_user_email,group_code)
File "/var/task/groupMaintenance.py", line 119, in standardizeGroupAccess
response = service.groups().update(groupUniqueId=group_email,body=body).execute()
File "/opt/python/googleapiclient/_helpers.py", line 134, in positional_wrapper
return wrapped(*args, **kwargs)
File "/opt/python/googleapiclient/http.py", line 907, in execute
raise HttpError(resp, content, uri=self.uri)
I've searched through our Google API console looking for project=28547294957 .... and cannot find it... which leads me to ask... where did the python code actually determine (or did it determine) a project to work against... Even if I create a project in Google (in fact I do have a project with googlesettings API enabled), where/how would I identify this... When I try the link, I get:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
After setting up groupsettings service, I attempted to do an update method... but got this error message:
[ERROR] HttpError: <HttpError 403 when requesting https://www.googleapis.com/groups/v1/groups/TECH.XYZ%40jerseystem.org?alt=json returned "Groups Settings API has not been used in project 28547294957 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/groupssettings.googleapis.com/overview?project=28547294957 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.">
Traceback (most recent call last):
File "/var/task/populateGoogleGroups_lambda.py", line 51, in lambda_handler
groupMaintenance.standardizeGroupAccess(delegated_user_email,group_code)
File "/var/task/groupMaintenance.py", line 119, in standardizeGroupAccess
response = service.groups().update(groupUniqueId=group_email,body=body).execute()
File "/opt/python/googleapiclient/_helpers.py", line 134, in positional_wrapper
return wrapped(*args, **kwargs)
File "/opt/python/googleapiclient/http.py", line 907, in execute
raise HttpError(resp, content, uri=self.uri)
I've searched through our Google API console looking for project=28547294957 .... and cannot find it... which leads me to ask... where did the python code actually determine (or did it determine) a project to work against... Even if I create a project in Google (in fact I do have a project with googlesettings API enabled), where/how would I identify this... When I try the link, I get:
Troubleshooting info:
Principal: {my organization sysadmin email address}
Resource: 28547294957
Troubleshooting URL: console.cloud.google.com/iam-admin/troubleshooter;permissions=resourcemanager.projects.get;principal={my organization sysadmin email address};resources=%2F%2Fcloudresourcemanager.googleapis.com%2Fprojects%2F28547294957/result
Missing permissions:
resourcemanager.projects.get
Not sure what steps to take at this point.... anyone have a suggestion?
Beta Was this translation helpful? Give feedback.
All reactions