Enumeration Case CKError .Code .network Unavailable
An error that is returned when the network is not available.
iOS 8.0+ macOS 10.10+ Mac Catalyst 13.0+ tvOS 9.0+ watchOS 3.0+ Declaration case networkUnavailable = 3
Network failure errors can be retried immediately, but your app should implement a backoff timer so that it doesn't attempt the same operation repeatedly.
If the network is unavailable, your app should start monitoring for network reachability and wait to reissue the operation until the network is available again. See
for more information about these errors. CFNetwork Errors See Also Error Codes case already Shared
An error indicating that a record or share cannot be saved because doing so would cause the same hierarchy of records to exist in multiple shares.
case asset File Modified
An error indicating that the content of the specified asset file was modified while being saved.
case bad Container
An error that is returned when the specified container is unknown or unauthorized.
case bad Database
An error indicating that the operation could not be completed on the given database.
case constraint Violation
An error indicating that the server rejected the request because of a conflict with a unique field.
case network Failure
An error that is returned when the network is available but cannot be accessed.
case not Authenticated
An error indicating that the current user is not authenticated, and no user record was available.
case partial Failure
An error indicating that some items failed, but the operation succeeded overall.
case permission Failure
An error indicating that the user did not have permission to perform the specified save or fetch operation.
case quota Exceeded
An error that is returned when saving the record would exceed the user’s current storage quota.
case reference Violation
An error that is returned when the target of a record's parent or share reference is not found.
case server Record Changed
An error indicating that the record was rejected because the version on the server is different.
case too Many Participants
An error indicating that a share cannot be saved because too many participants are attached to the share.
case unknown Item
An error that is returned when the specified record does not exist.
case zone Busy
An error indicating that the server is too busy to handle the zone operation.
case zone Not Found
An error indicating that the specified record zone does not exist on the server.