Hello, The groupMemberShipInfo "href" attribute must be set to a valid contact group Atom ID. This Atom ID is unfortunately linked to a user which is why the user's email must be set instead of "default".
Best, Alain On Wed, Jan 11, 2012 at 3:27 AM, Rubén Sánchez <[email protected]> wrote: > Hi people > > Why do I get this error? I do the following code: > > // add org name element > $group = $doc->createElement('gContact:groupMembershipInfo'); > $group->setAttribute('deleted' ,'false'); > $group->setAttribute('href' ,'http://www.google.com/m8/feeds/groups/* > default*/base/6'); > $entry->appendChild($group); > > but I get this error: > ERROR:Expected response code 200, got 400 Referenced group doesn't belong > to the same user. Should be: '[email protected]'. Is: 'default' > > If I change default for an email, it works. According to the documentation > setting as userEmail => default is totally valid. > > I hope you can help me with this. > > Thanks in advance! > Ruben > > > > -- > You received this message because you are subscribed to the Google > Groups "Google Contacts, Shared Contacts and User Profiles 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://code.google.com/apis/contacts/community/forum.html > -- Alain Vongsouvanh | Developer Programs Engineer -- You received this message because you are subscribed to the Google Groups "Google Contacts, Shared Contacts and User Profiles 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://code.google.com/apis/contacts/community/forum.html
