Hello,

I've just tried posting your XML and it worked perfectly. What URL are you
sending your request to?
It should be something like:
  https://www.google.com/m8/feeds/contacts/default/full/batch

Also, please make sure to use version 3.0 of the API:

http://code.google.com/apis/contacts/docs/3.0/developers_guide.html#Versioning

Best,
Alain

On Thu, Oct 13, 2011 at 9:04 PM, Posey <[email protected]> wrote:

> Those elements are present. My XML viewing interface didn't display
> them. here is the actual  XML that is sent up:
>
> <?xml version='1.0' encoding='UTF-8'?>
> <feed 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'>
> <entry xmlns="http://www.w3.org/2005/Atom"; xmlns:gd="http://
> schemas.google.com/g/2005" xmlns:gContact="http://schemas.google.com/
> contact/2008"> <category scheme="http://schemas.google.com/g/
> 2005#kind" term="http://schemas.google.com/g/2008#contact"/><operation
> type="insert"/><gd:structuredPostalAddress rel="http://
> schemas.google.com/g/2005#work"><gd:formattedAddress>Shanghai,
> Greater&#13;
> China</gd:formattedAddress><gd:city>Shanghai</
> gd:city><gd:region>Greater</gd:region><gd:country>China</gd:country></
> gd:structuredPostalAddress><gContact:groupMembershipInfo
> deleted='false' href='http://www.google.com/m8/feeds/groups/
> plxsynctest3%40gmail.com/base/6' /></entry><entry xmlns="http://
> www.w3.org/2005/Atom" xmlns:gd="http://schemas.google.com/g/2005";
> xmlns:gContact="http://schemas.google.com/contact/2008";> <category
> scheme="http://schemas.google.com/g/2005#kind"; term="http://
> schemas.google.com/g/2008#contact"/><operation type="insert"/
> ><gd:structuredPostalAddress rel="http://schemas.google.com/g/
> 2005#work"><gd:formattedAddress>Shanghai, Greater&#13;
> China</gd:formattedAddress><gd:city>Shanghai</
> gd:city><gd:region>Greater</gd:region><gd:country>China</gd:country></
> gd:structuredPostalAddress><gContact:groupMembershipInfo
> deleted='false' href='http://www.google.com/m8/feeds/groups/
> plxsynctest3%40gmail.com/base/6' /></entry></feed>
>
>
>
> On Oct 13, 3:44 am, Alain Vongsouvanh <[email protected]> wrote:
> > Hello,
> >
> > Your request feed seems invalid, please have a look at the developers
> guide:
> >
> > http://code.google.com/apis/contacts/docs/3.0/developers_guide.html#B...
> >
> > You are missing some xmlns such as atom, gd, batch and gContact
> >
> > Best,
> > Alain
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > On Tue, Oct 11, 2011 at 11:31 PM, Posey <[email protected]> wrote:
> > > I am hitting this URL:
> > >https://www.google.com/m8/feeds/contacts/default/full/batch
> >
> > > On Oct 11, 2:29 pm, Posey <[email protected]> wrote:
> > > > I am adding two contacts with the same address to Google contacts:
> >
> > > > <feed><entry><category scheme="http://schemas.google.com/g/2005#kind
> "
> > > > term="http://schemas.google.com/g/2008#contact"/><operation
> > > > type="insert"/><gd:structuredPostalAddress rel="http://
> > > > schemas.google.com/g/2005#work"><gd:formattedAddress>Shanghai,
> Greater
> >
> > > > China</gd:formattedAddress><gd:city>Shanghai</
> > > >
> gd:city><gd:region>Greater</gd:region><gd:country>China</gd:country></
> > > > gd:structuredPostalAddress><gContact:groupMembershipInfo
> > > > deleted="false" href="http://www.google.com/m8/feeds/groups/
> > > > plxsynctest3%40gmail.com/base/6"/></entry><entry><category
> > > > scheme="http://schemas.google.com/g/2005#kind"; term="http://
> > > > schemas.google.com/g/2008#contact"/><operation
> > > type="insert"/><gd:structuredPostalAddress rel="
> > >http://schemas.google.com/g/
> >
> > > > 2005#work"><gd:formattedAddress>Shanghai, Greater
> >
> > > > China</gd:formattedAddress><gd:city>Shanghai</
> > > >
> gd:city><gd:region>Greater</gd:region><gd:country>China</gd:country></
> > > > gd:structuredPostalAddress><gContact:groupMembershipInfo
> > > > deleted="false" href="http://www.google.com/m8/feeds/groups/
> > > > plxsynctest3%40gmail.com/base/6"/></entry></feed>
> >
> > > > I see this error:
> >
> > > > Inconsistent repeating query parameter #13;
> > > > China&lt;/gd:formattedAddress&gt;&lt;gd:city&gt;Shanghai&lt;/
> > > > gd:city&gt;&lt;gd:region&gt;Greater&lt;/
> > > > gd:region&gt;&lt;gd:country&gt;China&lt;/gd:country&gt;&lt;/
> > > > gd:structuredPostalAddress&gt;&lt;gContact:groupMembershipInfo
> deleted
> >
> > > > What gives? Thanks!
> >
> > > --
> > > 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
>



-- 
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

Reply via email to