Hi Alain, I don't find any other error message than '400 Bad Request'. Do you have any tip how to find out more details? In VB.net 2010 I've caught the exception but I don't see any further infos. See http://img844.imageshack.us/img844/5361/contactsk.png Many thanks!
On Fri, Jul 29, 2011 at 5:34 PM, Alain Vongsouvanh <[email protected]>wrote: > Hello, > > The API usually send an error message along the HTTP Status code and > reason. Can you share with us what the error message is? > I just tried sending the XML you provided using OAuth > Playground<http://googlecodesamples.com/oauth_playground/index.php>and it > worked perfectly. > > Best, > Alain > > On Thu, Jul 28, 2011 at 10:21 AM, Kai <[email protected]> wrote: > >> Hi all, >> >> I'm using dotnetopenauth <http://www.dotnetopenauth.net> for >> authentication with Google, this works fine. Now I'm testing to add a new >> contact, but unfortunately I always get 400 Bad Request. The XML I supply >> looks like this: >> >> <atom:entry xmlns:atom="http://www.w3.org/2005/Atom" xmlns:gd=" >> http://schemas.google.com/g/2005"> >> <atom:category scheme="http://schemas.google.com/g/2005#kind" term=" >> http://schemas.google.com/contact/2008#contact" /> >> <gd:name> >> <gd:givenName>Elizabeth</gd:givenName> >> <gd:familyName>Bennet</gd:familyName> >> <gd:fullName>Elizabeth Bennet</gd:fullName> >> </gd:name> >> </atom:entry> >> >> According to the Google Developer's >> Guide<http://code.google.com/intl/en/apis/contacts/docs/3.0/developers_guide_protocol.html#Creating> >> the format should be correct. I think I don't have to supply all fields, so >> I just use these main fields for the initial testing. Now I get Error 400 >> Bad Request and I don't know how / what to fix. Is there any chance to get >> more details about it? >> Many 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 > > > > -- > 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 > -- 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
