Also FWIW I tried adding some code to my script that would retry the same request 3 times (sleeping for 3 seconds between retries) if it encountered the 404 response when trying to create the exception. When the 404 was encountered, every subsequent attempt got the same response. (This is not the case for other intermittent errors like "failure to parse recurrence rule".)
Regards, Charlie On Jan 28, 11:03 pm, "Charlie Wood" <[EMAIL PROTECTED]> wrote: > Ryan, > > Unfortunately, no, this is not the only condition that will cause a > 404 when I try to create a recurrence exception. It will also happen > randomly even when all of the parameters are correct. I can verify > this by repeatedly running a script that creates a recurring event and > an associated exception. Sometimes creating the exception will create > a 404, sometimes not. But the original recurring event always gets > created. (Maybe a timing issue? I'm creating the exception immediately > after creating the original event.) > > Regards, > Charlie > > On Jan 28, 12:56 pm, "Ryan Boyd (Google)" <[EMAIL PROTECTED]> > wrote: > > > Hi Charlie, > > > Thanks very much for the additional information. I'll file a bug to > > improve the response code/error message in this condition. Did you > > find that this is the only condition that causes this error for you, > > or are you still getting this error even when specifying a valid > > startTime? > > > Thanks again! > > > Cheers, > > > -Ryan > > > On Jan 26, 1:05 pm, "Charlie Wood" <[EMAIL PROTECTED]> wrote: > > > > I found a condition that can cause this error, so I thought I'd share > > > it with the group in case it might save someone some time. > > > > When you create a recurrence exception, you include information about > > > an originalEvent. If you get the originalEvent's startTime wrong, > > > you'll get a 404 when trying to insert the exception. I wasn't properly > > > formatting the startTime of originalEvents that were all-day events, so > > > I was getting 404's. > > > > Regards, > > > Charlie --~--~---------~--~----~------------~-------~--~----~ 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://groups.google.com/group/google-calendar-help-dataapi?hl=en -~----------~----~----~----~------~----~------~--~---
