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

# HMError.Code.invalidOrMissingAuthorizationData

An error indicating the authorization data is invalid or missing.

## Declaration

```swift
case invalidOrMissingAuthorizationData
```

## See Also

### Authorization errors

- [HMError.Code.locationForHomeDisabled](homekit/hmerror/code/locationforhomedisabled.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)
