CKError.Code.accountTemporarilyUnavailable
An error that occurs when the user’s iCloud account is temporarily unavailable.
Declaration
case accountTemporarilyUnavailableDiscussion
You receive this error when the user’s iCloud account is available, but isn’t ready to support CloudKit operations. Don’t delete any cached data and don’t enqueue any additional CloudKit operations.
Checking the account status after the operation fails, assuming there are no other changes to the account’s status, returns CKAccountStatus.temporarilyUnavailable. Use the CKAccountChanged notification to listen for future account status changes, and retry the operation after the status becomes CKAccountStatus.available.
See Also
Error Codes
CKError.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.managedAccountRestrictedCKError.Code.missingEntitlement