---
title: LAError.Code.authenticationFailed
framework: localauthentication
role: symbol
role_heading: Case
path: localauthentication/laerror-swift.struct/code/authenticationfailed
---

# LAError.Code.authenticationFailed

The user failed to provide valid credentials.

## Declaration

```swift
case authenticationFailed
```

## See Also

### Other errors

- [LAError.Code.invalidContext](localauthentication/laerror-swift.struct/code/invalidcontext.md)
- [LAError.Code.invalidDimensions](localauthentication/laerror-swift.struct/code/invaliddimensions.md)
- [LAError.Code.notInteractive](localauthentication/laerror-swift.struct/code/notinteractive.md)
- [LAError.Code.passcodeNotSet](localauthentication/laerror-swift.struct/code/passcodenotset.md)
- [LAError.Code.userFallback](localauthentication/laerror-swift.struct/code/userfallback.md)
- [LAError.Code.watchNotAvailable](localauthentication/laerror-swift.struct/code/watchnotavailable.md)
