---
title: invalidOrMissingAuthorizationData
framework: homekit
role: symbol
role_heading: Type Property
path: homekit/hmerror/invalidormissingauthorizationdata
---

# invalidOrMissingAuthorizationData

An error indicating the authorization data is invalid or missing.

## Declaration

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

## See Also

### Detecting authorization errors

- [locationForHomeDisabled](homekit/hmerror/locationforhomedisabled.md)
- [homeAccessNotAuthorized](homekit/hmerror/homeaccessnotauthorized.md)
- [insufficientPrivileges](homekit/hmerror/insufficientprivileges.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)
