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

unable to create groups #6

Open
ifiscoder opened this issue May 28, 2021 · 0 comments
Open

unable to create groups #6

ifiscoder opened this issue May 28, 2021 · 0 comments

Comments

@ifiscoder
Copy link

Unable to create groups : safire add members "" [email protected]
Traceback (most recent call last):
File "/usr/local/bin/safire", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.7/dist-packages/safire/safire.py", line 697, in main
fire.Fire(Commands)
File "/usr/local/lib/python3.7/dist-packages/fire/core.py", line 138, in Fire
component_trace = _Fire(component, args, parsed_flag_args, context, name)
File "/usr/local/lib/python3.7/dist-packages/fire/core.py", line 468, in _Fire
target=component.name)
File "/usr/local/lib/python3.7/dist-packages/fire/core.py", line 672, in _CallAndUpdateTrace
component = fn(*varargs, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/safire/safire.py", line 467, in members
group_list = self._list.groups(group_filter, file_tag, group_token, prt)
File "/usr/local/lib/python3.7/dist-packages/safire/safire.py", line 146, in groups
grouplist = svc.groups().list(customer="my_customer").execute()["groups"]
File "/usr/local/lib/python3.7/dist-packages/googleapiclient/_helpers.py", line 134, in positional_wrapper
return wrapped(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/googleapiclient/http.py", line 915, in execute
raise HttpError(resp, content, uri=self.uri)
googleapiclient.errors.HttpError: <HttpError 403 when requesting https://admin.googleapis.com/admin/directory/v1/groups?customer=my_customer&alt=json returned "Not Authorized to access this resource/api". Details: "Not Authorized to access this resource/api">


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

1 participant