---
title: NEVPNConnectionError.authenticationFailed
framework: networkextension
role: symbol
role_heading: Case
path: networkextension/nevpnconnectionerror/authenticationfailed
---

# NEVPNConnectionError.authenticationFailed

An error code that indicates the VPN connection failed because the VPN server rejected the user credentials.

## Declaration

```swift
case authenticationFailed
```

## See Also

### General error codes

- [NEVPNConnectionError.overslept](networkextension/nevpnconnectionerror/overslept.md)
- [NEVPNConnectionError.noNetworkAvailable](networkextension/nevpnconnectionerror/nonetworkavailable.md)
- [NEVPNConnectionError.unrecoverableNetworkChange](networkextension/nevpnconnectionerror/unrecoverablenetworkchange.md)
- [NEVPNConnectionError.configurationFailed](networkextension/nevpnconnectionerror/configurationfailed.md)
- [NEVPNConnectionError.configurationNotFound](networkextension/nevpnconnectionerror/configurationnotfound.md)
- [NEVPNConnectionError.negotiationFailed](networkextension/nevpnconnectionerror/negotiationfailed.md)
