CKError.Code.permissionFailure
An error that occurs when the user doesn’t have permission to save or fetch data.
Declaration
case permissionFailureDiscussion
This error typically occurs in the public database in one of these circumstances:
You have roles for record types.
Your app is trying to accept a share that the user doesn’t have an invitation for.
Let users know they can’t perform this operation. This error is nonrecoverable and you can’t retry the operation.
See Also
Error Codes
CKError.Code.accountTemporarilyUnavailableCKError.Code.alreadySharedCKError.Code.assetFileModifiedCKError.Code.assetFileNotFoundCKError.Code.assetNotAvailableCKError.Code.badContainerCKError.Code.badDatabaseCKError.Code.batchRequestFailedCKError.Code.changeTokenExpiredCKError.Code.constraintViolationCKError.Code.incompatibleVersionCKError.Code.internalErrorCKError.Code.invalidArgumentsCKError.Code.limitExceededCKError.Code.managedAccountRestricted