<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.10.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -",
    "watchOS: 3.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CloudKit",
  "identifier" : "/documentation/CloudKit/CKError/Code/partialFailure",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "CloudKit"
    ],
    "preciseIdentifier" : "c:@E@CKErrorCode@CKErrorPartialFailure"
  },
  "title" : "CKError.Code.partialFailure"
}
-->

# CKError.Code.partialFailure

An error that occurs when an operation completes with partial failures.

```
case partialFailure
```

## Discussion

Examine the specific item failures, and act on the failed items. Each specific item error is from the CloudKit error domain. You can inspect the <doc://com.apple.documentation/documentation/Foundation/NSError/userInfo> [`CKPartialErrorsByItemIDKey`](/documentation/CloudKit/CKPartialErrorsByItemIDKey) to see per-item errors.

Note that in a custom zone, the system processes all items in an operation atomically. As a result, you may get a [`CKError.Code.batchRequestFailed`](/documentation/CloudKit/CKError/Code/batchRequestFailed) error for all other items in an operation that don’t cause an error.

---

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)