This topic describes the definitions, values, and descriptions of error codes for the ApsaraVideo Player Software Development Kit (SDK) for Android, iOS, Flutter, and HarmonyOS. If an error code is returned, you can look it up in this topic to troubleshoot the issue.
Request error codes
Error definition | Hexadecimal value | Decimal value | Fault description |
ERROR_SERVER_NO_RESPONSE | 20010001 | 536936449 | The server returned an empty response. |
ERROR_SERVER_WRONG_JSON | 20010002 | 536936450 | The data returned by the server is not in JSON format. |
ERROR_NO_MATCH_QUALITY | 20010003 | 536936451 | No matching definition was found. |
ERROR_PLAYAUTH_WRONG | 20010004 | 536936452 | Failed to parse the PlayAuth. |
ERROR_REQUEST_FAIL | 20010005 | 536936453 | The request failed. |
ERROR_NO_PLAY_INFO | 20010006 | 536936454 | The server returned empty playback information. |
POP error codes
Error definition | Hexadecimal value | Error Value (Decimal) | Fault description |
ERROR_SERVER_POP_UNKNOWN | 20010100 | 536936704 | An unknown POP error occurred. For more information about POP error messages, see Error codes. |
ERROR_SERVER_POP_MISSING_PARAMETER | 20010101 | 536936705 | A parameter is missing. |
ERROR_SERVER_POP_INVALID_PARAMETER | 20010102 | 536936706 | The parameter is invalid. |
ERROR_SERVER_POP_OPERATION_DENIED | 20010103 | 536936707 | The ApsaraVideo VOD service is not activated for the account. |
ERROR_SERVER_POP_OPERATION_SUSPENED | 20010104 | 536936708 | The account has an overdue payment. Top up your account. |
ERROR_SERVER_POP_FORBIDDEN | 20010105 | 536936709 | You do not have the permission to perform this operation. |
ERROR_SERVER_POP_INTERNAL_ERROR | 20010106 | 536936710 | An unknown backend error occurred. |
ERROR_SERVER_POP_SERVICE_UNAVALIABLE | 20010107 | 536936711 | The service is unavailable. |
ERROR_SERVER_POP_SIGNATUREANONCE_USED | 20010108 | 536936712 | The signature has been used. |
ERROR_SERVER_POP_SECURITYTOKEN_MAILFORMED | 20010109 | 536936713 | The security token is incorrect. |
ERROR_SERVER_POP_SECURITYTOKEN_MISMATCH_ACCESSKEY | 2001010A | 536936714 | The security token does not match the AccessKey. |
ERROR_SERVER_POP_SIGNATURE_NOT_MATCH | 2001010B | 536936715 | Signature verification failed. |
ERROR_SERVER_POP_ACCESSKEYID_NOT_FOUND | 2001010C | 536936716 | The AccessKey ID was not found. |
ERROR_SERVER_POP_TOKEN_EXPIRED | 2001010D | 536936717 | The token has expired. |
Video-on-demand error codes
Error definition | Hexadecimal value | Decimal Error Value | Fault description |
ERROR_SERVER_VOD_UNKNOWN | 20010200 | 536936960 | An unknown ApsaraVideo VOD error occurred. For more information, see Obtain the playback URLs of audio or video files. |
ERROR_SERVER_VOD_FORBIDDEN_ILLEGALSTATUS | 20010201 | 536936961 | The video status is invalid. |
ERROR_SERVER_VOD_INVALIDVIDEO_NOTFOUND | 20010202 | 536936962 | The video does not exist. |
ERROR_SERVER_VOD_INVALIDVIDEO_NOSTREAM | 20010203 | 536936963 | No playable transcoded stream was found based on your filter conditions. |
ERROR_SERVER_VOD_FORBIDDEN_ALIYUNVODENCRYPTION | 20010204 | 536936964 | Only transcoded streams that are encrypted using Alibaba Cloud proprietary cryptography exist. You must use ApsaraVideo Player for playback or set the ResultType parameter to Multiple. |
ERROR_SERVER_VOD_INVALIDAUTH_MEDIAID | 20010205 | 536936965 | The AuthInfo does not match the video ID. |
ERROR_SERVER_VOD_INVALIDAUTHINFO_EXPIRETIME | 20010206 | 536936966 | The AuthInfo has expired. |
MPS error codes
Error definition | Hexadecimal value | Decimal value | Error Description |
ERROR_SERVER_MPS_UNKNOWN | 20010300 | 536937216 | An unknown MPS error occurred. |
ERROR_SERVER_MPS_INVALID_MEDIAID | 20010301 | 536937217 | The MediaId is invalid. |
ERROR_SERVER_MPS_INVALID_AUTHTIMEOUT | 20010302 | 536937218 | The AuthTimeout is invalid. |
ERROR_SERVER_MPS_INVALID_FORMATS | 20010303 | 536937219 | The Formats parameter is invalid. |
ERROR_SERVER_MPS_INVALID_AUTHINFO | 20010304 | 536937220 | The AuthInfo is invalid. |
ERROR_SERVER_MPS_SIGNATURE_CHECK_FAILED | 20010305 | 536937221 | Signature verification failed. |
ERROR_SERVER_MPS_MEDIAID_NOT_EXIST | 20010306 | 536937222 | The MediaId does not exist. |
ERROR_SERVER_MPS_MEDIA_RESOURCE_NOT_EXIST | 20010307 | 536937223 | The media resource does not exist. |
ERROR_SERVER_MPS_MEDIA_NOT_PUBLISHED | 20010308 | 536937224 | The media is not published. |
ERROR_SERVER_MPS_MEDIA_NOT_ENCRYPTED | 20010309 | 536937225 | The media is not encrypted. |
ERROR_SERVER_MPS_INVALID_CIPHERTEXTBLOB | 2001030A | 536937226 | The ciphertextblob is invalid. |
ERROR_SERVER_MPS_CIPHERBLOB_NOT_EXIST | 2001030B | 536937227 | The CipherTextBlob does not exist. |
ERROR_SERVER_MPS_INTERNAL_ERROR | 2001030C | 536937228 | An internal server error occurred. |
ERROR_SERVER_MPS_INVALID_IDENTITY_NOT_ORDER_VIDEO_SERVICE | 2001030D | 536937229 | The request identity is not allowed to perform the operation. |
ERROR_SERVER_MPS_UPDATE_CDN_DOMAIN_CONFIGS_FAIL | 2001030E | 536937230 | Failed to update the host configuration. |
ERROR_SERVER_MPS_AUTH_KEY_EXIST | 2001030F | 536937231 | The auth key already exists. |
ERROR_SERVER_MPS_AUTH_KEY_NOT_EXIST | 20010310 | 536937232 | The auth key does not exist. |
ERROR_SERVER_MPS_INVALID_PARAMETER_OUT_OF_BOUND | 20010311 | 536937233 | The parameter is out of range. |
ERROR_SERVER_MPS_INVALID_PARAMETER | 20010312 | 536937234 | The parameter is invalid. |
ERROR_SERVER_MPS_INVALID_PARAMETER_NULL_VALUE | 20010313 | 536937235 | The parameter cannot be null. |
ERROR_SERVER_MPS_INVALID_PARAMETER_EMPTY_VALUE | 20010314 | 536937236 | The parameter cannot be empty. |
ERROR_SERVER_MPS_MEDIA_RESOURCE_NOT_MATCH | 20010315 | 536937237 | The media resource does not match. |
ERROR_SERVER_MPS_MEDIA_NOT_FOUND_CIPHERTEXT | 20010316 | 536937238 | The ciphertext resource for the MediaId was not found. |
ERROR_SERVER_MPS_INVALID_PARAMETER_RAND | 20010317 | 536937239 | The specified Rand parameter is invalid. |
ERROR_SERVER_MPS_REDIS_POOL_IS_EMPTY | 20010318 | 536937240 | The cache connection pool is empty. |
ERROR_SERVER_MPS_SIGNATURE_CHECK_MEDIA_FAILED | 20010319 | 536937241 | The signature does not match the media ID. |
ERROR_SERVER_MPS_SIGNATURE_CHECK_EXPIREDTIME_FAILED | 2001031A | 536937242 | The specified expiration time has passed. |
ERROR_SERVER_MPS_INVALID_SESSION_TIME | 2001031B | 536937243 | The specified SessionTime parameter must be greater than 0. |
ERROR_SERVER_MPS_INVALID_END_USER_ID | 2001031C | 536937244 | The length of the EndUserId is incorrect. |
ERROR_SERVER_MPS_INVALID_URL | 2001031D | 536937245 | The format of the specified LicenseUrl parameter is incorrect. |
ERROR_SERVER_MPS_HTTP_REQUEST_FAILED | 2001031E | 536937246 | The request failed. |
ERROR_SERVER_MPS_XML_FORMAT_ERROR | 2001031F | 536937247 | The XML format is incorrect. |
ERROR_SERVER_MPS_SESSION_NOT_EXIST | 20010320 | 536937248 | The session does not exist. |
ERROR_SERVER_MPS_REGION_NOT_SUPPORTED_API | 20010321 | 536937249 | The API is not supported. |
ERROR_SERVER_MPS_DRM_NOT_ACTIVATED | 20010322 | 536937250 | DRM is not activated in this region. Contact us. |
ERROR_SERVER_MPS_DRM_AUTH_ERROR | 20010323 | 536937251 | DRM authentication failed. Grant authorization to this media. |
ERROR_SERVER_MPS_CDN_CONFIG_NOT_EXIST | 20010324 | 536937252 | The CDN domain configuration does not exist for the OSS domain. |
Time shifting error codes
Error definition | Hexadecimal value | Decimal value | Fault description |
ERROR_SERVER_LIVESHIFT_UNKNOWN | 20010400 | 536937472 | An unknown time shifting error occurred. |
ERROR_SERVER_LIVESHIFT_REQUEST_ERROR | 20010401 | 536937473 | The time shifting request failed. |
ERROR_SERVER_LIVESHIFT_DATA_PARSER_ERROR | 20010402 | 536937474 | Failed to parse the time shifting data. |
Private encryption error codes
Error definition | Hexadecimal value | Error Value (Decimal) | Error description |
ERROR_TBDRM_UNKNOWN | 20012000 | 536944640 | An unknown private encryption error occurred. |
ERROR_TBDRM_DEMUXER_UNIMPLEMENTED | 20012001 | 536944641 | Demuxing for private encryption is not implemented. |
ARTP error codes
Error definition | Hexadecimal value | Error value (decimal) | Fault Description |
ERROR_ARTP_UNKNOWN | 20013000 | 536948736 | An unknown Artp error occurred. |
ERROR_ARTP_DEMUXER_UNIMPLEMENTED | 20013001 | 536948737 | Failed to load the Artp module. Check the dynamic library. |
ERROR_ARTP_LOAD_FAILED | 20013002 | 536948738 | Failed to load the Artp video for playback. |
ERROR_ARTP_STREAM_ILLEGAL | 20013003 | 536948739 | The Artp stream URL is invalid. |
ERROR_ARTP_STREAM_FORBIDDEN | 20013004 | 536948740 | Access to the Artp stream is forbidden. |
ERROR_ARTP_STREAM_NOT_FOUND | 20013005 | 536948741 | The Artp stream does not exist. |
ERROR_ARTP_STREAM_STOPPED | 20013006 | 536948742 | The Artp stream is disconnected. |
ERROR_ARTP_PLAY_TIMEOUT | 20013007 | 536948743 | Playback startup for the Artp stream timed out. |
ERROR_ARTP_SPSPPS_AACCONF_TIMEOUT | 20013008 | 536948744 | Receiving the Artp SPS/PPS or AAC Conf timed out. |
ERROR_ARTP_ARTP_MEDIA_INFO_TIMEOUT | 20013008 | 536948744 | Receiving the Artp SPS/PPS or AAC Conf timed out. |
ERROR_ARTP_PACKET_RECV_TIMEOUT | 20013009 | 536948745 | Receiving Artp audio and video data packets timed out. |
ERROR_ARTP_MEDIA_PROBE_FAILED | 2001300A | 536948746 | The Artp data packet connectivity probe failed. |
Playback error codes
Error definition | Hexadecimal value | Decimal Fault Value | Fault description |
ERROR_UNKNOWN_ERROR | 2001FFFF | 537001983 | An unknown error occurred. |
ERROR_DEMUXER_START | 20030000 | 537067520 | The start code for demuxer errors. |
ERROR_DEMUXER_OPENURL | 20030001 | 537067521 | Failed to open the URL. |
ERROR_DEMUXER_NO_VALID_STREAM | 20030002 | 537067522 | The stream is invalid. |
ERROR_DEMUXER_OPENSTREAM | 20030003 | 537067523 | Failed to open the stream. |
ERROR_LOADING_TIMEOUT | 20030004 | 537067524 | Loading timed out. |
ERROR_DATASOURCE_EMPTYURL | 20030005 | 537067525 | The data source URL is empty. |
ERROR_DATASOURCE_RESOLVE | 20030007 | 537067527 | DNS resolution failed. |
ERROR_DATASOURCE_CONNECT | 20030008 | 537067528 | Cannot connect to the server. |
ERROR_DIRTY_DATA | 20030009 | 537067529 | Dirty data was received from the network. |
ERROR_NO_NETWORK_ACCESS | 2003000A | 537067530 | No network access. |
ERROR_LOADING_TIMEOUT_LOW_TRANSFER | 2003000B | 537067531 | The network transfer speed is too low. Less than 1 byte of data was transferred during the timeout period. |
ERROR_LOADING_TIMEOUT_SSL | 2003000C | 537067532 | The SSL connection timed out. |
ERROR_LOADING_TIMEOUT_RESOLVE | 2003000D | 537067533 | DNS resolution timed out. |
ERROR_LOADING_TIMEOUT_CONNECT | 2003000E | 537067534 | The TCP connection timed out. |
ERROR_DECODE_VIDEO | 20040001 | 537133057 | Failed to decode the video. |
ERROR_DECODE_AUDIO | 20040002 | 537133058 | Failed to decode the audio. |
ERROR_NETWORK_UNKNOWN | 20050000 | 537198592 | An unknown network error occurred. |
ERROR_NETWORK_UNSUPPORTED | 20050001 | 537198593 | The protocol is not supported. |
ERROR_NETWORK_RESOLVE | 20050002 | 537198594 | Cannot parse the domain name. |
ERROR_NETWORK_CONNECT_TIMEOUT | 20050003 | 537198595 | The network connection timed out. |
ERROR_NETWORK_COULD_NOT_CONNECT | 20050004 | 537198596 | Cannot connect to the server. |
ERROR_NETWORK_HTTP_403 | 20050005 | 537198597 | 403 error. |
ERROR_NETWORK_HTTP_404 | 20050006 | 537198598 | 404 error. |
ERROR_NETWORK_HTTP_4XX | 20050007 | 537198599 | Other 4xx errors. |
ERROR_NETWORK_HTTP_5XX | 20050008 | 537198600 | 5xx server errors. |
ERROR_NETWORK_HTTP_RANGE | 20050009 | 537198601 | Range requests are not supported. |
ERROR_NETWORK_HTTP_400 | 2005000A | 537198602 | 400 error. |
ERROR_NETWORK_HTTP_REDIRECT_NONMEDIA | 2005000B | 537198603 | Redirection to a URL of a non-media file. |
ERROR_CODEC_UNKNOWN | 20060000 | 537264128 | An unknown decoding error occurred. |
ERROR_CODEC_VIDEO_NOT_SUPPORT | 20060001 | 537264129 | The video coding format is not supported. |
ERROR_CODEC_AUDIO_NOT_SUPPORT | 20060002 | 537264130 | The audio coding format is not supported. |
ERROR_INERNAL_EXIT | 20070000 | 537329664 | An unknown internal error occurred. |
ERROR_INERNAL_EXIT | 20070001 | 537329665 | Internal exit. |
ERROR_GENERAL_UNKNOWN | 20080000 | 537395200 | Standard error. |
ERROR_GENERAL_EPERM | 20080001 | 537395201 | Standard error -1. The operation is not permitted. |
ERROR_GENERAL_ENOENT | 20080002 | 537395202 | Standard error -2. The file does not exist. |
ERROR_GENERAL_EIO | 20080005 | 537395205 | Standard error -5. An I/O error occurred. |
MEDIA_PLAYER_ERROR_GENERAL_EPERM_SEEK | 20080006 | 537395206 | Permission verification for the seek operation failed. |
MEDIA_PLAYER_ERROR_GENERAL_EPERM_READ | 20080007 | 537395207 | Permission verification for data reading failed. |
MEDIA_PLAYER_ERROR_GENERAL_EPERM_DEMUXER | 20080008 | 537395208 | Permission verification for demuxing failed. |
ERROR_RENDER_UNKNOWN | 20090000 | 537460736 | An unknown rendering error occurred. |
ERROR_RENDER_AUDIO_OPEN_DEVICE_FAILED | 20090001 | 537460737 | Failed to open the audio device. |
ERROR_FORMAT_UNKNOWN | 200A0000 | 537526272 | An unknown format error occurred. |
ERROR_FORMAT_NOT_SUPPORT | 200A0001 | 537526273 | The media format is not supported. |
ERROR_FORMAT_URL_REQUIRE_ALIYUN_PRIVATE_TAG | 200A0002 | 537526274 | To play a privately encrypted MP4 media file, you must add etavirp_nuyila=1 to the URL. |
ERROR_FORMAT_INVALID_TBDRM_MP4_KEY | 200A0003 | 537526275 | The key info is not found in the metadata of the MP4 media file or the key info is invalid. |
ERROR_FORMAT_INVALID_TBDRM_HLS_KEY | 200A0004 | 537526276 | The key info is not found in the metadata of the HLS media file or the key info is invalid. |
ERROR_UNKNOWN | 2FFFFFFF | 805306367 | An unknown error occurred. |
Download error codes
Error definition | Hexadecimal value | Fault Value (Decimal) | Error description |
DOWNLOAD_ERROR_NOT_SELECT_ITEM | 30010000 | 805371904 | No download item is selected. |
DOWNLOAD_ERROR_NO_DOWNLOAD_ITEM | 30010001 | 805371905 | No download items are available. |
DOWNLOAD_ERROR_STS_SOURCE_NULL | 30010002 | 805371906 | The STS source is not set. |
DOWNLOAD_ERROR_AUTH_SOURCE_NULL | 30010003 | 805371907 | The Auth source is not set. |
DOWNLOAD_ERROR_AUTH_SOURCE_WRONG | 30010004 | 805371908 | The Auth format is incorrect. |
DOWNLOAD_ERROR_INVALID_ITEM | 30010005 | 805371909 | The selected download item is incorrect. |
DOWNLOAD_ERROR_URL_CANNOT_REACH | 30010006 | 805371910 | The URL cannot be reached. |
DOWNLOAD_ERROR_NOT_SUPPORT_FORMAT | 30010007 | 805371911 | The download format is not supported. |
DOWNLOAD_ERROR_ENCRYPT_FILE_NOT_MATCH | 30010008 | 805371912 | The encryption verification file does not match. |
DOWNLOAD_ERROR_DOWNLOAD_SWITCH_OFF | 30010009 | 805371913 | The download feature is disabled. |
DOWNLOAD_ERROR_NET_ERROR | 3001000A | 805371914 | A network error occurred. |
DOWNLOAD_ERROR_NOT_SET_SAVE_DIR | 3001000B | 805371915 | The download path is not set. |
DOWNLOAD_ERROR_CANNOT_CREATE_SAVE_DIR | 3001000C | 805371916 | Cannot create the download directory. |
DOWNLOAD_ERROR_NO_SPACE | 3001000D | 805371917 | No available space. |
DOWNLOAD_ERROR_WRITE_ERROR | 3001000E | 805371918 | An error occurred when writing to the file. |
DOWNLOAD_ERROR_ENCRYPT_ERROR | 3001000F | 805371919 | Decryption failed. |
DOWNLOAD_ERROR_FILE_NOT_EXIST | 30010010 | 805371920 | The file does not exist. |
DOWNLOAD_ERROR_CLEAN_INVALID_PARAM | 30010011 | 805371921 | The file parameter for deletion is invalid. |
DOWNLOAD_ERROR_CLEAN_WRONG_STATUS | 30010012 | 805371922 | The file status for deletion is incorrect. |
DOWNLOAD_ERROR_GET_AES_KEY_FAIL | 30010013 | 805371923 | Failed to obtain the AES key. |
DOWNLOAD_ERROR_ENCRYPTION_NOT_SUPPORT | 30010014 | 805371924 | The encryption method is not supported. |
Media loading error codes
Error definition | Hexadecimal value | Fault value (decimal) | Fault description |
MEDIALOADER_ERROR_UNKNOWN | 40010000 | 1073807360 | An unknown MediaLoader error occurred. |
MEDIALOADER_ERROR_ADDED | 40010001 | 1073807361 | The same URL has been loaded. |
MEDIALOADER_ERROR_NOT_ENABLE | 40010002 | 1073807362 | Local caching is disabled. Preloading failed. |
MEDIALOADER_ERROR_NOT_SUPPORT | 40010003 | 1073807363 | Not supported. |
40010004 | 1073807364 | No track was found. | |
MEDIALOADER_ERROR_EADDED_OLD | -300 | The same URL has been loaded. | |
MEDIALOADER_ERROR_ENOT_ENABLE_OLD | -301 | Local caching is disabled. Preloading failed. |
Key management error codes
Error definition | Hexadecimal value | Decimal value | Fault description |
ERROR_KEYMANAGER_UNKNOWN | 20011000 | 536940544 | An unknown key management error occurred. |