ContentFailure
An object that describes why the client can’t play a specific piece of content.
Declaration
object ContentFailureProperties
| Name | Type | Description |
|---|---|---|
errorCode Required | int64 | The error’s identity. |
errorDomain Required | string | The error’s domain. This is |
url Required | string | The URL of the content the client can’t play. |
underlyingError | UnderlyingError | An object that, when present, provides additional information about why the content fails to play. |
Discussion
The value of errorCode is one of the following:
Code | Description |
|---|---|
| The client encountered an unexpected error. |
| The number of items in the queue segment exceeds the configured maximum. For more information, see Constraints. |
| The client failed to play the specified item. For more information, see Underlyingerror. |
| The client failed to obtain a content key for a protected item. |
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.