All Products
Search
Document Center

ApsaraVideo VOD:Error codes of ApsaraVideo Player SDK

Last Updated:Mar 16, 2023

This topic describes the meanings of the error codes that may occur when you use ApsaraVideo Player SDK. If you encounter an error code during actual operations, you can check the meaning of the error code to help resolve the error.

Error codes of Native SDK

Note

This section describes the error codes of Native SDK that may occur for various terminals such as Android and iOS terminals.

Request error codes

Error

Error code in hexadecimal notation

Error code in decimal notation

Description

ERROR_SERVER_NO_RESPONSE

20010001

536936449

The error message returned because the server returns no response.

ERROR_SERVER_WRONG_JSON

20010002

536936450

The error message returned because the returned data is not in the JSON format.

ERROR_NO_MATCH_QUALITY

20010003

536936451

The error message returned because no resolution matches.

ERROR_PLAYAUTH_WRONG

20010004

536936452

The error message returned because a playAuth parsing error has occurred.

ERROR_REQUEST_FAIL

20010005

536936453

The error message returned because the request fails.

POP error codes

Error

Error code in hexadecimal notation

Error code in decimal notation

Description

ERROR_SERVER_POP_UNKNOWN

20010100

536936704

The 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_PARAMETER

20010101

536936705

The error message returned because one or more required parameters are not set.

ERROR_SERVER_POP_INVALID_PARAMETER

20010102

536936706

The error message returned because the value of a parameter is invalid.

ERROR_SERVER_POP_OPERATION_DENIED

20010103

536936707

The error message returned because ApsaraVideo VOD is not activated for your Alibaba Cloud account.

ERROR_SERVER_POP_OPERATION_SUSPENED

20010104

536936708

The error message returned because your Alibaba Cloud account has overdue payments. Add funds to your account.

ERROR_SERVER_POP_FORBIDDEN

20010105

536936709

The error message returned because you are not authorized to perform the operation.

ERROR_SERVER_POP_INTERNAL_ERROR

20010106

536936710

The error message returned because an unknown error has occurred.

ERROR_SERVER_POP_SERVICE_UNAVALIABLE

20010107

536936711

The error message returned because the service is unavailable.

ERROR_SERVER_POP_SIGNATUREANONCE_USED

20010108

536936712

The error message returned because the signature has been used.

ERROR_SERVER_POP_SECURITYTOKEN_MAILFORMED

20010109

536936713

The error message returned because the security token is invalid.

ERROR_SERVER_POP_SECURITYTOKEN_MISMATCH_ACCESSKEY

2001010A

536936714

The error message returned because the security token and AccessKey pair do not match.

ERROR_SERVER_POP_SIGNATURE_NOT_MATCH

2001010B

536936715

The error message returned because the signature for verification is invalid.

ERROR_SERVER_POP_ACCESSKEYID_NOT_FOUND

2001010C

536936716

The error message returned because no AccessKey ID is available.

ERROR_SERVER_POP_TOKEN_EXPIRED

2001010D

536936717

The error message returned because the token expires.

ApsaraVideo VOD error codes

Error

Error code in hexadecimal notation

Error code in decimal notation

Description

ERROR_SERVER_VOD_UNKNOWN

20010200

536936960

The error message returned because an unknown error has occurred in ApsaraVideo VOD. For more information, see GetPlayInfo.

ERROR_SERVER_VOD_FORBIDDEN_ILLEGALSTATUS

20010201

536936961

The error message returned because the video status is invalid.

ERROR_SERVER_VOD_INVALIDVIDEO_NOTFOUND

20010202

536936962

The error message returned because the video does not exist.

ERROR_SERVER_VOD_INVALIDVIDEO_NOSTREAM

20010203

536936963

The error message returned because no transcoded stream can be used for playback based on your filter criteria.

ERROR_SERVER_VOD_FORBIDDEN_ALIYUNVODENCRYPTION

20010204

536936964

The error message returned because transcoded streams are encrypted by using Alibaba Cloud proprietary cryptography. You must use ApsaraVideo Player to play the transcoded streams or set the ResultType parameter to Multiple.

ERROR_SERVER_VOD_INVALIDAUTH_MEDIAID

20010205

536936965

