Hi Kulvinder, Since you are creating a sync application, you should be able to record the last time your application connected to the service. You could pass this in using the updated-min query parameter to the service. This should cause the original recurring event to show up with a status of cancelled and not just these "orphaned" recurrence exceptions. The format of updated-min is discussed on the Google data APIs protocol reference:
http://code.google.com/apis/gdata/reference.html#Queries Cheers, -Jeff On Jul 5, 10:52 pm, Kulvinder Singh <[EMAIL PROTECTED]> wrote: > Hi Jeff, > > Using this URI you can try to download that event. If you get an error then > the original event has been deleted. > > Did you mean that if i have 20 deleted exceptions then i need to download the > original event for each of them ? I think this will take a hell of time. Can > you help me furthur in this ? How should i go about implementing this ? > > Thanks in advance. > > Regards > Kulvinder Singh > > ----- Original Message ---- > From: Jeff Fisher (Google) <[EMAIL PROTECTED]> > To: Google Calendar Data API <[email protected]> > Sent: Friday, July 6, 2007 6:13:28 AM > Subject: Re: 404 Not found exception > > Hi Kulvinder, > > It has been entered into the bug tracking system and I will keep you > posted on any further developments. Until this is fixed you can use a > workaround. The <originalID> element contains an href attribute that > provides a URI to the original event. Using this URI you can try to > download that event. If you get an error then the original event has > been deleted. > > Cheers, > > -Jeff > > On Jul 2, 10:37 pm, Kulvinder Singh <[EMAIL PROTECTED]> wrote: > > Thanks Jeff. > > > Yes, i am synching my Outlook calendar with Google Calendar and thats why > > the problem is occuring. > > > Can you tell me by when you prople will be able to fix this issue ? Any > > tentative idea. > > > If the originalID is not a valid event, then this is a cancellation to a > > recurrence that no longer exists. > > > How do i check the above thing ? The original Recurring event may not be > > present in the feed and i may be having the only deleted Exception. Then > > how do i check whether the original event has been deleted ot not ? > > > Thanks in advance. > > Kulvinder Singh > > > ----- Original Message ---- > > From: Jeff Fisher (Google) <[EMAIL PROTECTED]> > > To: Google Calendar Data API <[email protected]> > > Sent: Tuesday, July 3, 2007 4:23:28 AM > > Subject: Re: 404 Not found exception > > > Hi Kulvinder, > > > I agree with you, it is inconsistent behavior that these exception > > events are not deleted along with their parent events. Until this is > > fixed, I think the method you suggested should work. Namely, by > > looking at each of the canceled events and seeing if the originalID > > corresponds to an event that still exists. If the originalID is not a > > valid event, then this is a cancellation to a recurrence that no > > longer exists. > > > May I ask how your application is running into problems with this > > behavior? Are you trying to do syncing back to the server? > > > Cheers, > > > -Jeff > > > On Jul 1, 8:54 pm, Kulvinder Singh <[EMAIL PROTECTED]> wrote: > > > Also, if i have created a Recurring event exception and i have deleted > > > the Parent event and the Recurrence Exception as well then i should not > > > get the deleted Exception in the feed. THIS IS WRONG. A BUG. > > > > If i delete a Recurrence Event Exception and the parent event is still > > > there then getting the deleted exceptions in the feed is acceptable since > > > EXDATE has been removed in Google Ical but if the delete the parent event > > > as well and if i still get the recurrence exception in the feed again > > > then this is not acceptable at all. > > > > THIS IS A BUG AND IT SHOULD BE CORRECTED. > > > > Regards > > > Kulvinder Singh > > > > ----- Original Message ---- > > > From: Kulvinder Singh <[EMAIL PROTECTED]> > > > To: [email protected] > > > Sent: Friday, June 29, 2007 10:04:08 AM > > > Subject: Re: 404 Not found exception > > > > Hi Jeff, > > > > Thanks a lot for your answer and as per it this is a bug in the Google > > > Service. The reason why i am saying this is that i know Google service > > > operates upon the deleted events after every week or so but see from a > > > Developer point of view. > > > > Suppose i have deleted a single event in my calendar and it will not be > > > fetched in the "full" projection as per your reply below but if i delete > > > a single instance of a Recurring event then i fetch the full projection, > > > i will get the deleted events as well. Actually, this was not a problem > > > earlier because the deleted recurrence exception didnt use to come as > > > extra events. They were present in EXDATE of ical string and now my code > > > is not able to identify that the event which i am getting is a deleted > > > Recurrence Exception. I think i need to check whether the event has an > > > originalId attribute as well has canceled status and if yes, then leave > > > this event to the fate of Bulk clean up of "Google Services". > > > > I think Google guys should fix this up. > > > > Thanks > > > > ----- Original Message ---- > > > From: Jeff Fisher (Google) <[EMAIL PROTECTED]> > > > To: Google Calendar Data API > > > <[email protected]> > > > Sent: Wednesday, June 27, 2007 10:45:18 PM > > > Subject: Re: 404 Not found exception > > > > Hi again Kulvinder, > > > > It seems that Google Groups ate my original reply to you. > > > > The full projection may contain events with a status of cancelled. > > > These events won't be generated if you create a single event and > > > delete it, but will show up if you delete one instance of a recurring > > > event. The canceled event will show up in the full projection until it > > > is recycled by the system, which happens after around a week or so. > > > > This generally is not a problem unless your calendar is getting close > > > to the quota limit as discussed in this thread: > > > >http://groups.google.com/group/google-calendar-help-dataapi/browse_th... > > > > Cheers, > > > -Jeff > > > > On Jun 26, 8:28 pm, Kulvinder Singh <[EMAIL PROTECTED]> wrote: > > > > Any Updates ? > > > > > This is a major issue. Please help. > > > > > Thanks > > > > Kulvinder Singh > > > > > ----- Original Message ---- > > > > From: Kulvinder Singh <[EMAIL PROTECTED]> > > > > To: [email protected] > > > > Sent: Tuesday, June 26, 2007 6:10:35 PM > > > > Subject: Re: 404 Not found exception > > > > > Even if i leave the Extended Property stuff, the Exceptions are still > > > > getting downloaded in an authenticated POST Query. I dont know why. > > > > > Create a Recurring event with 2 exceptions. Delete the Recurring event > > > > as well as the exceptions. Create a Recurring event again. Download the > > > > Data from Google Calendar using authenticated private/full projection. > > > > The deleted events are still available in the feed. Why ? > > > > > ----- Original Message ---- > > > > From: Jeff Fisher (Google) <[EMAIL PROTECTED]> > > > > To: Google Calendar Data API > > > > <[email protected]> > > > > Sent: Tuesday, June 26, 2007 4:26:44 AM > > > > Subject: Re: 404 Not found exception > > > > > Hi Kulvinder, > > > > > To clarify the behavior you mentioned, you are seeing an extended > > > > property show up on an entry other than the one you originally added > > > > it to? Is there an easy method to reliably reproduce this? Some sample > > > > code would be appreciated. > > > > > Cheers, > > > > -Jeff > > > > > On Jun 24, 9:06 pm, Kulvinder Singh <[EMAIL PROTECTED]> wrote: > > > > > I havent recieved any reply from Google on this. Kindly respond. > > > > > > ----- Original Message ---- > > > > > From: Kulvinder Singh <[EMAIL PROTECTED]> > > > > > To: [email protected] > > > > > Sent: Friday, June 22, 2007 4:02:13 PM > > > > > Subject: Re: 404 Not found exception > > > > > > Thanks for your great help. I also understand the meaning of 404 > > > > > Error. Kindly try and understand my problem which is as follows : > > > > > > I created a Recurring event with an extended property in Google > > > > > Calendar through my .NET application and then deleted one instance > > > > > and changed one instance. So, in total, i will get three events in > > > > > the feed from Google : (a) Recurring serires (b) Modified Instance > > > > > with OriginalEvent atrribute and (c) Canceled event. > > > > > > Everything fine till here. > > > > > > Now, i deleted all these events from my Google Calendar and i created > > > > > one more Recurring event with no Exceptions in it and if i look at > > > > > the private feed, i only see one <entry> in it which is very correct > > > > > but when i look at it "full" authenticated feed, i see that i now > > > > > have 3 events again. First event is same as that i saw in private XML > > > > > Feed but it had the Extended property which i added earlier in some > > > > > other events and the two other were the RecurrenceExceptions i had > > > > > created earlier and both had EventStatus as Canceled. > > > > > > Kindly fix this bug. > > > > > > Regards > > > > > Kulvinder Singh > > > > > > ----- Original Message ---- > > > > > From: Lane LiaBraaten (Google) <[EMAIL PROTECTED]> > > > > > To: Google Calendar Data API > > > > > <[email protected]> > > > > > Sent: Wednesday, June 20, 2007 9:09:14 PM > > > > > Subject: Re: 404 Not found exception > > > > > > Hi Kulvinder, > > > > > > I found an entry in the knowledge base that may be > > > > > related:http://code.google.com/support/bin/answer.py?answer=55838&topic=10363 > > > > > > If that doesn't seem to help, can you post the request that was sent > > > > > when you received this error? That may help in diagnosing the > > > > > problem. > > > > > > Thanks, > > > > > Lane > > > > > > On Jun 19, 6:57 am, Kulvinder Singh <[EMAIL PROTECTED]> wrote: > > > > > > Hi, > > > > > > > I am getting the following error while updating a Google Event : > > > > > > > Execution of request > > > > > > failed:http://www.google.com/calendar/feeds/<CalendarID>/private/full/0tdsbsn2oivju8a7jkj3c7bj2s_20070606T170000Z/63316223769 > > > > > > > The remote server returned an error: (404) Not Found. > > > > > > Google Server Error : <HTML> > > > > > > <HEAD> > > > > > > <TITLE>Not Found</TITLE> > > > > > > </HEAD> > > > > > > <BODY BGCOLOR="#FFFFFF" TEXT="#000000"> <H1>Not Found</H1> > > > > > > <H2>Error 404</H2> </BODY> </HTML> > > > > > > > I had retrieved the autheticated feed from Google. The Encrypted ID > > > > > > (0tdsbsn2oivju8a7jkj3c7bj2s_20070606T170000Z) suggests that this > > > > > > event is an Exception event in a series of Recurring event. > > > > > > > Whats the problem ? Since i have fetched the feed correctly then > > > > > > whats the problem with updation. Error says that Event not found. > > > > > > > Please help. > > > > > > > Regards > > ... > > read more >> --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
