Client Status Codes: CPIX

The below table provides the status codes and their descriptions, expected UI behavior (if applicable), and comments to include if you report the error to Verimatrix Customer Care.

HTTP Error CodeMessageDescriptionMDRM Error Code
400Content ID must be present in the requestThis error is seen when the content Id in the request body of the content-encryption request is missing.MDRM-903
400Content ID must match ID in the requestThis error is seen when the content Id and the Id present in the request body of the content-encryption request does not match.MDRM-904
400Subject claim does not refer to the requested content IDThis error is seen when the sub claim present in the payload of the JWT token sent via the header of the Content encryption Request does not match with the contentId present in the request body.MDRM-905
400Key ID could not be parsed into a valid UUIDThis error is seen when the keyId claim present in the header of the JWT token sent via the header of the License request value is not in UUID format.MDRM-908
401Authorization token is requiredThis error is seen when the Authorization token itself is missing in the header of the Content encryption Request.MDRM-901
401Failed to decode JSON web token; malformedThis error is seen when the Authorization token in the header of the get License request is incorrect.MDRM-902
401CPIX document has no signaturesThe CPIX signed doc path received a request with no signature in the request body.MDRM-914
401CPIX document has no overall signatureThe signed document has no whole document signature.MDRM-915
401CPIX document signature invalidThe signature in the CPIX document is not valid.MDRM-916
401Exception while verifying CPIX document signatureThe signature in the CPIX document can not be verified.MDRM-917
401Signature does not use required algorithmsThe signature violates one of the following:
- Signature must specify only one SignatureMethod
- Signature algorithm must be http://www.w3.org/2001/04/xmldsig-more#rsa-sha512
- Signature must only have one References tag
- References tag must contain exactly one DigestMethod
- Digest algorithm must be http://www.w3.org/2001/04/xmlenc#sha512
- Signature must have exactly one CanonicalizationMethod
- Canonicalization algorithm must be http://www.w3.org/TR/2001/REC-xml-c14n-20010315
- Signature References must contain either one or two Transforms.

Transforms allowed are:
- http://www.w3.org/2000/09/xmldsig#enveloped-signature
- http://www.w3.org/TR/2001/REC-xml-c14n-20010315

For two Transforms, the transforms must be in the order: http://www.w3.org/2000/09/xmldsig#enveloped-signature
http://www.w3.org/TR/2001/REC-xml-c14n-20010315
MDRM-918
400Malformed request, missing or invalid parameterThe kid, issuer, or subject is not in the query parameters while sending request to CPIX using a signed CPIX document in the request body.MDRM-912
401Certificate in the signed CPIX document is invalidMDRM-919
401CPIX document has an invalid or missing DeliveryDataListThe CPIX request body is missing or has an invalid DeliveryDataList block.MDRM-920
401CPIX document has no DeliveryKey within the DeliveryDataListThe CPIX request body has a DeliveryDataList block, but the DeliverKey is missing.MDRM-921
500Failed to import key for validating CPIX Doc SignatureThe key import for validating the CPIX Doc signature failed.MDRM-913
500An unexpected error occurred while processing the requestGeneric errorMDRM-900
500An error occurred while retrieving encryption key from backend serviceMDRM-907
500Failed to serialize response into XMLMDRM-909
400Failed to transform request to XMLThe CPIX request cannot be transformed to XML. This is due to a missing or malformed CPIX document in the request.MDRM-910
500Requested content encryption key does not existMDRM-906
500No public key defined, and key encryption turned onMDRM-911