Error

An interface with the error description.

Properties | List of errors

: properties

Name Type Mandatory Description
code string Yes Error code.
message string Yes Text of an error message with the problem description.

: list of errors

Error Description
NO_AD_SECTION Empty VAST (missing Ad advertisement section). Most likely, no ad was selected.
SLOT_SMALL_SIZE The AdPod can't be played because the ad container isn't large enough to serve ads (see the player size requirements in the Rules of participation, paragraph 4.3.2).
SLOT_ZERO_SIZE The AdPod can't be played in a container with zero width or height (see the player size requirements in the Rules of participation, paragraph 4.3.2).
SLOT_DISPLAY_NONE The AdPod can't be played in a hidden container (see the player size requirements in the Rules of participation, paragraph 4.3.2).
VIDEO_PLAY_REJECTED The video element's play() method returned a Promise object which later changed to the Rejected state.
BAD_PARTNER_OR_DOMAIN_FOR_VAST_REQUEST A VAST request returned an error that means that the ad partner's settings aren't applicable to the current ad platform.
VIDEO_WRAPPER_NODE_NOT_IN_DOM / WRAPPER_OR_VIDEO_NODE_NOT_IN_DOM A container for rendering ad elements (that can also be a video element container) isn't in the DOM tree.
YANDEX_AD_CREATIVE_NO_ANIM_VIDEO_START_TIMEOUT / YANDEX_AD_CREATIVE_WITH_ANIM_VIDEO_START_TIMEOUT A video with or without animation didn't launch within the given time.
VPAID_FRIENDLY_IFRAME_SECURITY_POLICY_VIOLATION / VPAID_FRIENDLY_IFRAME_CSP_VIOLATION_REPORT / MEDIA_SRC_VIOLATES_CSP_POLICY Couldn't load the resource due to the site's CSP policies.
VPAID_LOADING_ERROR Error loading the VPAID creative: an AdError event occurred during initialization.
VPAID_LOAD_TIMEOUT VPAID loading timed out.
VPAID_INIT_TIMEOUT / YANDEX_VPAID_INIT_TIMEOUT VPAID initialization timed out.
VPAID_START_TIMEOUT / YANDEX_VPAID_START_TIMEOUT VPAID starting timed out.
VAST_LOAD_TIMEOUT / YANDEX_VAST_LOAD_TIMEOUT VAST loading timed out.
WRAPPER_VAST_LOAD_TIMEOUT VAST Wrapper loading timed out.
VMAP_LOAD_TIMEOUT VMAP loading timed out.
VMAP_CONFIG_WITHOUT_PARTNER_ID The partnerId parameter is missing in the VMAP loading config.
AD_CREATIVE_BUFFER_FULL_TIMEOUT / BUFFER_FULL_TIMEOUT Video content buffering timed out.
AD_CREATIVE_BUFFER_EMPTY_LIMIT / BUFFER_EMPTY_LIMIT The maximum allowed number of video content bufferings exceeded.
MEDIA_ERR_NETWORK_FIRST_CHUNK_FAIL Can't play a media file of a certain type because it didn't load.
MEDIA_ERR_NETWORK A video tag error. A network error occurred when loading a media file.
MEDIA_ERR_SRC_NOT_SUPPORTED A video tag error. Can't play a media file of a certain type.
INVALID_VAST_XML / ADFOX_INVALID_VAST_XML / YANDEX_INVALID_VAST_XML An invalid format of VAST XML file was returned. It can't be played.
VAST_LOAD_ERROR / YANDEX_VAST_LOAD_ERROR / ADFOX_VAST_LOAD_ERROR Error loading VAST.
CANNOT_SHOW_CPC_CONTROLS The creative won't be served because ad controls can't be shown. This can happen if a user has already opened a video element in fullscreen or picture-in-picture mode, so it is not possible to display controls on top of the video tag.
VOLUME_IS_OUT_OF_RANGE An attempt to pass values outside of the [0, 1] range to the .setAdVolume() method of AdPlaybackController.
VIDEO_NODE_DOM_POSITION_CHANGED Error changing the position of a video element in the DOM tree.
NOT_ENOUGH_PARAMETERS_TO_CREATE_AD_LOADER Not enough parameters to load an ad.
APC_CALLBACK_ERROR An error in the AdPlaybackController callback caused by the ad platform.
TOO_MANY_CREATE_AD_DISPLAY_CONTROLLER_REQUESTS Too many requests to initialize AdDisplayController. There could be an ad launching loop somewhere.
ATTEMPT_TO_PLAY_AD_SECOND_TIME An attempt to play an ad creative a second time.
ATTEMPT_TO_SKIP_AD_POD_AFTER_FINISH An attempt to skip an AdPod after it's finished.
CANNOT_LOAD_MODULE Error loading an AdSDK module (JS file).
CANNOT_INIT_MODULE Error initializing one of AdSDK modules.
CANNOT_PRELOAD_VIDEO_FILE Error preloading a video file.