---
title: HMHome.ProvisionalHomeTransferError.authenticationFailed
framework: HomeKit
role: symbol
role_heading: Case
platforms: [iOS 27.2+, iPadOS 27.2+, Mac Catalyst 27.2+, visionOS 27.2+]
path: homekit/hmhome/provisionalhometransfererror/authenticationfailed
---

# HMHome.ProvisionalHomeTransferError.authenticationFailed

Authentication with the home hub failed.

## Declaration

```swift
case authenticationFailed
```

## Overview

Overview Typical causes for authentication failures with a home hub include an invalid or expired transfer token, a failure during a TLS or mTLS handshake, and mismatching credentials.

## See Also

### Detecting transfer errors

- [HMHome.ProvisionalHomeTransferError.connectionFailed](homekit/hmhome/provisionalhometransfererror/connectionfailed.md)
- [HMHome.ProvisionalHomeTransferError.serverError](homekit/hmhome/provisionalhometransfererror/servererror.md)
- [HMHome.ProvisionalHomeTransferError.targetHomeRejected](homekit/hmhome/provisionalhometransfererror/targethomerejected.md)
