---
title: insufficientPrivileges
framework: homekit
role: symbol
role_heading: Type Property
path: homekit/hmerror/insufficientprivileges
---

# insufficientPrivileges

An error indicating insufficient privileges for the operation.

## Declaration

```swift
static var insufficientPrivileges: HMError.Code { get }
```

## See Also

### Detecting authorization errors

- [invalidOrMissingAuthorizationData](homekit/hmerror/invalidormissingauthorizationdata.md)
- [locationForHomeDisabled](homekit/hmerror/locationforhomedisabled.md)
- [homeAccessNotAuthorized](homekit/hmerror/homeaccessnotauthorized.md)
- [messageAuthenticationFailed](homekit/hmerror/messageauthenticationfailed.md)
- [notAuthorizedForLocationServices](homekit/hmerror/notauthorizedforlocationservices.md)
- [notAuthorizedForMicrophoneAccess](homekit/hmerror/notauthorizedformicrophoneaccess.md)
- [notSignedIntoiCloud](homekit/hmerror/notsignedintoicloud.md)
- [ownershipFailure](homekit/hmerror/ownershipfailure.md)
- [securityFailure](homekit/hmerror/securityfailure.md)
