This topic describes the error codes of ApsaraVideo Player SDK, including the definitions, examples, and descriptions of the error codes. You can query the error codes and seek for help during actual operations after an error occurs.

Request-related error codes

Error codeError ID in hexadecimal notationError ID in decimal notationDescription
ERROR_SERVER_NO_RESPONSE20010001536936449The error message returned because the server returns no response.
ERROR_SERVER_WRONG_JSON20010002536936450The error message returned because the returned data is not in JSON format.
ERROR_NO_MATCH_QUALITY20010003536936451The error message returned because no resolution matches.
ERROR_PLAYAUTH_WRONG20010004536936452The error message returned because a playback credential parsing error has occurred.
ERROR_REQUEST_FAIL20010005536936453The error message returned because the request fails.

POP error codes

Error codeError ID in hexadecimal notationError ID in decimal notationDescription
ERROR_SERVER_POP_UNKNOWN20010100536936704The error message returned because an unknown Post Office Protocol (POP) error has occurred. For more information about POP error messages, see Error codes.
ERROR_SERVER_POP_MISSING_PARAMETER20010101536936705The error message returned because one or more required parameters are not specified.
ERROR_SERVER_POP_INVALID_PARAMETER20010102536936706The error message returned because the value of a parameter is invalid.
ERROR_SERVER_POP_OPERATION_DENIED20010103536936707The error message returned because ApsaraVideo VOD is not activated for your Alibaba Cloud account.
ERROR_SERVER_POP_OPERATION_SUSPENED20010104536936708The error message returned because your Alibaba Cloud account has overdue payments. Add funds to your account.
ERROR_SERVER_POP_FORBIDDEN20010105536936709The error message returned because you are not authorized to perform the operation.
ERROR_SERVER_POP_INTERNAL_ERROR20010106536936710The error message returned because an unknown error occurred.
ERROR_SERVER_POP_SERVICE_UNAVALIABLE20010107536936711The error message returned because the service is unavailable.
ERROR_SERVER_POP_SIGNATUREANONCE_USED20010108536936712The error message returned because the signature has been used.
ERROR_SERVER_POP_SECURITYTOKEN_MAILFORMED20010109536936713The error message returned because the security token is invalid.
ERROR_SERVER_POP_SECURITYTOKEN_MISMATCH_ACCESSKEY2001010A536936714The error message returned because the security token and AccessKey pair do not match.
ERROR_SERVER_POP_SIGNATURE_NOT_MATCH2001010B536936715The error message returned because the signature for verification is invalid.
ERROR_SERVER_POP_ACCESSKEYID_NOT_FOUND2001010C536936716The error message returned because the AccessKey ID does not exist.
ERROR_SERVER_POP_TOKEN_EXPIRED2001010D536936717The error message returned because the token is expired.

ApsaraVideo VOD error codes

Error codeError ID in hexadecimal notationError ID in decimal notationDescription
ERROR_SERVER_VOD_UNKNOWN20010200536936960The error message returned because an unknown error has occurred in ApsaraVideo VOD. For more information, see GetPlayInfo .
ERROR_SERVER_VOD_FORBIDDEN_ILLEGALSTATUS20010201536936961The error message returned because the video status is invalid.
ERROR_SERVER_VOD_INVALIDVIDEO_NOTFOUND20010202536936962The error message returned because the video does not exist.
ERROR_SERVER_VOD_INVALIDVIDEO_NOSTREAM20010203536936963The error message returned because no transcoded stream can be used for playback based on your filter conditions.
ERROR_SERVER_VOD_FORBIDDEN_ALIYUNVODENCRYPTION20010204536936964The error message returned because transcoded streams are encrypted by using Alibaba Cloud video encryption. You must use ApsaraVideo Player to play the transcoded streams or set the ResultType parameter to Multiple.
ERROR_SERVER_VOD_INVALIDAUTH_MEDIAID20010205536936965The error message returned because the authentication information and the video ID do not match.
ERROR_SERVER_VOD_INVALIDAUTHINFO_EXPIRETIME20010206536936966The error message returned because the authentication information is expired.

MPS error codes

