---
title: CSIndexError.Code.mismatchedClientState
framework: Core Spotlight
role: symbol
role_heading: Case
platforms: [iOS 18.0+, iPadOS 18.0+, Mac Catalyst 18.0+, macOS 15.0+, visionOS 2.0+]
path: corespotlight/csindexerror/code/mismatchedclientstate
---

# CSIndexError.Code.mismatchedClientState

The provided client state did not match the information in the index.

## Declaration

```swift
case mismatchedClientState
```

## See Also

### Getting the indexing error codes

- [CSIndexError.Code.indexUnavailableError](corespotlight/csindexerror/code/indexunavailableerror.md)
- [CSIndexError.Code.indexingUnsupported](corespotlight/csindexerror/code/indexingunsupported.md)
- [CSIndexError.Code.invalidClientStateError](corespotlight/csindexerror/code/invalidclientstateerror.md)
- [CSIndexError.Code.invalidItemError](corespotlight/csindexerror/code/invaliditemerror.md)
- [CSIndexError.Code.quotaExceeded](corespotlight/csindexerror/code/quotaexceeded.md)
- [CSIndexError.Code.remoteConnectionError](corespotlight/csindexerror/code/remoteconnectionerror.md)
- [CSIndexError.Code.unknownError](corespotlight/csindexerror/code/unknownerror.md)
