Hi Glen,

The URI you are using is still invalid, the correct one is:

https://apps-apis.google.com/a/feeds/group/2.0/cnm.edu/next_group/member

Please note that "member" in the url above must NOT be replaced with the
username of the account to be added. That data only goes in the request
body.

Claudio

On Sat, Jun 9, 2012 at 8:28 AM, Glen Holcomb <[email protected]> wrote:

> This is very strange.
>
> I am still getting the Invalid request URI error when trying to add a
> member to the group.
>
> I am sending my POST request to the following URI:
>
> https://apps-apis.google.com/a/feeds/group/2.0/cnm.edu/next_group/lholcomb2
>
> I've tried the full email address for both the group and user as well but
> I still get "Invalid request URI"
>
> I'm including the following document in the POST body although the error
> would lead me to believe it isn't getting that far:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <atom:entry xmlns:atom="http://www.w3.org/2005/Atom"; xmlns:apps="
> http://schemas.google.com/apps/2006"; xmlns:gd="
> http://schemas.google.com/g/2005";>
>   <apps:property name="memberId" value="[email protected]"/>
> </atom:entry>
>
> I've also verified that I'm authenticated although that should generate an
> Invalid Token error rather than a URI error.
>
> I can create and delete groups just fine I just can't seem to add members
> to a group.
>
> On Friday, June 8, 2012 10:15:23 AM UTC-6, Glen Holcomb wrote:
>
>> I'm working with the REST API and am receiving an "Invalid request URI"
>> when trying to add a member to a group.  My request URI appears to match
>> the format provided in the documentation.
>>
>> https://apps-apis.google.com/**a/feeds/group/2.0/cnm.edu/**
>> next_group/lholcomb2<https://apps-apis.google.com/a/feeds/group/2.0/cnm.edu/next_group/lholcomb2>
>>
>> I get the same error when I specify the full email addresses of the group
>> and user.  Any ideas what the request URI should actually look like?
>>
>> This is where I'm looking https://developers.**google.com/google-apps/**
>> provisioning/#methods_for_**group_members<https://developers.google.com/google-apps/provisioning/#methods_for_group_members>
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Apps Domain Information and Management APIs" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-apps-mgmt-apis/-/OF1ACYBy3DMJ.
>
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-apps-mgmt-apis?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Apps Domain Information and Management APIs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-apps-mgmt-apis?hl=en.

Reply via email to