Error codeError ID in hexadecimal notationError ID in decimal notationDescription
ERROR_SERVER_MPS_UNKNOWN20010300536937216The error message returned because an unknown error has occurred in ApsaraVideo Media Processing (MPS).
ERROR_SERVER_MPS_INVALID_MEDIAID20010301536937217The error message returned because the media ID is invalid.
ERROR_SERVER_MPS_INVALID_AUTHTIMEOUT20010302536937218The error message returned because the authentication expiration time is invalid.
ERROR_SERVER_MPS_INVALID_FORMATS20010303536937219The error message returned because the format is invalid.
ERROR_SERVER_MPS_INVALID_AUTHINFO20010304536937220The error message returned because the authentication information is invalid.
ERROR_SERVER_MPS_SIGNATURE_CHECK_FAILED20010305536937221The error message returned because the signature failed to be verified.
ERROR_SERVER_MPS_MEDIAID_NOT_EXIST20010306536937222The error message returned because the media ID does not exist.
ERROR_SERVER_MPS_MEDIA_RESOURCE_NOT_EXIST20010307536937223The error message returned because the media asset does not exist.
ERROR_SERVER_MPS_MEDIA_NOT_PUBLISHED20010308536937224The error message returned because the media are not published.
ERROR_SERVER_MPS_MEDIA_NOT_ENCRYPTED20010309536937225The error message returned because the media are not encrypted.
ERROR_SERVER_MPS_INVALID_CIPHERTEXTBLOB2001030A536937226The error message returned because the CiphertextBlob string is invalid.
ERROR_SERVER_MPS_CIPHERBLOB_NOT_EXIST2001030B536937227The error message returned because the CiphertextBlob string does not exist.
ERROR_SERVER_MPS_INTERNAL_ERROR2001030C536937228The error message returned because an internal server error has occurred.
ERROR_SERVER_MPS_INVALID_IDENTITY_NOT_ORDER_VIDEO_SERVICE2001030D536937229The error message returned because you are not allowed to perform operations on the request ID.
ERROR_SERVER_MPS_UPDATE_CDN_DOMAIN_CONFIGS_FAIL2001030E536937230The error message returned because the host configuration fails to be updated.
ERROR_SERVER_MPS_AUTH_KEY_EXIST2001030F536937231The error message returned because the AccessKey secret for authentication has been used.
ERROR_SERVER_MPS_AUTH_KEY_NOT_EXIST20010310536937232The error message returned because the AccessKey secret for authentication does not exist.
ERROR_SERVER_MPS_INVALID_PARAMETER_OUT_OF_BOUND20010311536937233The error message returned because a parameter value is beyond the value range.
ERROR_SERVER_MPS_INVALID_PARAMETER20010312536937234The error message returned because the value of a parameter is invalid.
ERROR_SERVER_MPS_INVALID_PARAMETER_NULL_VALUE20010313536937235The error message returned because a parameter value is null. Set the parameter to a non-null value.
ERROR_SERVER_MPS_INVALID_PARAMETER_EMPTY_VALUE20010314536937236The error message returned because a required parameter is not set.
ERROR_SERVER_MPS_MEDIA_RESOURCE_NOT_MATCH20010315536937237The error message returned because no media asset matches.
ERROR_SERVER_MPS_MEDIA_NOT_FOUND_CIPHERTEXT20010316536937238The error message returned because the ciphertext of the media ID is not found.
ERROR_SERVER_MPS_INVALID_PARAMETER_RAND20010317536937239The error message returned because the specified rand parameter is invalid.
ERROR_SERVER_MPS_REDIS_POOL_IS_EMPTY20010318536937240The error message returned because the cache connection pool is empty.
ERROR_SERVER_MPS_SIGNATURE_CHECK_MEDIA_FAILED20010319536937241The error message returned because the signature and the media ID do not match.
ERROR_SERVER_MPS_SIGNATURE_CHECK_EXPIREDTIME_FAILED2001031A536937242The error message returned because the specified timeout value is expired.
ERROR_SERVER_MPS_INVALID_SESSION_TIME2001031B536937243The error message returned because the specified SessionTime parameter is invalid. Set the SessionTime parameter to a value greater than 0.
ERROR_SERVER_MPS_INVALID_END_USER_ID2001031C536937244The error message returned because the length of the EndUserId parameter is invalid.
ERROR_SERVER_MPS_INVALID_URL2001031D536937245The error message returned because the format of the LicenseUrl parameter is invalid.
ERROR_SERVER_MPS_HTTP_REQUEST_FAILED2001031E536937246The error message returned because the request fails.
ERROR_SERVER_MPS_XML_FORMAT_ERROR2001031F536937247The error message returned because the XML format is invalid.
ERROR_SERVER_MPS_SESSION_NOT_EXIST20010320536937248The error message returned because the session does not exist.
ERROR_SERVER_MPS_REGION_NOT_SUPPORTED_API20010321536937249The error message returned because the API is not supported.
ERROR_SERVER_MPS_DRM_NOT_ACTIVATED20010322536937250The error message returned because digital rights management (DRM) is not activated in this region. Contact technical support.
ERROR_SERVER_MPS_DRM_AUTH_ERROR20010323536937251The error message returned because DRM verification fails. Authorize DRM for the media.
ERROR_SERVER_MPS_CDN_CONFIG_NOT_EXIST20010324536937252The error message returned because no domain name for the content delivery network (CDN) is bound to your Object Storage Service (OSS) bucket.

