---
title: AVError.Code.contentKeyRequestCancelled
framework: AVFoundation
role: symbol
role_heading: Case
platforms: [iOS 14.6+, iPadOS 14.6+, Mac Catalyst 14.6+, macOS 11.4+, tvOS 14.6+, visionOS 1.0+, watchOS 7.5+]
path: avfoundation/averror-swift.struct/code/contentkeyrequestcancelled
---

# AVError.Code.contentKeyRequestCancelled

The app canceled a request to retrieve a content key.

## Declaration

```swift
case contentKeyRequestCancelled
```

## 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.applicationIsNotAuthorized](avfoundation/averror-swift.struct/code/applicationisnotauthorized.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.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)
