<!--
{
  "availability" : [
    "macOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FSKit",
  "identifier" : "/documentation/FSKit/FSDataCacheError/errorInvalidCacheTransition",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "FSKit"
    ],
    "preciseIdentifier" : "s:SC20FSDataCacheErrorCodeLeV012errorInvalidB10TransitionSoAAVvpZ"
  },
  "title" : "errorInvalidCacheTransition"
}
-->

# errorInvalidCacheTransition

The cache transition is not allowed.

```
static var errorInvalidCacheTransition: FSDataCacheError.Code { get }
```

## Discussion

This error occurs when attempting an invalid transition, such as using an upgrade method for a downgrade operation, or vice versa.

---

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)