On Fri, Nov 7, 2008 at 6:56 AM, Jozy <[email protected]> wrote: > > Hi, > I am getting error while adding event in Google calendar. > > Firstly when I add item for first time the response I get is > HttpStatusCode.Found instead of HttpStatusCode.Create and then while > inserting event using function > Insert(Uri feedUri, AtomEntry newEntry) in service.cs, the code > > Stream returnStream = EntrySend(feedUri, newEntry, > GDataRequestType.Insert); > > returns stream which is unreadable and thus > returns exception "Root element is missing" while parsing > > in (returnFeed.Parse(returnStream, AlternativeFormat.Atom);) > > Please look into this. > > Regards, > Karan
Karan, What client library are you using to make these requests? If you implemented your own, it sounds like it isn't handling the redirect the Calendar API always issues if a session cookie isn't present. -- Trevor Johns --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