The error message returned because the authentication information and the video ID do not match.

ERROR_SERVER_VOD_INVALIDAUTHINFO_EXPIRETIME

20010206

536936966

The error message returned because the authentication information expires.

MPS error codes

Error

Error code in hexadecimal notation

Error code in decimal notation

Description

ERROR_SERVER_MPS_UNKNOWN

20010300

536937216

The error message returned because an unknown error has occurred in ApsaraVideo Media Processing (MPS).

ERROR_SERVER_MPS_INVALID_MEDIAID

20010301

536937217

The error message returned because the media ID is invalid.

ERROR_SERVER_MPS_INVALID_AUTHTIMEOUT

20010302

536937218

The error message returned because the authentication expiration time is invalid.

ERROR_SERVER_MPS_INVALID_FORMATS

20010303

536937219

The error message returned because the format is invalid.

ERROR_SERVER_MPS_INVALID_AUTHINFO

20010304

536937220

The error message returned because the authentication information is invalid.

ERROR_SERVER_MPS_SIGNATURE_CHECK_FAILED

20010305

536937221

The error message returned because the signature failed to be verified.

ERROR_SERVER_MPS_MEDIAID_NOT_EXIST

20010306

536937222

The error message returned because the media ID does not exist.

ERROR_SERVER_MPS_MEDIA_RESOURCE_NOT_EXIST

20010307

536937223

The error message returned because the media asset does not exist.

ERROR_SERVER_MPS_MEDIA_NOT_PUBLISHED

20010308

536937224

The error message returned because the media are not published.

ERROR_SERVER_MPS_MEDIA_NOT_ENCRYPTED

20010309

536937225

The error message returned because the media are not encrypted.

ERROR_SERVER_MPS_INVALID_CIPHERTEXTBLOB

2001030A

536937226

The error message returned because the CiphertextBlob string is invalid.

ERROR_SERVER_MPS_CIPHERBLOB_NOT_EXIST

2001030B

536937227

The error message returned because the CiphertextBlob string does not exist.

ERROR_SERVER_MPS_INTERNAL_ERROR

2001030C

536937228

The error message returned because an internal server error has occurred.

ERROR_SERVER_MPS_INVALID_IDENTITY_NOT_ORDER_VIDEO_SERVICE

2001030D

536937229

The error message returned because you are not allowed to perform operations on the request ID.

ERROR_SERVER_MPS_UPDATE_CDN_DOMAIN_CONFIGS_FAIL

2001030E

536937230

The error message returned because the host configuration fails to be updated.

ERROR_SERVER_MPS_AUTH_KEY_EXIST

2001030F

536937231

The error message returned because the AccessKey secret for authentication has been used.

ERROR_SERVER_MPS_AUTH_KEY_NOT_EXIST

20010310

536937232

The error message returned because the AccessKey secret for authentication does not exist.

ERROR_SERVER_MPS_INVALID_PARAMETER_OUT_OF_BOUND

20010311

536937233

The error message returned because a parameter value is beyond the value range.

ERROR_SERVER_MPS_INVALID_PARAMETER

20010312

536937234

The error message returned because the value of a parameter is invalid.

ERROR_SERVER_MPS_INVALID_PARAMETER_NULL_VALUE

20010313

536937235

The error message returned because a parameter value is null. Set the parameter to a non-null value.

ERROR_SERVER_MPS_INVALID_PARAMETER_EMPTY_VALUE

20010314

536937236

The error message returned because a required parameter is not set.

ERROR_SERVER_MPS_MEDIA_RESOURCE_NOT_MATCH

20010315

536937237

The error message returned because no media asset matches.

ERROR_SERVER_MPS_MEDIA_NOT_FOUND_CIPHERTEXT

20010316

536937238

The error message returned because the ciphertext of the media ID is not found.

ERROR_SERVER_MPS_INVALID_PARAMETER_RAND

20010317

536937239

The error message returned because the specified rand parameter is invalid.

ERROR_SERVER_MPS_REDIS_POOL_IS_EMPTY

20010318

536937240

The error message returned because the cache connection pool is empty.

ERROR_SERVER_MPS_SIGNATURE_CHECK_MEDIA_FAILED

20010319

536937241

The error message returned because the signature and the media ID do not match.

