<!--
{
  "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/limitExceeded",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "CloudKit"
    ],
    "preciseIdentifier" : "c:@E@CKErrorCode@CKErrorLimitExceeded"
  },
  "title" : "CKError.Code.limitExceeded"
}
-->

# CKError.Code.limitExceeded

An error that occurs when a request’s size exceeds the limit.

```
case limitExceeded
```

## Discussion

The server can change its limits at any time, but the following are general guidelines:

- 400 items (records or shares) per operation
- 2 MB per request (not counting asset sizes)

If your app receives [`CKError.Code.limitExceeded`](/documentation/CloudKit/CKError/Code/limitExceeded), it must split the operation in half and try both requests again.

---

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)