<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "CloudKitJS",
  "identifier" : "/documentation/CloudKitJS/CloudKit.CKError/UNIQUE_FIELD_ERROR",
  "metadataVersion" : "0.1.0",
  "role" : "",
  "symbol" : {
    "kind" : "",
    "modules" : [
      "CloudKit JS"
    ],
    "preciseIdentifier" : "clconst/CloudKit.CKError/UNIQUE_FIELD_ERROR"
  },
  "title" : "UNIQUE_FIELD_ERROR"
}
-->

# UNIQUE_FIELD_ERROR

The server rejected the request because there was a conflict with a unique field.

```
const String UNIQUE_FIELD_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)