<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macOS: 11.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FileProvider",
  "identifier" : "/documentation/FileProvider/NSFileProviderError/Code/cannotSynchronize",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "File Provider"
    ],
    "preciseIdentifier" : "c:@E@NSFileProviderErrorCode@NSFileProviderErrorCannotSynchronize"
  },
  "title" : "NSFileProviderError.Code.cannotSynchronize"
}
-->

# NSFileProviderError.Code.cannotSynchronize

An error indicating a failed sync attempt.

```
case cannotSynchronize
```

## Discussion

If a specific item caused the error, the system sets the [`NSFileProviderErrorItemKey`](/documentation/FileProvider/NSFileProviderErrorItemKey) key to the item’s identifier, and it sets the <doc://com.apple.documentation/documentation/Foundation/NSUnderlyingErrorKey> key to the error encountered by the item.

---

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)