Hey Alain, Thanks for the response, i will give it a shot and see.
On May 26, 11:03 am, Alain Vongsouvanh <[email protected]> wrote: > Hello Adam, > > Unfortunately, the calendar API will always issue a redirect to give you a > gsessionid that will optimize your subsequent requests on our servers. > Using the GData client library should be transparent for you as it is taking > care of handling those redirect; but there might some times where this error > occurs as you may have noticed. > > The best way to work around this is to catche the Exception and re-send the > request as there is nothing else you can do on your part. > > I hope this helped! > Best, > Alain > > > > > > > > > > On Wed, May 25, 2011 at 12:41 PM, Adam H <[email protected]> wrote: > > I am attempting to develop an application in C# which will sync the > > Google Calendar with a 3rd party application. > > Most of the time everything runs smoothly however on occasion i will > > receive this error message > > > Error Message: > > Execution resulted in a redirect from > > >https://www.google.com/calendar/feeds/[Privacy]@gmail.com/private/full?start-min=2011-05-25T00:00:00-05:00&start- > > max=2012-05-25T00:00:00-05:00&gsessionid=[Privacy] > > > Stack Trace: > > at Google.GData.Client.GDataRequest.Execute() > > at Google.GData.Client.GDataGAuthRequest.Execute(Int32 > > retryCounter) > > at Google.GData.Client.GDataGAuthRequest.Execute() > > at Google.GData.Client.Service.Query(Uri queryUri, DateTime > > ifModifiedSince, String etag, Int64& contentLength) > > at Google.GData.Client.Service.Query(Uri queryUri, DateTime > > ifModifiedSince) > > at Google.GData.Client.Service.Query(FeedQuery feedQuery) > > at Google.GData.Calendar.CalendarService.Query(EventQuery > > feedQuery) > > at GmailSync_API.GMailApi.GetUsersGmailEvents(GMailUser usr) in C: > > \Documents and Settings\[Privacy]\my documents\visual studio > > 2010\Projects\GMailSync\GmailSync-API\GMailApi.cs:line 74 > > > There seems to be no rhyme or reason for this error because if i just > > run it again directly after getting this error I don't get this error > > again. > > > Relevant Info: > > > Visual Studio 2010 - C# - .NET 4.0 > > Google.GData.AccessControl v1.8 > > Google.GData.Calendar v1.8 > > Google.GData.Client v1.8 > > Google.GData.Extensions v1.8 > > > Most commonly seen when executing a query with StartTime & EndTime > > being set on the EventQuery or when i use ?extq=[ExtendedPropertyName]: > > [Value] but once again this is inconsistent at best this is just my > > observation. > > > Any help or input will be greatly appreciated. > > > Thanks, > > Adam H > > > -- > > 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
