---
title: indexUnavailableError
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/indexunavailableerror
---

# indexUnavailableError

The indexer is unavailable.

## Declaration

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

## See Also

### Getting the error codes

- [indexingUnsupported](corespotlight/csindexerror/indexingunsupported.md)
- [invalidClientStateError](corespotlight/csindexerror/invalidclientstateerror.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)