Error codes of time shifting during live streaming

Error codeError ID in hexadecimal notationError ID in decimal notationDescription
ERROR_SERVER_LIVESHIFT_UNKNOWN20010400536937472The error message returned because an unknown error has occurred during time shifting.
ERROR_SERVER_LIVESHIFT_REQUEST_ERROR20010401536937473The error message returned because the time shifting request failed.
ERROR_SERVER_LIVESHIFT_DATA_PARSER_ERROR20010402536937474The error message returned because the time shifting data failed to be parsed.

Error codes of proprietary cryptography

Error codeError ID in hexadecimal notationError ID in decimal notationDescription
ERROR_TBDRM_UNKNOWN0x20012000536944640The error message returned because an unknown error has occurred when proprietary cryptography is used.
ERROR_TBDRM_DEMUXER_UNIMPLEMENTED20012001536944641The error message returned because the file that is encrypted by proprietary cryptography failed to be decapsulated.

ARTP error codes

Error codeError ID in hexadecimal notationError ID in decimal notationDescription
ERROR_ARTP_UNKNOWN0x20013000536948736The error message returned because an unknown Alibaba Real-time Transport Protocol (ARTP) error has occurred.
ERROR_ARTP_DEMUXER_UNIMPLEMENTED0x20013001536948737The error message returned because the ARTP module failed to be loaded. Check the dynamic-link library.
ERROR_ARTP_LOAD_FAILED0x20013002536948738The error message returned because the player failed to load data for ARTP-based playback.
ERROR_ARTP_STREAM_ILLEGAL0x20013003536948739The error message returned because the URL of the ARTP stream is invalid.
ERROR_ARTP_STREAM_NOT_FOUND0x20013004536948740The error message returned because the ARTP stream does not exist.
ERROR_ARTP_STREAM_STOPPED0x20013005536948741The error message returned because the ARTP stream stopped.
ERROR_ARTP_PLAY_TIMEOUT0x20013006536948742The error message returned because the startup loading of the ARTP stream timed out.
ERROR_ARTP_SPSPPS_AACCONF_TIMEOUT0x20013007536948743The error message returned because the receiving of the ARTP sequence parameter set (SPS) or picture parameter set (PPS) or AAC configurations timed out.
ERROR_ARTP_ARTP_MEDIA_INFO_TIMEOUT0x20013007536948743The error message returned because the receiving of the ARTP sequence parameter set (SPS) or picture parameter set (PPS) or AAC configurations timed out.
ERROR_ARTP_PACKET_RECV_TIMEOUT0x20013008536948744The error message returned because the receiving of ARTP packets that carry audio and video streams timed out.
ERROR_ARTP_MEDIA_PROBE_FAILED0x20013009536948745The error message returned because the connectivity test failed for the transmission of ARTP packets.

Playback error codes

