VAST error code

402Timeout of media file URI

What the spec says

What actually causes it

  • A file too large for the connection — a high-bitrate rendition on mobile is the classic case.
  • A slow or poorly distributed CDN.
  • Only one rendition offered, so the player has no lighter option to fall back to.

How to fix it

Offer several renditions at different bitrates so the player can choose one appropriate to the connection. A single 4 Mbps file is the most common cause of 402 on mobile inventory.

To see whether a tag would hit this before it runs, paste it into the VAST validator. It reads the XML and reports the conditions that map to this code.

Related codes

Code definitions from the IAB Tech Lab VAST 4.3 specification. Causes and fixes are practitioner guidance, last verified July 2026.