Hello Dimitrios, Can you print the details of the exception? The most interesting part would be the URL to which the API tries to redirect your client.
A redirect is expected by the calendar API as it adds a query parameter (gsessionid) to your request to speed up subsequent request. Unfortunately, there are some times where the API sends too much redirect which makes client libraries throw exceptions (> 5 on most client libraries). The best way to prevent this would be to use "try/catch" mechanism and re-send your request when this exception occurs. Best, Alain On Wed, Jun 22, 2011 at 6:16 PM, Dimitrios Zlitidis <[email protected]>wrote: > I'm using the code given in the tutorial. While in most cases, the > application works just fine, in same cases I get this exception in EventFeed > calFeed = myService.Query(myQuery) as EventFeed; > > Can anyone help understand what this is? > > Thanks! > > -- > 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://code.google.com/apis/calendar/community/forum.html > -- Alain Vongsouvanh -- 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://code.google.com/apis/calendar/community/forum.html