ERROR_SERVER_MPS_SIGNATURE_CHECK_EXPIREDTIME_FAILED

2001031A

536937242

The error message returned because the specified timeout value expires.

ERROR_SERVER_MPS_INVALID_SESSION_TIME

2001031B

536937243

The 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_ID

2001031C

536937244

The error message returned because the length of the EndUserId parameter is invalid.

ERROR_SERVER_MPS_INVALID_URL

2001031D

536937245

The error message returned because the format of the LicenseUrl parameter is invalid.

ERROR_SERVER_MPS_HTTP_REQUEST_FAILED

2001031E

536937246

The error message returned because the request fails.

ERROR_SERVER_MPS_XML_FORMAT_ERROR

2001031F

536937247

The error message returned because the XML format is invalid.

ERROR_SERVER_MPS_SESSION_NOT_EXIST

20010320

536937248

The error message returned because the session does not exist.

ERROR_SERVER_MPS_REGION_NOT_SUPPORTED_API

20010321

536937249

The error message returned because the API operation is not supported.

ERROR_SERVER_MPS_DRM_NOT_ACTIVATED

20010322

536937250

The error message returned because digital rights management (DRM) is not activated in this region. Contact technical support.

ERROR_SERVER_MPS_DRM_AUTH_ERROR

20010323

536937251

The error message returned because DRM verification fails. Authorize DRM for the media.

ERROR_SERVER_MPS_CDN_CONFIG_NOT_EXIST

20010324

536937252

The 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 live streaming

Error

Error code in hexadecimal notation

Error code in decimal notation

Description

ERROR_SERVER_LIVESHIFT_UNKNOWN

20010400

536937472

The error message returned because an unknown error has occurred in time shifting.

ERROR_SERVER_LIVESHIFT_REQUEST_ERROR

20010401

536937473

The error message returned because the time shifting request fails.

ERROR_SERVER_LIVESHIFT_DATA_PARSER_ERROR

20010402

536937474

The error message returned because the time shifting data fails to be parsed.

Error codes of proprietary cryptography

Error

Error code in hexadecimal notation

Error code in decimal notation

Description

ERROR_TBDRM_UNKNOWN

0x20012000

536944640

The error message returned because an unknown error has occurred in proprietary cryptography.

ERROR_TBDRM_DEMUXER_UNIMPLEMENTED

20012001

536944641

The error message returned because the file that is encrypted by proprietary cryptography fails to be decapsulated.

ARTP error codes

Error

Error code in hexadecimal notation

Error code in decimal notation

Description

ERROR_ARTP_UNKNOWN

0x20013000

536948736

The error message returned because an unknown Alibaba Real-time Transport Protocol (ARTP) error has occurred.

ERROR_ARTP_DEMUXER_UNIMPLEMENTED

0x20013001

536948737

The error message returned because the ARTP module fails to be loaded. Check the dynamic-link library.

ERROR_ARTP_LOAD_FAILED

0x20013002

536948738

The error message returned because the player fails to load data for ARTP-based playback.

ERROR_ARTP_STREAM_ILLEGAL

0x20013003

536948739

The error message returned because the URL of the ARTP stream is invalid.

ERROR_ARTP_STREAM_NOT_FOUND

0x20013004

536948740

The error message returned because the ARTP stream does not exist.

ERROR_ARTP_STREAM_STOPPED

0x20013005

536948741

The error message returned because the ARTP stream stops.

ERROR_ARTP_PLAY_TIMEOUT

0x20013006

536948742

The error message returned because the startup loading of the ARTP stream times out.

ERROR_ARTP_SPSPPS_AACCONF_TIMEOUT

0x20013007

536948743

The error message returned because the time expires for receiving the ARTP sequence parameter set (SPS) or picture parameter set (PPS) or AAC configurations.

ERROR_ARTP_ARTP_MEDIA_INFO_TIMEOUT

0x20013007

536948743

The error message returned because the time expires for receiving the ARTP SPS or PPS or AAC configurations.

ERROR_ARTP_PACKET_RECV_TIMEOUT

0x20013008

536948744

The error message returned because the time expires for receiving ARTP packets that carry audio and video streams.

ERROR_ARTP_MEDIA_PROBE_FAILED

0x20013009

