I can confirm this issue. Something is being kept in the session. I'm
also using python, and before I moved to version 2, I had a loop where
request is being retried on 302 error, and it worked. Now, doesn't
matter if I loop 50times trying the same call with one minute sleep
intervals or increasing redirects_remaining value, if I get 302 error,
I will get it for every retry in the same session. Next times
everything works on the first attempt.

Cheers,
Rapolas K.

On Mar 11, 10:31 am, Alen Čretnik <[email protected]> wrote:
> Hello Alain,
>
> Thanks for reply.
>
> I've tried suggested solution, but even if I increase number of
> redirects up to 80-times, it doesn't work.
>
> I think, that there is some information preserved through out this
> session which is 'wrong' and needs to be restarted, because if it
> wants to work it works in the first try and not for example in tenth
> or twentieth try.
>
> Is there any possible workaround?
>
> Regards, Alen
>
> On Mar 10, 5:36 pm, Alain <[email protected]> wrote:
>
>
>
>
>
>
>
> > Hello Alen,
>
> > Unfortunately, this seems to be due to the fact that your request got too
> > many redirects from the API. This can happen quite randomly and you can
> > increase the number of try by adding the "redirects_remaining" to the
> > GetCalendarEventFeed method call (the default value is 4):
>
> > [CODE]
> > calendar_feed = clientCAL.GetCalendarEventFeed(uri, redirects_remaining=10)
> > [/CODE]
>
> > I hope this helped!
> > Best,
> > Alain

-- 
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

Reply via email to