All posts
vastadtechtroubleshootingdeveloper

VAST Error Codes Explained: 100–900 and How to Fix Them

July 2, 2026 · 5 min read

A VAST error code tells you which stage of ad delivery failed: the XML, the wrapper chain, the media file, or the player. The fastest way to find the cause is to run the tag through a validator and read the report instead of guessing from the number alone.

Find the Cause Fast

Start here

Use VAST Ad Validator

Paste your tag URL or XML. It resolves the wrapper chain, validates the XML, downloads every media file, and shows exactly what is broken.

Validate your tag

Quick steps

How To Diagnose Any VAST Error

1

Copy the failing tag

Grab the VAST tag URL or the raw XML from your ad server or SSP.

2

Run it through the validator

Open VAST Ad Validator and paste the tag. It checks the chain, the XML, and the media files.

3

Match the finding to the code

Wrapper failures explain 3xx codes, media problems explain 4xx codes, XML issues explain 1xx codes.

4

Fix and re-run

Apply the fix on your ad server, then validate again to confirm the tag is clean.

The error codes at a glance

CodeMeaningUsual cause
100XML parsing errorMalformed XML — unclosed tags, bad encoding
101Schema validation errorXML does not match the VAST spec version it declares
102Version not supportedPlayer is older than the VAST version in the response
200Trafficking errorPlayer got an ad type it was not expecting
201Wrong linearityLinear ad sent to a non-linear slot, or the reverse
300Wrapper errorGeneral failure while following a wrapper redirect
301Wrapper timeoutA hop in the chain responded too slowly
302Wrapper limit reachedToo many nested wrappers (usually more than 5)
303Empty VAST responseThe chain ended with no ad — a no-fill
400General linear errorThe video ad could not be displayed
401Media file not foundThe MediaFile URL returns 404 or is unreachable
402Media file timeoutThe file is too large or the CDN is too slow
403No supported media fileNo file matches the codecs or MIME types the player supports
405Media file display problemCodec, container, or CORS problem while playing
600General companion errorCompanion banner could not be shown
900Undefined errorAnything the player could not classify

Which codes matter most

Most lost revenue comes from three of them:

  • 303 — your demand path returned nothing. See our VAST error 303 guide.
  • 301/302 — the wrapper chain is too slow or too deep. The validator shows every hop with its latency.
  • 401/402/403/405 — the creative itself is broken. The validator downloads each media file and reports the real codec, size, and CORS status, so you can see why the player rejected it.

Related reading

Start editing video for free

Sign up for the free plan and work in your browser.