---
title: ASAuthorizationError.Code.unknown
framework: authenticationservices
role: symbol
role_heading: Case
path: authenticationservices/asauthorizationerror-swift.struct/code/unknown
---

# ASAuthorizationError.Code.unknown

The authorization attempt failed for an unknown reason.

## Declaration

```swift
case unknown
```

## See Also

### Codes

- [ASAuthorizationError.Code.canceled](authenticationservices/asauthorizationerror-swift.struct/code/canceled.md)
- [ASAuthorizationError.Code.failed](authenticationservices/asauthorizationerror-swift.struct/code/failed.md)
- [ASAuthorizationError.Code.invalidResponse](authenticationservices/asauthorizationerror-swift.struct/code/invalidresponse.md)
- [ASAuthorizationError.Code.notHandled](authenticationservices/asauthorizationerror-swift.struct/code/nothandled.md)
- [ASAuthorizationError.Code.notInteractive](authenticationservices/asauthorizationerror-swift.struct/code/notinteractive.md)
- [ASAuthorizationError.Code.credentialExport](authenticationservices/asauthorizationerror-swift.struct/code/credentialexport.md)
- [ASAuthorizationError.Code.credentialImport](authenticationservices/asauthorizationerror-swift.struct/code/credentialimport.md)
