martin-booxi / google-apis-explorer

Automatically exported from code.google.com/p/google-apis-explorer
Apache License 2.0
0 stars 0 forks source link

Issue with Admin Directory API - adding group members #167

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Attempting to send a POST request to 
https://www.googleapis.com/admin/directory/v1/groups/groupKey/members to add a 
member to a group.

What is the expected output? What do you see instead?
This was working a few days back though now I get the following error:

results status code: 400
{"errors"=>[{"domain"=>"global", "reason"=>"required", "message"=>"Missing 
required field: memberKey"}], "code"=>400, "message"=>"Missing required field: 
memberKey"}

The API documentation for directory.members.insert makes no mention of 
requiring the use of the memberKey field when adding a member to a group. Other 
API request (delete, list) are still working correctly.

What version of the product are you using? On what operating system?
I am using the Ruby API Client [google-api-client (0.7.1)] on a CentOS 6.x 
Linux system.

Please provide any additional information below.

Original issue reported on code.google.com by xelwarto...@gmail.com on 6 May 2014 at 8:46

GoogleCodeExporter commented 8 years ago
I'm having the same issue!

Original comment by Pa...@obgynindiana.com on 8 Apr 2015 at 2:17

GoogleCodeExporter commented 8 years ago
Hi guys, 

I posted a repo that demonstrates how to use bot the API (REST) & the SDK with 
Python.
It might help you with your issue:
https://github.com/alfasin/Google-Admin-Directory-API

Good luck,
Nir

Original comment by alf...@netflix.com on 8 Apr 2015 at 2:38