<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CloudKit",
  "identifier" : "/documentation/CloudKit/CKSyncEngineSentRecordZoneChangesEvent",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "CloudKit"
    ],
    "preciseIdentifier" : "c:objc(cs)CKSyncEngineSentRecordZoneChangesEvent"
  },
  "title" : "CKSyncEngineSentRecordZoneChangesEvent"
}
-->

# CKSyncEngineSentRecordZoneChangesEvent

The sync engine finished sending a batch of record zone changes to the server.

```
@interface CKSyncEngineSentRecordZoneChangesEvent : CKSyncEngineEvent
```

## Overview

If a record save succeeded, you should encode the system fields of this record to use the next time you save. See [`encodeSystemFields(with:)`](/documentation/CloudKit/CKRecord/encodeSystemFields(with:)).

If a record deletion succeeded, you should remove any local system fields for that record.

If the record change failed, try to resolve the issue causing the error and save the record again if necessary.

## Topics

### Accessing successful changes

[`deletedRecordIDs`](/documentation/CloudKit/CKSyncEngineSentRecordZoneChangesEvent/deletedRecordIDs)

The unique identifiers of the deleted records.

[`savedRecords`](/documentation/CloudKit/CKSyncEngineSentRecordZoneChangesEvent/savedRecords)

The modified records.

### Accessing failed changes

[`failedRecordDeletes`](/documentation/CloudKit/CKSyncEngineSentRecordZoneChangesEvent/failedRecordDeletes)

The unique identifiers of the records CloudKit is unable to delete, and the reasons why.

[`failedRecordSaves`](/documentation/CloudKit/CKSyncEngineSentRecordZoneChangesEvent/failedRecordSaves)

The records that CloudKit is unable to modify.

[`CKSyncEngineFailedRecordSave`](/documentation/CloudKit/CKSyncEngineFailedRecordSave)

A type that describes an unsuccessful attempt to modify an individual record.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)