Error codeError ID in hexadecimal notationError ID in decimal notationDescription
ERROR_UNKNOWN_ERROR2001FFFF537001983The error message returned because an unknown error has occurred.
ERROR_DEMUXER_OPENURL20030001537067521The error message returned because the URL cannot be opened.
ERROR_DEMUXER_NO_VALID_STREAM20030002537067522The error message returned because the stream is invalid.
ERROR_DEMUXER_OPENSTREAM20030003537067523The error message returned because the stream file failed to be opened.
ERROR_LOADING_TIMEOUT20030004537067524The error message returned because the loading timed out.
ERROR_DATASOURCE_EMPTYURL20030005537067525The error message returned because the URL of the source file is not specified.
ERROR_DECODE_VIDEO20040001537133057The error message returned because the video failed to be decoded.
ERROR_DECODE_AUDIO20040002537133058The error message returned because the audio failed to be decoded.
ERROR_NETWORK_UNKNOWN20050000537198592The error message returned because an unknown network error has occurred.
ERROR_NETWORK_UNSUPPORTED20050001537198593The error message returned because the protocol is not supported.
ERROR_NETWORK_RESOLVE20050002537198594The error message returned because the domain name cannot be resolved.
ERROR_NETWORK_CONNECT_TIMEOUT20050003537198595The error message returned because the network connection timed out.
ERROR_NETWORK_COULD_NOT_CONNECT20050004537198596The error message returned because the server failed to be connected.
ERROR_NETWORK_HTTP_40320050005537198597The error message returned because an HTTP 403 error has occurred.
ERROR_NETWORK_HTTP_40420050006537198598The error message returned because an HTTP 404 error has occurred.
ERROR_NETWORK_HTTP_4XX20050007537198599The error message returned because an HTTP 4xx error other than HTTP 403 or HTTP 404 has occurred.
ERROR_NETWORK_HTTP_5XX20050008537198600The error message returned because an HTTP 5xx error has occurred.
ERROR_NETWORK_HTTP_RANGE20050009537198601The error message returned because the HTTP range request is not supported.
ERROR_NETWORK_HTTP_4002005000A537198602The error message returned because an HTTP 400 error has occurred.
ERROR_CODEC_UNKNOWN20060000537264128The error message returned because an unknown decoding error has occurred.
ERROR_CODEC_VIDEO_NOT_SUPPORT20060001537264129The error message returned because the video coding format is not supported.
ERROR_CODEC_AUDIO_NOT_SUPPORT20060002537264130The error message returned because the audio coding format is not supported.
ERROR_GENERAL_UNKNOWN20080000537395200The error message returned because a standard error has occurred.
ERROR_GENERAL_EPERM20080001537395201The error message returned because the "EPERM: Operation not permitted" error has occurred.
ERROR_GENERAL_ENOENT20080002537395202The error message returned because the "ENOENT: No such file or directory" error has occurred.
ERROR_GENERAL_EIO20080005537395205The error message returned because the "EIO: I/O error" error has occurred.
ERROR_UNKNOWN0x2FFFFFFF805306367The error message returned because an unknown error has occurred.
ERROR_INERNAL_EXIT0x20070000537329664The error message returned because an unknown internal error has occurred.

Download-related error codes

Error codeError ID in hexadecimal notationError ID in decimal notationDescription
DOWNLOAD_ERROR_NOT_SELECT_ITEM30010000805371904The error message returned because no track is selected for download.
DOWNLOAD_ERROR_NO_DOWNLOAD_ITEM30010001805371905The error message returned because no track can be used for download.
DOWNLOAD_ERROR_STS_SOURCE_NULL30010002805371906The error message returned because the source for Security Token Service (STS)-based playback is not specified.
DOWNLOAD_ERROR_AUTH_SOURCE_NULL30010003805371907The error message returned because the source for playback credential-based playback is not specified.
DOWNLOAD_ERROR_AUTH_SOURCE_WRONG30010004805371908The error message returned because the format of the playback credential is invalid.
DOWNLOAD_ERROR_INVALID_ITEM30010005805371909The error message returned because the selected track for download is invalid.
DOWNLOAD_ERROR_URL_CANNOT_REACH30010006805371910The error message returned because the URL cannot be reached.
DOWNLOAD_ERROR_NOT_SUPPORT_FORMAT30010007805371911The error message returned because the download format is not supported.
DOWNLOAD_ERROR_ENCRYPT_FILE_NOT_MATCH30010008805371912The error message returned because the security file for encryption verification is invalid.
DOWNLOAD_ERROR_DOWNLOAD_SWITCH_OFF30010009805371913The error message returned because the download feature is disabled.
DOWNLOAD_ERROR_NET_ERROR3001000A805371914The error message returned because a network error has occurred.
DOWNLOAD_ERROR_NOT_SET_SAVE_DIR3001000B805371915The error message returned because the download directory is not specified.
DOWNLOAD_ERROR_CANNOT_CREATE_SAVE_DIR3001000C805371916The error message returned because the download directory cannot be created.
DOWNLOAD_ERROR_NO_SPACE3001000D805371917The error message returned because no space can be used.
DOWNLOAD_ERROR_WRITE_ERROR3001000E805371918The error message returned because data cannot be written to the file.
DOWNLOAD_ERROR_ENCRYPT_ERROR3001000F805371919The error message returned because the decryption fails.
DOWNLOAD_ERROR_FILE_NOT_EXIST30010010805371920The error message returned because the file does not exist.
DOWNLOAD_ERROR_CLEAN_INVALID_PARAM30010011805371921The error message returned because a parameter that is specified when you delete the file is invalid.
DOWNLOAD_ERROR_CLEAN_WRONG_STATUS30010012805371922The error message returned because the status of the file to be deleted is invalid.
DOWNLOAD_ERROR_GET_AES_KEY_FAIL30010013805371923The error message returned because the key for Advanced Encryption Standard (AES) failed to be obtained.
DOWNLOAD_ERROR_ENCRYPTION_NOT_SUPPORT30010014805371924The error message returned because the encryption method is not supported.