a 400 error happens mostly when you try to update an entry with invalid/incomplete XML (like, adding an event where you specify a start time but no end time). Normally the HTTP body tells you more precisely where to find the fault.
Look at this; http://code.google.com/p/google-gdata/wiki/ErrorHandling Does that help? Frank Mantek On 1/14/07, Kulvinder Singh <[EMAIL PROTECTED]> wrote:
Frank, Can you please elaborate on your comment ? I dont see any ResponseString property of the exception. Can you please give me some scenerios when this exception can occur with respect to Google API ? Also, i am getting Forbidden Exception when i am using my code for Google Applications. Any guess ? *Frank Mantek <[EMAIL PROTECTED]>* wrote: The first thing you should do is check out the HTML body, by checking out the ResponseString property of the exception. Normally this should give you a clue about what element you might have missing. I assume this happens during a loop where you are trying to insert/update a bunch of events? Frank Mantek Google On 1/12/07, Kulvinder Singh <[EMAIL PROTECTED]> wrote: > > Sorry Subject was wrong > > *Kulvinder Singh < [EMAIL PROTECTED]>* wrote: > > Hi All, > > I am using Google Calendar .NET API and i am really in a very bad > position after using this. I dont know why i am not able to figure out a > very frequent exception whenever i upload my outlook events to Google > calendar. > > The exception i am getting is : > > Message : Execution of request failed: > http://www.google.com/calendar/feeds/[EMAIL PROTECTED]/private/full/aks5kvhfsgc5n3vjk1lp1kc2rc/63304120760 > Source : Google.GData.Client > InnerException : The remote server returned an error: (400) Bad > Request. > > > > Can anybody please tell me what is the propable reason for the BAD > REQUEST Error or how can i remove this ? > > Please reply me at the earliest possible. > > Regards > Kulvinder Singh > ------------------------------ > Access over 1 million songs - Yahoo! Music Unlimited.<http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=36035/*http://music.yahoo.com/unlimited/> > ------------------------------ > Don't be flakey. Get Yahoo! Mail for Mobile<http://us.rd.yahoo.com/evt=43909/*http://mobile.yahoo.com/mail>and > always stay connected<http://us.rd.yahoo.com/evt=43909/*http://mobile.yahoo.com/mail>to friends. > > ------------------------------ We won't tell. Get more on shows you hate to love<http://us.rd.yahoo.com/evt=49980/*http://tv.yahoo.com/collections/265%0A> (and love to hate): Yahoo! TV's Guilty Pleasures list.<http://us.rd.yahoo.com/evt=49980/*http://tv.yahoo.com/collections/265%0A>>
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Calendar Data 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-calendar-help-dataapi?hl=en -~----------~----~----~----~------~----~------~--~---
