---
title: AVError.Code.applicationIsNotAuthorized
framework: AVFoundation
role: symbol
role_heading: Case
path: avfoundation/averror-swift.struct/code/applicationisnotauthorized
---

# AVError.Code.applicationIsNotAuthorized

The app isn’t authorized to play media.

## Declaration

```swift
case applicationIsNotAuthorized
```

## See Also

### Error codes

- [AVError.Code.airPlayControllerRequiresInternet](avfoundation/averror-swift.struct/code/airplaycontrollerrequiresinternet.md)
- [AVError.Code.airPlayReceiverRequiresInternet](avfoundation/averror-swift.struct/code/airplayreceiverrequiresinternet.md)
- [AVError.Code.airPlayReceiverTemporarilyUnavailable](avfoundation/averror-swift.struct/code/airplayreceivertemporarilyunavailable.md)
- [AVError.Code.applicationIsNotAuthorizedToUseDevice](avfoundation/averror-swift.struct/code/applicationisnotauthorizedtousedevice.md)
- [AVError.Code.autoWhiteBalanceNotLocked](avfoundation/averror-swift.struct/code/autowhitebalancenotlocked.md)
- [AVError.Code.compositionTrackSegmentsNotContiguous](avfoundation/averror-swift.struct/code/compositiontracksegmentsnotcontiguous.md)
- [AVError.Code.contentIsNotAuthorized](avfoundation/averror-swift.struct/code/contentisnotauthorized.md)
- [AVError.Code.contentIsProtected](avfoundation/averror-swift.struct/code/contentisprotected.md)
- [AVError.Code.contentIsUnavailable](avfoundation/averror-swift.struct/code/contentisunavailable.md)
- [AVError.Code.contentKeyRequestCancelled](avfoundation/averror-swift.struct/code/contentkeyrequestcancelled.md)
- [AVError.Code.contentNotUpdated](avfoundation/averror-swift.struct/code/contentnotupdated.md)
- [AVError.Code.createContentKeyRequestFailed](avfoundation/averror-swift.struct/code/createcontentkeyrequestfailed.md)
- [AVError.Code.decodeFailed](avfoundation/averror-swift.struct/code/decodefailed.md)
- [AVError.Code.decoderNotFound](avfoundation/averror-swift.struct/code/decodernotfound.md)
- [AVError.Code.decoderTemporarilyUnavailable](avfoundation/averror-swift.struct/code/decodertemporarilyunavailable.md)
