VAST Error Codes: The Full List
Every VAST error code from 100 to 902, what each one means, how the [ERRORCODE] macro works and what to check first.
A VAST error code tells you which stage failed: the 100s are the XML, the 200s the ad type, the 300s wrappers, the 400s linear media, the 500s non-linear ads and the 600s companions. There is no code 404 in VAST.
How codes reach you
An ad response can include <Error> elements, each holding a URL. If that URL contains the [ERRORCODE] macro, the player must replace it with a code from the table and request the URL. Code 900 is the minimum, though the spec notes that a more specific code helps everyone.
When an ad was served through wrappers, the player must also fire the error URL of each wrapper in the chain, so every party hears about the failure.
All VAST error codes
Meanings are from VAST 4.3, the latest final version. The draft of VAST 4.4 has the same table.
| Code | Meaning | What to check |
|---|---|---|
100 | XML parsing error | Fetch the tag and check that it is well-formed XML, not an HTML error page. |
101 | VAST schema validation error | Look for missing required elements. |
102 | VAST version of response not supported | Compare the version attribute with what the player supports. |
200 | Trafficking error: the player got an ad type it was not expecting or cannot play | Check the line item or creative type. |
201 | Player expecting different linearity | A linear slot got a non-linear ad, or the reverse. |
202 | Player expecting different duration | Compare the ad duration with what the slot allows. |
203 | Player expecting different size | Check the creative size against the slot. |
204 | Ad category was required but not provided | Add Category to the InLine response. |
205 | InLine Category violates Wrapper BlockedAdCategories | Compare the category with the wrapper list. |
206 | Ad break shortened, ad not served | The break ended up shorter than planned. |
300 | General wrapper error | Inspect the chain hop by hop. |
301 | Timeout of a VAST URI in a wrapper | The URI was unavailable or hit the player timeout. |
302 | Wrapper limit reached | Count the hops. VAST 4 only requires players to accept five. |
303 | No VAST response after one or more wrappers | Usually a no-fill at the end of the chain. |
304 | InLine ad unit did not display within the time limit | Check what the ad loads before it starts. |
400 | General linear error | Use the more specific code if the player has one. |
401 | File not found | Open the MediaFile URL directly. |
402 | Timeout of MediaFile URI | Check the size of the file and the speed of the CDN. |
403 | No MediaFile supported by this player | Compare type, bitrate and size with what the player supports. |
405 | Problem displaying MediaFile | Often unsupported codecs, or a MIME type that differs from the type attribute. |
406 | Mezzanine required but not provided | Add a Mezzanine file. |
407 | Mezzanine being downloaded for the first time | Expected on first use. The ad is skipped until it is transcoded. |
408 | Conditional ad rejected (deprecated) | Deprecated along with conditionalAd. |
409 | Interactive unit in InteractiveCreativeFile not executed | Check that the player supports the unit. |
410 | Verification unit not executed | Check the AdVerifications node. |
411 | Mezzanine provided but did not meet the required specification | Check the file against the publisher requirements. |
500 | General NonLinearAds error | Use the more specific code if the player has one. |
501 | NonLinear creative dimensions do not fit the display area | Check the creative size. |
502 | Unable to fetch NonLinear resource | Open the resource URL directly. |
503 | No NonLinear resource of a supported type | Check the resource type. |
600 | General CompanionAds error | Use the more specific code if the player has one. |
601 | Companion dimensions do not fit the display area | Check the companion size. |
602 | Unable to display required Companion | Check the required attribute on CompanionAds. |
603 | Unable to fetch Companion resource | Open the resource URL directly. |
604 | No Companion resource of a supported type | Check the resource type. |
900 | Undefined error | The player had nothing more specific to report. |
901 | General VPAID error | Check the VPAID unit. |
902 | General InteractiveCreativeFile error | Check the interactive creative. |
Codes you will see most in Google IMA
The IMA SDK reports its own names for the same failures. VAST_LOAD_TIMEOUT is 301, and Google documents its timeout as 5 seconds for the first request and for each later wrapper. VAST_TOO_MANY_REDIRECTS is 302, and VAST_NO_ADS_AFTER_WRAPPER is 303.
To reproduce an error, play the tag in the VAST Ad Tester, or use the sample tags to rule out your player.
Try it
Sources
Last checked 2026-11-07.