health03adv / google-gdata

Automatically exported from code.google.com/p/google-gdata
0 stars 0 forks source link

Non-stop "Execution resulted in a redirect" #514

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Using:
    GData .NET Client Library (version=1.6.0.0, runtime version=v2.0.50727)
    Windows Webserver 2008 R2

Issue:
    error: Execution resulted in a redirect from https://www.google.com/calendar/feeds/default/private/full/8rbbudflu31r1icrs7mtqon29k?gsessionid=xZ69jusyYmLJhWRoUyYAxQ
    Before 11 june 2011 this error occurred once in a while (and was no problem).
    Since 11 june 2011 the error is suddenly given at EVERY QUERY. 
    Reading Calendar events has become impossible. 

Reproduction code:  
    string SomeEventId = "i5l6nrgedp0q50p5jf3rsikv9s"; //This is any existing EventId
    EventQuery myQuery = new EventQuery("https://www.google.com/calendar/feeds/default/private/full/" + SomeEventId);
    EventFeed myResultsFeed = service.Query(myQuery) as EventFeed;

Original issue reported on code.google.com by Compan...@gmail.com on 14 Jun 2011 at 12:56

GoogleCodeExporter commented 8 years ago
I see you are using an old version of the client library, the latest one is 
1.8.0.0, please update your local version.

Why are you specifying an eventId to retrieve a feed of events?
The endpoint to retrieve events doesn't include the eventId.

Original comment by ccherub...@google.com on 14 Jun 2011 at 1:15

GoogleCodeExporter commented 8 years ago
Will try 1.8.0.0.

As to you question above:
I wish to retrieve an EventEntry by eventId, so code above continues with:
if (myResultsFeed.Entries.Count > 0) eventEntry = 
(EventEntry)myResultsFeed.Entries[0]; else ..not found..

I could not find a method in help docs to retrieve a single EventEntry by 
eventId more efficiently.
Any suggestions here ?

Original comment by Compan...@gmail.com on 15 Jun 2011 at 6:25

GoogleCodeExporter commented 8 years ago
The way to retrieve a single event with the Calendar service is correct.

Please let me know if updating to the new version of the library fixed the main 
issue.

Original comment by ccherub...@google.com on 15 Jun 2011 at 10:57

GoogleCodeExporter commented 8 years ago

Original comment by ccherub...@google.com on 1 Aug 2011 at 6:05