Enumeration Case

CKErrorInvalidArguments

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

Declaration

CKErrorInvalidArguments = 12

Discussion

This error occurs when the arguments provided to a CloudKit operation are invalid and the operation cannot be completed. Consult the error’s userInfo dictionary for more information about the issue.

See Also

Error Codes

CKErrorAlreadyShared

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.

CKErrorAssetFileModified

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

CKErrorAssetFileNotFound

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

CKErrorBadContainer

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

CKErrorBadDatabase

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

CKErrorBatchRequestFailed

An error indicating that the entire batch was rejected.

CKErrorChangeTokenExpired

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

CKErrorConstraintViolation

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

CKErrorIncompatibleVersion

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

CKErrorInternalError

A nonrecoverable error encountered by CloudKit.

CKErrorLimitExceeded

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

CKErrorManagedAccountRestricted

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

CKErrorMissingEntitlement

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

CKErrorNetworkFailure

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

CKErrorNetworkUnavailable

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

CKErrorNotAuthenticated

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

CKErrorOperationCancelled

An error indicating that an operation was explicitly canceled.

CKErrorPartialFailure

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

CKErrorParticipantMayNeedVerification

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

CKErrorPermissionFailure

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

CKErrorQuotaExceeded

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

CKErrorReferenceViolation

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

CKErrorRequestRateLimited

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

CKErrorResultsTruncated

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

Deprecated
CKErrorServerRecordChanged

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

CKErrorServerRejectedRequest

An error indicating that the server rejected the request.

CKErrorServiceUnavailable

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

CKErrorTooManyParticipants

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

CKErrorUnknownItem

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

CKErrorUserDeletedZone

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

CKErrorZoneBusy

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

CKErrorZoneNotFound

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