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

# mismatchedClientState

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

## Declaration

```swift
static var mismatchedClientState: CSIndexError.Code { get }
```

## See Also

### Getting the error codes

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