536948745

The error message returned because the connectivity test fails for the transmission of ARTP packets.

Playback error codes

Error

Error code in hexadecimal notation

Error code in decimal notation

Description

ERROR_UNKNOWN_ERROR

2001FFFF

537001983

The error message returned because an unknown error has occurred.

ERROR_DEMUXER_OPENURL

20030001

537067521

The error message returned because the URL cannot be opened.

ERROR_DEMUXER_NO_VALID_STREAM

20030002

537067522

The error message returned because the stream is invalid.

ERROR_DEMUXER_OPENSTREAM

20030003

537067523

The error message returned because the stream file fails to be opened.

ERROR_LOADING_TIMEOUT

20030004

537067524

The error message returned because the loading times out.

ERROR_DATASOURCE_EMPTYURL

20030005

537067525

The error message returned because the URL of the source file is not specified.

ERROR_DECODE_VIDEO

20040001

537133057

The error message returned because the video fails to be decoded.

ERROR_DECODE_AUDIO

20040002

537133058

The error message returned because the audio fails to be decoded.

ERROR_NETWORK_UNKNOWN

20050000

537198592

The error message returned because an unknown network error has occurred.

ERROR_NETWORK_UNSUPPORTED

20050001

537198593

Check whether the protocol used by the mezzanine file is supported.

ERROR_NETWORK_RESOLVE

20050002

537198594

The error message returned because the domain name cannot be resolved.

ERROR_NETWORK_CONNECT_TIMEOUT

20050003

537198595

The error message returned because the network connection times out.

ERROR_NETWORK_COULD_NOT_CONNECT

20050004

537198596

The error message returned because the server fails to be connected.

ERROR_NETWORK_HTTP_403

20050005

537198597

The error message returned because an HTTP 403 error has occurred.

ERROR_NETWORK_HTTP_404

20050006

537198598

The error message returned because an HTTP 404 error has occurred.

ERROR_NETWORK_HTTP_4XX

20050007

537198599

The error message returned because an HTTP 4xx error other than HTTP 403 or HTTP 404 has occurred.

ERROR_NETWORK_HTTP_5XX

20050008

537198600

The error message returned because an HTTP 5xx error has occurred.

ERROR_NETWORK_HTTP_RANGE

20050009

537198601

The error message returned because the HTTP range request is not supported.

ERROR_NETWORK_HTTP_400

2005000A

537198602

The error message returned because an HTTP 400 error has occurred.

ERROR_CODEC_UNKNOWN

20060000

537264128

The error message returned because an unknown decoding error has occurred.

ERROR_CODEC_VIDEO_NOT_SUPPORT

20060001

537264129

The error message returned because the video coding format is not supported.

ERROR_CODEC_AUDIO_NOT_SUPPORT

20060002

537264130

The error message returned because the audio coding format is not supported.

ERROR_GENERAL_UNKNOWN

20080000

537395200

The error message returned because a standard error has occurred.

ERROR_GENERAL_EPERM

20080001

537395201

The error message returned because the "EPERM: Operation not permitted" error has occurred.

ERROR_GENERAL_ENOENT

20080002

537395202

The error message returned because the "ENOENT: No such file or directory" error has occurred.

ERROR_GENERAL_EIO

20080005

537395205

The error message returned because the "EIO: I/O error" error has occurred.

ERROR_UNKNOWN

0x2FFFFFFF

805306367

The error message returned because an unknown error has occurred.

ERROR_INERNAL_EXIT

0x20070000

537329664

The error message returned because an unknown internal error has occurred.

Download-related error codes

Error

Error code in hexadecimal notation

Error code in decimal notation

Description

DOWNLOAD_ERROR_NOT_SELECT_ITEM

30010000

805371904

The error message returned because no track is selected for download.

DOWNLOAD_ERROR_NO_DOWNLOAD_ITEM

30010001

805371905

The error message returned because no track can be used for download.

DOWNLOAD_ERROR_STS_SOURCE_NULL

30010002

805371906

The error message returned because the source for Security Token Service (STS)-based playback is not specified.

DOWNLOAD_ERROR_AUTH_SOURCE_NULL

30010003

805371907

The error message returned because the source for playback credential-based playback is not specified.

