---
title: Record Changed Error Keys
framework: cloudkit
role: collectionGroup
role_heading: API Collection
path: cloudkit/record-changed-error-keys
---

# Record Changed Error Keys

Constants that represent conflicting records in a save operation.

## Overview

Overview If the version of a record on the server is newer than the version you try to save, the server returns a CKError.Code.serverRecordChanged error. The error’s userInfo dictionary contains the different versions of the conflicting records. Use these keys to retrieve the records, and to perform any resolution logic necessary to resolve the conflict.

## Topics

### Record Changed Error Keys

- [CKRecordChangedErrorAncestorRecordKey](cloudkit/ckrecordchangederrorancestorrecordkey.md)
- [CKRecordChangedErrorClientRecordKey](cloudkit/ckrecordchangederrorclientrecordkey.md)
- [CKRecordChangedErrorServerRecordKey](cloudkit/ckrecordchangederrorserverrecordkey.md)

## See Also

### Errors

- [CKErrorDomain](cloudkit/ckerrordomain.md)
- [CKError](cloudkit/ckerror.md)
- [CKError.Code](cloudkit/ckerror/code.md)
- [CKErrorRetryAfterKey](cloudkit/ckerrorretryafterkey.md)
- [CKErrorUserDidResetEncryptedDataKey](cloudkit/ckerroruserdidresetencrypteddatakey.md)
- [CKPartialErrorsByItemIDKey](cloudkit/ckpartialerrorsbyitemidkey.md)
