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

# HMError.Code.locationForHomeDisabled

An error indicating the home’s location is disabled.

## Declaration

```swift
case locationForHomeDisabled
```

## See Also

### Authorization errors

- [HMError.Code.invalidOrMissingAuthorizationData](homekit/hmerror/code/invalidormissingauthorizationdata.md)
- [HMError.Code.homeAccessNotAuthorized](homekit/hmerror/code/homeaccessnotauthorized.md)
- [HMError.Code.insufficientPrivileges](homekit/hmerror/code/insufficientprivileges.md)
- [HMError.Code.messageAuthenticationFailed](homekit/hmerror/code/messageauthenticationfailed.md)
- [HMError.Code.notAuthorizedForLocationServices](homekit/hmerror/code/notauthorizedforlocationservices.md)
- [HMError.Code.notAuthorizedForMicrophoneAccess](homekit/hmerror/code/notauthorizedformicrophoneaccess.md)
- [HMError.Code.notSignedIntoiCloud](homekit/hmerror/code/notsignedintoicloud.md)
- [HMError.Code.ownershipFailure](homekit/hmerror/code/ownershipfailure.md)
- [HMError.Code.securityFailure](homekit/hmerror/code/securityfailure.md)