DOWNLOAD_ERROR_AUTH_SOURCE_WRONG

30010004

805371908

The error message returned because the format of the playback credential is invalid.

DOWNLOAD_ERROR_INVALID_ITEM

30010005

805371909

The error message returned because the selected track for download is invalid.

DOWNLOAD_ERROR_URL_CANNOT_REACH

30010006

805371910

The error message returned because the URL cannot be reached.

DOWNLOAD_ERROR_NOT_SUPPORT_FORMAT

30010007

805371911

The error message returned because the download format is not supported.

DOWNLOAD_ERROR_ENCRYPT_FILE_NOT_MATCH

30010008

805371912

The error message returned because the security file for encryption verification is invalid.

DOWNLOAD_ERROR_DOWNLOAD_SWITCH_OFF

30010009

805371913

The error message returned because the download feature is disabled.

DOWNLOAD_ERROR_NET_ERROR

3001000A

805371914

The error message returned because a network error has occurred.

DOWNLOAD_ERROR_NOT_SET_SAVE_DIR

3001000B

805371915

The error message returned because the download directory is not specified.

DOWNLOAD_ERROR_CANNOT_CREATE_SAVE_DIR

3001000C

805371916

The error message returned because the download directory cannot be created.

DOWNLOAD_ERROR_NO_SPACE

3001000D

805371917

The error message returned because no space can be used.

DOWNLOAD_ERROR_WRITE_ERROR

3001000E

805371918

The error message returned because data cannot be written to the file.

DOWNLOAD_ERROR_ENCRYPT_ERROR

3001000F

805371919

The error message returned because the decryption fails.

DOWNLOAD_ERROR_FILE_NOT_EXIST

30010010

805371920

The error message returned because the file does not exist.

DOWNLOAD_ERROR_CLEAN_INVALID_PARAM

30010011

805371921

The error message returned because a parameter that is specified when you delete the file is invalid.

DOWNLOAD_ERROR_CLEAN_WRONG_STATUS

30010012

805371922

The error message returned because the status of the file to be deleted is invalid.

DOWNLOAD_ERROR_GET_AES_KEY_FAIL

30010013

805371923

The error message returned because the key for Advanced Encryption Standard (AES) failed to be obtained.

DOWNLOAD_ERROR_ENCRYPTION_NOT_SUPPORT

30010014

805371924

The error message returned because the encryption method is not supported.

Web error codes

Error code

Description

4001

The error code returned because the value of a parameter is invalid.

4002

The error code returned because the playback credential has expired.

4003

The error code returned because the URL is invalid.

4004

The error message returned because the URL does not exist.

4005

The error code returned because an error has occurred when the player starts to download data. Check whether the network or the streaming URL is available.

4006

The error code returned because an error has occurred when the player starts to download metadata.

4007

The error code returned because a playback error has occurred.

4008

The error code returned because the loading has timed out. Check whether the network or the streaming URL is available.

4009

The error code returned because a data request error has occurred. Check whether the network or the streaming URL is available.

4010

The error code returned because videos encrypted by using Alibaba Cloud propriety cryptography cannot be played.

4011

The error code returned because the format of the video to be played is not supported.

4012

The error code returned because a playAuth parsing error has occurred.

4013

The error code returned because a playback data decoding error has occurred. Check whether the browser supports the video format.

4014

The error code returned because the network is unavailable.

4015

The error code returned because retrieving data is aborted.

4016

The error code returned because data loading fails due to a network error.

4017

The error code returned because the returned playback URL is empty.

4100

The error code returned because a signaling request error has occurred.

4110

The error code returned because Web Real-Time Communication (WebRTC) is not supported.

4111

The error code returned because the browser is not supported.

4112

The error code returned because the browser version is outdated.

4113

The error code returned because H.264 encoding is not supported.

4114

The error code returned because the offer fails to be created.

4115

The error code returned because autoplay fails.

4116

The error code returned because the playback URL uses an invalid protocol.

4118

The error code returned because the specified HTML element is not an audio or a video stream.

4200

The error code returned because the playback fails.

4400

The error code returned because an unknown error has occurred. Resources fail to be loaded due to a server or network error, or the resource format is not supported.

4500

The error message returned because a server request error has occurred. Check the VOD request on the network.