---
title: ContentFailure
framework: SiriKit Cloud Media
role: symbol
role_heading: Object
platforms: [sirikit cloud media 1.0.2+]
path: sirikitcloudmedia/contentfailure
---

# ContentFailure

An object that describes why the client can’t play a specific piece of content.

## Declaration

```data
object ContentFailure
```

## Properties

errorCode: The error’s identity. errorDomain: The error’s domain. This is com.apple.sirikitcloudmedia.errorDomain. url: The URL of the content the client can’t play. underlyingError: An object that, when present, provides additional information about why the content fails to play.

## Discussion

Discussion The value of errorCode is one of the following:  |   |   |   |   |  If you receive a ContentFailure with an errorCode of 1002, check the following: The configuration for your service’s certificate URL is correct. For more information, see ExtensionConfig.Media.Queues.ContentProtectionKey.Cks. The protected item has a valid assetIdentifier. Your service’s key server module (KSM) provides a valid content key context (CKC) for the protected item’s assetIdentifier. For more information, see FairPlay Streaming Overview. note: The client doesn’t send an error if your service provides an invalid content key for the specified assetIdentifier.

## See Also

### Playback Failure

- [Recover from Content Playback Failure](sirikitcloudmedia/contentplaybackfailure.md)
- [ContentPlaybackFailureRequest](sirikitcloudmedia/contentplaybackfailurerequest.md)
- [ContentPlaybackFailureResponse](sirikitcloudmedia/contentplaybackfailureresponse.md)
