<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "BackgroundAssets",
  "identifier" : "/documentation/BackgroundAssets/BAFailuresErrorKey",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Background Assets"
    ],
    "preciseIdentifier" : "c:@BAFailuresErrorKey"
  },
  "title" : "BAFailuresErrorKey"
}
-->

# BAFailuresErrorKey

The `-[NSError userInfo]` key for the set of asset packs the local availability of which the system couldn’t ensure and their respective associated underlying errors.

```
extern NSErrorUserInfoKey const BAFailuresErrorKey;
```

## Discussion

This key is relevant when the error code is [`BAManagedErrorCodeLocalAvailabilityFailure`](/documentation/BackgroundAssets/BAManagedErrorCode/BAManagedErrorCodeLocalAvailabilityFailure). Its value should be an `NSDictionary<BAAssetPack*, NSError*>` object.

---

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)