The last few days I see that some users are generating a lot of errors that are labeled as "ATOMIC_ERROR" in the CloudKit dashboard Telemetry view. I have search a bit on this, but I see only some documentation related to CloudKit JS. I don't use that, I just use the standard CloudKit library within a multiplatform macOS/iOS/tvOS app.
- To which CKError does ATOMIC_ERROR map? CKErrorPartialFailure perhaps?
- What's the universal way to replicate this error?
- How to prevent this error?
BTW:
I'm aware of property isAtomic
. I always set property isAtomic
in batch updates to false, because I don't need data integrity between multiple records in one zone. Therefore I don't expect 'atomic' related errors.