---
title: HMError.Code.accessoryDiscoveryFailed
framework: homekit
role: symbol
role_heading: Case
path: homekit/hmerror/code/accessorydiscoveryfailed
---

# HMError.Code.accessoryDiscoveryFailed

An error indicating accessory discovery failed.

## Declaration

```swift
case accessoryDiscoveryFailed
```

## See Also

### Device and discovery errors

- [HMError.Code.deviceLocked](homekit/hmerror/code/devicelocked.md)
