<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ContactProvider",
  "identifier" : "/documentation/ContactProvider/ContactProviderError/extensionInvalidated",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "ContactProvider"
    ],
    "preciseIdentifier" : "s:15ContactProvider0aB5ErrorO20extensionInvalidatedyA2CmF"
  },
  "title" : "ContactProviderError.extensionInvalidated"
}
-->

# ContactProviderError.extensionInvalidated

The app invalidated the extension while it was enumerating content or changes.

```
case extensionInvalidated
```

## Discussion

A loaded and enumerating extension can become invalidated for many reasons, including:

- The app invalidates the extension by calling [`invalidate()`](/documentation/ContactProvider/ContactProviderManager/invalidate()).
- The app disables the domain by calling [`disable()`](/documentation/ContactProvider/ContactProviderManager/disable()).
- The app resets the domain by calling [`reset()`](/documentation/ContactProvider/ContactProviderManager/reset()).
- The person using the app disables the domain in the Settings app.

---

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)