<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 7.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "NetworkExtension",
  "identifier" : "/documentation/NetworkExtension/NEHotspotConfigurationError",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Network Extension"
    ],
    "preciseIdentifier" : "c:@E@NEHotspotConfigurationError"
  },
  "title" : "NEHotspotConfigurationError"
}
-->

# NEHotspotConfigurationError

Error values returned by hotspot configuration manager methods.

```
enum NEHotspotConfigurationError
```

## Topics

### Errors

[`NEHotspotConfigurationError.invalid`](/documentation/NetworkExtension/NEHotspotConfigurationError/invalid)

The configuration is not valid.

[`NEHotspotConfigurationError.invalidSSID`](/documentation/NetworkExtension/NEHotspotConfigurationError/invalidSSID)

The SSID value is not valid.

[`NEHotspotConfigurationError.invalidWPAPassphrase`](/documentation/NetworkExtension/NEHotspotConfigurationError/invalidWPAPassphrase)

The WPA passphrase is not valid.

[`NEHotspotConfigurationError.invalidWEPPassphrase`](/documentation/NetworkExtension/NEHotspotConfigurationError/invalidWEPPassphrase)

The WEP passphrase is not valid.

[`NEHotspotConfigurationError.invalidEAPSettings`](/documentation/NetworkExtension/NEHotspotConfigurationError/invalidEAPSettings)

EAP settings are not valid.

[`NEHotspotConfigurationError.invalidHS20Settings`](/documentation/NetworkExtension/NEHotspotConfigurationError/invalidHS20Settings)

The HS 2.0 settings are not valid.

[`NEHotspotConfigurationError.invalidHS20DomainName`](/documentation/NetworkExtension/NEHotspotConfigurationError/invalidHS20DomainName)

The HS 2.0 domain name is not valid.

[`NEHotspotConfigurationError.invalidSSIDPrefix`](/documentation/NetworkExtension/NEHotspotConfigurationError/invalidSSIDPrefix)

The SSID prefix used to create the hotspot configuration is invalid.

[`NEHotspotConfigurationError.userDenied`](/documentation/NetworkExtension/NEHotspotConfigurationError/userDenied)

The user has refused the network configuration.

[`NEHotspotConfigurationError.internal`](/documentation/NetworkExtension/NEHotspotConfigurationError/internal)

Internal error, otherwise undefined.

[`NEHotspotConfigurationError.pending`](/documentation/NetworkExtension/NEHotspotConfigurationError/pending)

The network configuration action has not completed.

[`NEHotspotConfigurationError.systemConfiguration`](/documentation/NetworkExtension/NEHotspotConfigurationError/systemConfiguration)

The system configuration is not valid.

[`NEHotspotConfigurationError.unknown`](/documentation/NetworkExtension/NEHotspotConfigurationError/unknown)

An unknown error has occurred.

[`NEHotspotConfigurationError.joinOnceNotSupported`](/documentation/NetworkExtension/NEHotspotConfigurationError/joinOnceNotSupported)

The join-once option isn’t support for EAP configuration.

[`NEHotspotConfigurationError.alreadyAssociated`](/documentation/NetworkExtension/NEHotspotConfigurationError/alreadyAssociated)

The configuration is already associated with the hotspot.

[`NEHotspotConfigurationError.applicationIsNotInForeground`](/documentation/NetworkExtension/NEHotspotConfigurationError/applicationIsNotInForeground)

The application is not running in the foreground.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)