<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PhotoKit",
  "identifier" : "/documentation/Photos/PHLocalIdentifiersErrorKey",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Photos"
    ],
    "preciseIdentifier" : "c:@PHLocalIdentifiersErrorKey"
  },
  "title" : "PHLocalIdentifiersErrorKey"
}
-->

# PHLocalIdentifiersErrorKey

An error key that retrieves an array of string values representing local identifiers matched to a cloud identifier.

```
let PHLocalIdentifiersErrorKey: String
```

## Discussion

Use this key with the <doc://com.apple.documentation/documentation/Foundation/NSError/userInfo> property when encountering the [`multipleIdentifiersFound`](/documentation/Photos/PHPhotosError-swift.struct/multipleIdentifiersFound) 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)