On Thu, Mar 12, 2009 at 10:14 AM, AK <[email protected]> wrote:
>
> I also got this error recently - which is quite strange because before
> a delete we first fetch a complete copy of the entry, including
> unknown XML, by using the self link and then delete the entry.
>
> I've never seen this error before, nor can I find any real information
> on how this can happen.
>
> Entity delete is failed with error : Error
> Domain=com.google.GDataServiceDomain Code=412 UserInfo=0x42c8f50
> "Operation could not be completed. (Mismatch: etags =
> [&quot;EkgMRwdHeip7I2A6WhVU&quot;], version = [63372560822])"
> {
>    NSLocalizedFailureReason = "(Mismatch: etags =
> [&quot;EkgMRwdHeip7I2A6WhVU&quot;], version = [63372560822])";
>    error = "Mismatch: etags = [&quot;EkgMRwdHeip7I2A6WhVU&quot;],
> version = [63372560822]";
> }

AK,
I'm not 100% positive, but it looks like this is how the Objective-C
client is handling HTTP 413 Precondition Failed errors. This means
that the entry you're trying to edit has already been modified by
another process, and the Calendar API is preventing your changes from
taking effect to avoid clobbering somebody else's update and losing
data.

Can you confirm that nobody else (including your application) has
edited that entry since the last time you retrieved it? (If somebody
else has edited it, the fix is simply to re-fetch the entry and try
your edit again.)

-- 
Trevor Johns

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

Reply via email to