Hi Vitalij, I think the problem is that you are using the "base" projection, please try "full" instead:
Do the HTTP PUT to http://www.google.com/m8/feeds/contacts/[my_email]%40gmail.com/full/366eeb8e08359c1c Also double check that you have the header GData-Version: 2 and the If- Match with the original Etag or * You can find more information in the following link: http://code.google.com/apis/contacts/docs/2.0/developers_guide_protocol.html#Updating Cheers, Julian On Feb 5, 1:00 pm, "[email protected]" <[email protected]> wrote: > Hello, > > Server returns error 400 and response is "Group membership information > not supported" if try to update contact using the following xml: > > <?xml version="1.0" encoding="UTF-8" ?> > - <entry xmlns="http://www.w3.org/2005/Atom" xmlns:gContact="http:// > schemas.google.com/contact/2008" xmlns:batch="http:// > schemas.google.com/gdata/batch" xmlns:gd="http://schemas.google.com/g/ > 2005" gd:etag=""SHc5fzVSLip7ImA9WxVQGE4KRAU.""> > <id>http://www.google.com/m8/feeds/contacts/[my_email]%40gmail.com/ > base/366eeb8e08359c1c</id> > <updated>2009-02-05T10:38:39.927Z</updated> > <app:edited xmlns:app="http://www.w3.org/2007/ > app">2009-02-05T10:38:39.927Z</app:edited> > <category scheme="http://schemas.google.com/g/2005#kind" > term="http://schemas.google.com/contact/2008#contact" /> > <title type="text">Title</title> > <content type="text">ok</content> > <link rel="self" type="application/atom+xml" > href="http://www.google.com/m8/feeds/contacts/[my_email]%40gmail.com/base/366eeb8e08359c1c" > /> > <link rel="edit" type="application/atom+xml" > href="http://www.google.com/m8/feeds/contacts/[my_email]%40gmail.com/base/366eeb8e08359c1c" > /> > - <gd:organization rel="http://schemas.google.com/g/2005#other"> > <gd:orgTitle>Developer1</gd:orgTitle> > </gd:organization> > <gd:phoneNumber rel="http://schemas.google.com/g/2005#mobile" > primary="true">[phone number]</gd:phoneNumber> > <gd:postalAddress rel="http://schemas.google.com/g/2005#home" > primary="true">[adress]</gd:postalAddress> > <gContact:groupMembershipInfo href="http://www.google.com/m8/feeds/ > groups/[my_email]%40gmail.com/base/6" deleted="false" /> > <gContact:groupMembershipInfo href="http://www.google.com/m8/feeds/ > groups[my_email]%40gmail.com/base/4c9d3aa70acade9e" deleted="false" / > > </entry> > > If i remove both <gContact:groupMembershipInfo ... /> lines everything > works just fine. Am i missing something in documentation or is it just > something wrong with my xml? > > Thanks, > Vitalij --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
