Skip to content
FizzKit

How to Debug VAST Errors on a FAST Channel

Why server-side ad insertion changes VAST debugging, and what to check: device headers, macros, mezzanine files and creative IDs.

On a FAST channel, the player usually isn’t the thing fetching your VAST. A server-side ad insertion (SSAI) service requests the ad, stitches it into the stream and may fire tracking for the player. So browser tools see none of it, and you have to debug the stitcher’s requests instead.

What changes with server-side insertion

  • The stitching service requests VAST from the ad server. If it gets a wrapper, it should unwrap it using the same logic a client player would.
  • It may send tracking on the player’s behalf, so all tracking can come from one IP address. The VAST spec warns that this can look like invalid traffic.
  • Once an ad is stitched, the service may have little control over whether it actually plays.
  • In OpenRTB, imp.ssai says which model applies: 0 unknown, 1 all client-side, 2 assets stitched but tracking fired client-side, 3 all server-side.

Step 1: check the device headers

This is the first thing to check when tracking looks wrong. From VAST 4.1, stitching providers must send these with their tracking requests:

  • X-Device-IP: the IP of the device the request is for
  • X-Device-User-Agent: the client’s user agent

They should also send X-Device-Referer and X-Device-Accept-Language when available. X-Forwarded-For was the header in VAST 4.0, and from 4.1 it is deprecated and only kept for backwards compatibility. Values must match the original ad request.

Step 2: check the macros

IAB Tech Lab’s SSAI macro guidance says macros are filled by whoever makes the VAST request, which here is the SSAI server. It recommends [DEVICEUA], [PAGEURL] and [SERVERUA], because header values are inconsistent. An unfilled macro in the final URL means the stitcher didn’t replace it.

Step 3: check the creative is ready

Stitchers transcode ads to match the stream, so they depend on a mezzanine file and a stable creative ID:

  • The spec requires a mezzanine file in ad-stitched executions. Without one, expect error 406.
  • The first time a creative appears, it is downloaded and transcoded. The ad is skipped and error 407 is sent, which is expected and can take several hours.
  • Stitchers track files by <UniversalAdId>. If the creative changes in any way, it should get a new ID, or the old transcode may keep playing.
  • If the file doesn’t meet the required specification, expect error 411.

Step 4: test the tag outside the stream

Fetch the same tag the stitcher uses in the VAST Inspector, using the same parameters, then follow the wrappers. If the chain ends empty there, the problem is the tag rather than the channel. The meaning of each code is in the list of VAST error codes.

Why impression counts differ

The spec allows an impression to be reported as the ad goes out on the stitched stream, or at the end of a session. It says measurement beyond the stream should be counted by the player when possible. So a gap between server and client numbers can come from the method alone, and it doesn’t prove an error.

Try it

Sources

Last checked 2026-11-07.