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

# CKError.Code.alreadyShared

An error that occurs when CloudKit attempts to share a record with an existing share.

```
case alreadyShared
```

## Discussion

A record can exist in only a single share at a time. This error means that one of the following conditions exists:

- The record already has an existing share.
- The record has a parent, and its parent has a share.
- The record is a parent, and one of its children has a share.

---

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)