Hello, Has this event been created with a custom UID or with the syncEvent flag set to true? If this is the case, you might have to manually increase the sequence number with each update.
Best, Alain On Wed, Sep 14, 2011 at 3:48 AM, BluePencil <[email protected]> wrote: > I'm facing a strange error message when I update the CalendarEvent. > It says ......[ Cannot decrease the sequence number of an event] > > And I've found a similar thread below. > > http://www.google.com/support/forum/p/apps-apis/thread?tid=261d1092f378997c&hl=en > I'd like to know how this issue is solved or not solved yet. > > In my case, this phenomena happens when I update the calendar event twice. > At first time, if I update an event with no change, the action is accepted > and I get a return-XML from Calendar API. > Comparing the sent-XML and return-XML, there are four fifferences between > them. > <entry gd:etag="-----"> (change) > <updated> (change) > <app:edited> (change) > <gCal:sequence value="1"/> (change value 0 to 1) > > Next, when I try to update again sending the return-XML, the API returns > the Error message that I wrote above. > > Watching the <gCal> tag, the value changed from zero to one in the first > action. > But it is actually INCREASE not DECREASE. > I can't find how to solve it. > > I hope someone give me a helping hand. > > Regards. > > -- > 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 > -- Alain Vongsouvanh | Developer Programs Engineer -- 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
