<!--
{
  "availability" : [
    "macOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FSKit",
  "identifier" : "/documentation/FSKit/FSDataCacheError/Code/errorInvalidCacheTransition",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "FSKit"
    ],
    "preciseIdentifier" : "c:@E@FSDataCacheErrorCode@FSErrorInvalidCacheTransition"
  },
  "title" : "FSDataCacheError.Code.errorInvalidCacheTransition"
}
-->

# FSDataCacheError.Code.errorInvalidCacheTransition

The cache transition is not allowed.

```
case errorInvalidCacheTransition
```

## 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)