I have a working implementation that uses the google calendar API to
retrieve users calendar events. Occasionally when I query their
calendar I'm getting a redirect required exception. I would think
this should be handled completely within the API but the exception
comes out to my code (see end of message). That implies I need to
handle it? Have not seen anything in the docs that refer to this. Any
help would be appreciated. Thanks.
Matt
com.google.gdata.util.RedirectRequiredException: Moved Temporarily
<HTML>
<HEAD>
<TITLE>Moved Temporarily</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Moved Temporarily</H1>
The document has moved <A HREF="
https://www.google.com/calendar/feeds/
britnee.jane08%
40gmail.com/private/full?start-
min=2011-05-30T00:00:00.000-05:00&start-
max=2011-07-04T00:00:00.000-05:00&gsessionid=WSlfWu6VFmqVLub4Yt-
WGA">here</A>.
</BODY>
</HTML>
at
com.google.gdata.client.http.GoogleGDataRequest.handleErrorResponse(GoogleGDataRequest.java:
561)
at
com.google.gdata.client.http.HttpGDataRequest.checkResponse(HttpGDataRequest.java:
552)
at
com.google.gdata.client.http.HttpGDataRequest.execute(HttpGDataRequest.java:
530)
at
com.google.gdata.client.http.GoogleGDataRequest.execute(GoogleGDataRequest.java:
535)
at com.google.gdata.client.Service.getFeed(Service.java:1135)
at com.google.gdata.client.Service.getFeed(Service.java:1077)
at com.google.gdata.client.GoogleService.getFeed(GoogleService.java:
669)
at com.google.gdata.client.Service.query(Service.java:1237)
at com.google.gdata.client.Service.query(Service.java:1178)