Open kushagra-arta opened 1 year ago
@kushagra-arta Could you please check whether you run into syntax error or not while executing it on your local machine, cause somehow I have this feeling that it might be related to the syntax error. It would be great if you could replace the two last lines with these and check the result:
new_member = {'email': '[test+email@gmail.com](mailto:test+email@gmail.com)', 'role': 'MEMBER'} service.members().insert(groupKey='group123456', body=new_member).execute()
https://developers.google.com/resources/api-libraries/documentation/admin/directory_v1/python/latest/admin_directory_v1.members.html#insert
Environment details
Ubuntu 20.04.5 LTS
3.8.13
22.0.4
google-api-python-client
version:2.27.0
Steps to reproduce
+
sign into a group -> 404 Error+
sign works -> 200.Code example
Stack trace
The same email when inserted via UI works.