Enumeration Case

CKError.Code.incompatibleVersion

An error indicating that your app version is older than the oldest version allowed.

Declaration

case incompatibleVersion = 18

Discussion

The CloudKit servers have determined that your app is out of date. Alert your user to upgrade to the newest version of your app. This error is nonrecoverable.

See Also

Error Codes

case alreadyShared

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 assetFileModified

An error indicating that the content of the specified asset file was modified while being saved.

case assetFileNotFound

An error that is returned when the specified asset file is not found.

case badContainer

An error that is returned when the specified container is unknown or unauthorized.

case badDatabase

An error indicating that the operation could not be completed on the given database.

case batchRequestFailed

An error indicating that the entire batch was rejected.

case changeTokenExpired

An error indicating that the previous server change token is too old.

case constraintViolation

An error indicating that the server rejected the request because of a conflict with a unique field.

case internalError

A nonrecoverable error encountered by CloudKit.

case invalidArguments

An error that is returned when the specified request contains bad information.

case limitExceeded

An error that is returned when a request to the server is too large.

case managedAccountRestricted

An error that is returned when a request is rejected due to a managed-account restriction.

case missingEntitlement

An error that is returned when the app is missing a required entitlement.

case networkFailure

An error that is returned when the network is available but cannot be accessed.

case networkUnavailable

An error that is returned when the network is not available.

case notAuthenticated

An error indicating that the current user is not authenticated, and no user record was available.

case operationCancelled

An error indicating that an operation was explicitly canceled.

case partialFailure

An error indicating that some items failed, but the operation succeeded overall.

case participantMayNeedVerification

An error that is returned when the user is not a member of the share.

case permissionFailure

An error indicating that the user did not have permission to perform the specified save or fetch operation.

case quotaExceeded

An error that is returned when saving the record would exceed the user’s current storage quota.

case referenceViolation

An error that is returned when the target of a record's parent or share reference is not found.

case requestRateLimited

Transfers to and from the server are being rate limited for the client at this time.

case resultsTruncated

An error indicating that the query results were truncated by the server.

Deprecated
case serverRecordChanged

An error indicating that the record was rejected because the version on the server is different.

case serverRejectedRequest

An error indicating that the server rejected the request.

case serviceUnavailable

An error that is returned when the CloudKit service is unavailable.

case tooManyParticipants

An error indicating that a share cannot be saved because too many participants are attached to the share.

case unknownItem

An error that is returned when the specified record does not exist.

case userDeletedZone

An error indicating that the user has deleted this zone from the settings UI.

case zoneBusy

An error indicating that the server is too busy to handle the zone operation.

case zoneNotFound

An error indicating that the specified record zone does not exist on the server.