InsightsBy Team Manzi6 min read

VAST Tag Errors (1009, 303 and More) and How to Fix Them

What VAST error codes like 1009, 303, 301 and 402 mean, what causes them, who should fix them, and a quick check before any video ad tag goes live.

A man in a turban works at a laptop showing a VAST tag test with error 303, next to a stat card noting a 5-second default wait per VAST request

You've set up a video campaign, the tag looked fine in the ad server, but the report shows far fewer impressions than requests, plus an error column full of numbers like 303, 402 and 1009. These are VAST error codes, and each points to a fairly specific problem.

This guide explains the codes that come up most often on video pre-roll, CTV and FAST campaigns, what usually causes them, and who needs to fix each one: the publisher, the buyer or agency, or the creative team. You can test any tag yourself with our free ad tag tester while you read.

First, a quick refresher: what a VAST tag does

VAST (Video Ad Serving Template) is the IAB Tech Lab's standard XML format for video ads. It tells the video player which ad to play, where the video file lives and which tracking links to call. The latest numbered version is VAST 4.3, released in December 2022, and IAB Tech Lab added a CTV addendum in July 2024.

A VAST response comes in two kinds:

  • Inline: the response contains the ad itself, with the video file and tracking links.
  • Wrapper: the response only points to another ad server, which returns another VAST response. That one may be a wrapper too.

Every wrapper is one more hop and one more chance to fail. When something goes wrong, the player reports an error code. Codes 100 to 901 come from the IAB VAST standard. Codes of 1000 and above, such as 1009, come from Google's IMA SDK, which many players use.

How the error codes are grouped

The first digit tells you roughly where the problem is. Google Ad Manager's error code guide groups them like this:

  • 100s: the XML itself is broken or doesn't follow the VAST schema.
  • 200s: the ad doesn't match what the player asked for (type, length or size). These are non-fatal.
  • 300s: wrapper and redirect problems.
  • 400s: a linear ad (a normal pre-roll or mid-roll) can't be played.
  • 500s and 600s: non-linear (overlay) and companion ad problems.
  • 900s: undefined errors and VPAID errors.

"Fatal" means the ad does not play at all. Non-fatal errors are warnings: the ad may still run, but something needs attention.

VAST error codes by family, split into fatal and non-fatal, based on Google Ad Manager's error code guide

The errors you'll see most, and how to fix them

Error 1009: empty VAST response

Google's IMA SDK describes 1009 as a VAST response "containing a single <VAST> tag with no child tags". In plain terms, the ad server answered, but it had no ad to give.

Where VAST errors happen in the ad request chain, with default IMA SDK timeouts

Google says this usually comes from the ad unit setup or a trafficking error on the order or line item. Check these first:

  • The line item's start and end dates.
  • Key-values and ad unit targeting.
  • Whether the line item sizes match the ad units.

When testing, also check that you are testing from the country and device the line item targets, and switch off any ad blocker.

Error 303: no ads after the wrapper

Error 303 means one or more wrappers were followed, but the last server in the chain returned no ad. Google notes that because third-party fill rates are below 100%, some 303 errors are normal.

So the real question is whether the rate matches what the partner promised. If it's higher:

  • Compare it with the partner's expected fill rate.
  • Set up a fallback, so the player can try another ad when one source comes back empty.
  • Review line item priorities and pacing.

Error 301: the wrapper timed out

The IMA SDK waits 5 seconds by default for the first VAST request and for each wrapper after it. If a server in the chain is slow or unreachable, you get 301. Common causes are a wrong URL, a slow third-party server, or an HTTP link inside an HTTPS page. Use HTTPS everywhere and cut unnecessary hops. A publisher can raise the timeout in the SDK, but a faster chain is the better fix.

Error 302: too many wrappers

302 means the player hit its wrapper limit before reaching an actual ad, or the chain loops back on itself. The fix is on the buying side: fewer hops, and no reselling the impression into yet another network.

Errors 100 and 101: broken XML

These mean the response is malformed or missing required elements. Run the tag through a validator, or rebuild a clean tag with our VAST tag generator and test it again.

Error 402: the video file took too long

The IMA SDK allows 8 seconds by default for the video file to load. Large files, high bitrates on mobile and slow hosting cause 402s. Supply several renditions at different bitrates, host them on a CDN, and test on slow as well as fast connections.

Errors 403 and 405: wrong format or a faulty file

  • 403: none of the video files is in a format the device can play. Google's examples are Flash on mobile and WebM on iOS.
  • 405: the file was found but couldn't be shown, often because of a MIME type mismatch, the CDN's CORS settings or a transcoding problem.

The safest habit is to always include an MP4 version and to check that the MIME type in the XML matches the actual file.

Error 901: VPAID

VPAID was the old standard for interactive video ads. IAB Tech Lab now lists it as deprecated, replaced by SIMID. VPAID also does not run on CTV, so a CTV or FAST campaign needs a plain MP4 version. See our FAST channels guide and CTV advertising in India for what TV-screen inventory expects.

Who fixes what

Error Usually fixed by First thing to check
1009 Publisher or ad server team Flight dates, targeting, sizes
303 Publisher with the demand partner Fill rate versus what was promised
301, 302 Buyer or agency Number of hops, slow or HTTP links
100, 101 Whoever built the tag XML validation
402, 403, 405 Creative team Bitrate, format, MIME type, CDN
901 Buyer or creative team Replace VPAID with an MP4

A 10-minute check before any tag goes live

  1. Paste the tag into the ad tag tester. Check that it plays and that impression and quartile events fire.
  2. Read the XML check: an MP4 file, HTTPS links, and a duration that matches the booking.
  3. Count the wrappers and remove any you don't need.
  4. Test on the devices you're buying: mobile, desktop and, for CTV, a TV app.
  5. Confirm flight dates, targeting and sizes in the ad server.
  6. Ask the publisher which VAST version and timeouts their player uses.
  7. Agree on a fallback for empty responses.

If errors still cut delivery, re-plan with the CPM calculator. Our video pre-roll advertising team runs these checks before every campaign.

FAQ

Are some 303 errors normal?

Yes. Google says some 303s are expected because third-party fill rates are below 100%. Watch the trend and compare it with the partner's expected fill, rather than trying to reach zero.

What's the difference between 1009 and 303?

1009 means the ad server you called directly returned an empty response, usually because of setup or targeting. 303 means the player followed one or more wrappers to another server, and that server had no ad.

Can I test a VAST tag without an ad server?

Yes. Paste it into our free ad tag tester to play the ad, watch tracking events fire and check the XML. To build a simple test tag from an MP4, use the VAST tag generator.

Plan a campaign with Team Manzi

Running video, CTV or FAST campaigns across India, the GCC or South East Asia? Team Manzi checks every tag before it goes live, so your budget goes into ads that actually play. Plan a campaign with Team Manzi.

Sources

TopicsProgrammaticCTVDigital advertisingAd operations

Team Manzi

ManziNetworks Media runs CTV, FAST, OTT and digital campaigns for brands across India, the GCC and South East Asia, since 2009.