---
title: invalidClientStateError
framework: Core Spotlight
role: symbol
role_heading: Type Property
platforms: [iOS 9.0+, iPadOS 9.0+, Mac Catalyst 13.1+, macOS 10.11+, visionOS 1.0+]
path: corespotlight/csindexerror/invalidclientstateerror
---

# invalidClientStateError

The provided client state data is invalid.

## Declaration

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

## See Also

### Getting the error codes

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