# HierarchyRequestError

# HierarchyRequestError

Artifact:[androidx.credentials:credentials](https://developer.android.com/jetpack/androidx/releases/credentials)  
[View Source](https://cs.android.com/search?q=file:androidx/credentials/exceptions/domerrors/HierarchyRequestError.kt+class:androidx.credentials.exceptions.domerrors.HierarchyRequestError)  
Added in[1.2.0](https://developer.android.com/jetpack/androidx/releases/credentials#1.2.0)

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/credentials/exceptions/domerrors/HierarchyRequestError "View this page in Java")

<br />

```
class HierarchyRequestError : DomError
```

<br />

|---|---|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)                                                                                                      |||
| ↳ | [androidx.credentials.exceptions.domerrors.DomError](https://developer.android.com/reference/kotlin/androidx/credentials/exceptions/domerrors/DomError)                              ||
|   | ↳ | [androidx.credentials.exceptions.domerrors.HierarchyRequestError](https://developer.android.com/reference/kotlin/androidx/credentials/exceptions/domerrors/HierarchyRequestError) |

*** ** * ** ***

During the create public key credential flow, this is thrown when an authenticator response exception contains a hierarchy_request_err from the fido spec, indicating the operation would yield in an incorrect node tree. The fido spec can be found[here](https://webidl.spec.whatwg.org/#idl-DOMException-error-names).

## Summary

|                                                                       ### Public constructors                                                                       |
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [HierarchyRequestError](https://developer.android.com/reference/kotlin/androidx/credentials/exceptions/domerrors/HierarchyRequestError#HierarchyRequestError())`()` |

## Public constructors

### HierarchyRequestError

Added in[1.2.0](https://developer.android.com/jetpack/androidx/releases/credentials#1.2.0)  

```
HierarchyRequestError()
```