google-code-export / google-apis-explorer

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

Issue with Admin Directory API - adding group members #167

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 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