Enumeration Case CKError .Code .asset File Not Found
An error that is returned when the specified asset file is not found.
iOS 8.0+ macOS 10.10+ Mac Catalyst 13.0+ tvOS 9.0+ watchOS 3.0+ Declaration case assetFileNotFound = 16
In the case of a record fetch this is a retry-able error. It means there was a network or system hiccup when downloading this asset and a retry will likely succeed.
In the case of a record save, the above error means the asset on this record was removed before CloudKit was able to upload this asset to the server. Make sure that your assets exist until
CKModify Records Operation .completion Block() 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.