Hello Karra, You need to use the contact's edit or self URL and not the contact's Atom ID for "query" request.
Best, Alain On Fri, Jul 22, 2011 at 6:44 PM, Karra <[email protected]> wrote: > I gave a bunch of IDs for contacts that I want to retrieve in a batch > operation. The dump of my batch operation feed is given below. This fails > with an 'Invalid entry Id/Uri.' Can some show a sample feed or python code > to query a bunch of contacts given their IDs? > > <?xml version="1.0" ?> > <ns0:feed xmlns:ns0="http://www.w3.org/2005/Atom"> > <ns0:entry> > <ns0:id> > > http://www.google.com/m8/feeds/contacts/karra.etc%40gmail.com/base/4d0206c28db3ef07 > </ns0:id> > <ns1:id xmlns:ns1="http://schemas.google.com/gdata/batch"> > batchid0 > </ns1:id> > <ns1:operation type="query" xmlns:ns1=" > http://schemas.google.com/gdata/batch"/> > </ns0:entry> > > .... > > </ns0:feed> > > -- > 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 -- 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
