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

# ASAuthorizationError.Code.invalidResponse

The authorization request received an invalid response.

## Declaration

```swift
case invalidResponse
```

## 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.notHandled](authenticationservices/asauthorizationerror-swift.struct/code/nothandled.md)
- [ASAuthorizationError.Code.unknown](authenticationservices/asauthorizationerror-swift.struct/code/unknown.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)
