---
title: contentKeyRequestCancelled
framework: AVFoundation
role: symbol
role_heading: Type Property
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/contentkeyrequestcancelled
---

# contentKeyRequestCancelled

The app canceled a request to retrieve a content key.

## Declaration

```swift
static var contentKeyRequestCancelled: AVError.Code { get }
```

## See Also

### Error codes

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