Hi Kulvinder, Please share the .NET code to reproduce the error for us to look for a bug/solution.
Thanks, Julian On Oct 9, 12:59 pm, Kulvinder Singh <[email protected]> wrote: > Julian, > > Can you please reply to the posts i have raised ? It has been more than 3 > days and there is no reply on these ? > > Thanks > Kulvinder Singh > > ________________________________ > From: Kulvinder Singh <[email protected]> > To: [email protected] > Sent: Tue, October 6, 2009 4:07:27 PM > Subject: [Contacts API] Re: Internal server error > > POST /m8/feeds/contacts/testuser%40a.com/full HTTP/1.1 > Content-Type: application/atom+xml; charset=UTF-8 > User-Agent: G-Technologies Inc./GDataGAuthRequestFactory-CS-Version=1.5.0.0 > Authorization: GoogleLogin > auth=DQAAAJkAAADFVVxwUeP2M78iTVGbtBQ-BcNg-iYmw-sSZWDa4u0Lls4b4O7LaJhxdDQ3Vsi-jDU_7NQQyYBXF7aWusogVj3DGvSOgv3hQlbr > GData-Version: 3.0 > Host:www.google.com > Content-Length: 777 > Expect: 100-continue > Connection: Keep-Alive > > <?xml version="1.0" encoding="utf-8"?> > > <gd:name> > <gd:fullName>T</gd:fullName> > </gd:name> > > <gd:when startTime="1899-12-30" /> > </gContact:event> > <gd:extendedProperty name="-2139123622" > value="000000001123BB8417D3924C89AC863AA2D15AEF44D75D00" /> > > <content type="text" /> > </entry> > > GETTING AN INTERNAL SERVER ERROR. What is wrong ?? > > ________________________________ > From: Kulvinder Singh <[email protected]> > To: [email protected] > Sent: Tuesday, October 6, 2009 12:12:29 PM > Subject: [Contacts API] Re: Internal server error > > Please respond. > > ________________________________ > From: Kulvinder Singh <[email protected]> > To: [email protected] > Sent: Thursday, October 1, 2009 7:57:12 PM > Subject: [Contacts API] Re: Internal server error > > I just used the .NET API. So, is there a bug in that ? > > ________________________________ > From: Julian (Google) <[email protected]> > To: Google Contacts API <[email protected]> > Sent: Wednesday, September 30, 2009 5:02:35 PM > Subject: [Contacts API] Re: Internal server error > > Hi, > > You are missing the <gContact:event> opening element. Here is an > example: > > http://www.w3.org/2005/Atom' > xmlns:gd='http://schemas.google.com/g/2005' > xmlns:gContact="http://schemas.google.com/contact/2008"> > http://schemas.google.com/g/2005#kind' > term='http://schemas.google.com/contact/2008#contact'/> > <gContact:event label=''> > <gd:when startTime="2009-09-28" /> > </gContact:event> > <gd:extendedProperty name="-2139123622" > value="000000001123BB8417D3924C89AC863AA2D15AEF04935D00" /> > </atom:entry> > > Cheers, > Julian. > > On Sep 29, 12:17 pm, Kulvinder Singh <[email protected]> wrote: > > > Hi, > > > I am getting an internal server error when trying to update a contact with > > the following XML (trying to create an anniversary date in a contact > > through Events) : > > > POST /m8/feeds/contacts/testuser%40a.com/full HTTP/1.1 > > Content-Type: application/atom+xml; charset=UTF-8 > > User-Agent: G-Technologies/GDataGAuthRequestFactory-CS-Version=1.5.0.0 > > Authorization: GoogleLogin > > auth=DQAAAJkAAADb3KdfxKqdGmU8E7Tpou15ujox_ePy0QZO-zzBj-NBOKiRUexSgxOhqxB3AILniJ > > GData-Version: 3.0 > > Host:www.google.com > > Content-Length: 799 > > Expect: 100-continue > > Connection: Keep-Alive > > > <?xml version="1.0" encoding="utf-8"?> > > > <gd:name> > > <gd:fullName>t</gd:fullName> > > </gd:name> > > > <gd:when startTime="2009-09-28" /> > > </gContact:event> > > <gd:extendedProperty name="-2139123622" > > value="000000001123BB8417D3924C89AC863AA2D15AEF04935D00" /> > > > <content type="text" /> > > </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 -~----------~----~----~----~------~----~------~--~---
