Thanks Julian On Tue, May 19, 2009 at 11:39 AM, Julian (Google) <[email protected]> wrote:
> > Hi, > > You are missing the Contacts namespace, you try using the following: > > <entry xmlns='http://www.w3.org/2005/Atom' > xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' > xmlns:gContact='http://schemas.google.com/contact/2008' > xmlns:gd='http://schemas.google.com/g/2005'> > > Cheers, > Julian. > > On May 18, 5:45 pm, letsgo <[email protected]> wrote: > > In my effort to update a Contact's Group Membership I am getting error > > code 400 and this message. I am attaching my XML , can someone please > > point me where I am making the mistake. > > > > Error 400 - The prefix "gContact" for element > > "gContact:groupMembershipInfo" is not bound > > > > '<?xml version=\'1.0\' encoding=\'UTF-8\' ?> > > <entry xmlns=\'http://www.w3.org/2005/Atom\' > > xmlns:gd=\'http://schemas.google.com/g/2005\'> > > <id>http://www.google.com/m8/feeds/contacts/xxx%40xxx.com/base/ > > 3548c88e8a736b8b</id> > > <updated>2009-05-15T21:37:41.928Z</updated> > > <category scheme=\'http://schemas.google.com/g/2005#kind\' > > term=\'http://schemas.google.com/contact/2008#contact\' /> > > <link rel=\'self\' type=\'application/atom+xml\' > > href=\'http://www.google.com/m8/feeds/contacts/xxx%40xxxx.com/base/ > > 3xxxxxx\' /> > > <link rel=\'edit\' type=\'application/atom+xml\' > > href=\'http://www.google.com/m8/feeds/contacts/xxxx%40xxx.com/base/ > > 3xxxxx\' /> > > <gd:email rel=\'http://schemas.google.com/g/2005#work\' > > address=\'[email protected] \' /> > > <gContact:groupMembershipInfo deleted=\'false\' > > href=\'http://www.google.com/m8/feeds/groups/rogting > > %40student.fdu.edu/base/297a0f2e8d34a436\' /> > > </entry> ' > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Contacts API" 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-contacts-api?hl=en -~----------~----~----~----~------~----~------~--~---
