VASTlint

VAST error codes / Linear and media errors

VAST error 400: General linear error

Short answer: The player could not display the linear ad.

Debug this tag now

If you only have a live URL, test it first. If the failure is in the wrapper chain, inspect each hop. Validate resolved XML when you already have the response.

What your player reported

400 · General Linear error. Media player is unable to display the Linear Ad.

Wording from the IAB VAST 4.3 specification error table. Players may shorten or reformat it, but the code is the same.

What it means

A catch-all for linear playback failures not covered by the more specific 401–411 codes.

Common causes

  • No usable `<MediaFile>`
  • A linear creative the player cannot render

How to fix it

Check the `<MediaFiles>` block. 401, 402, 403, and 405 are the specific cases.

VAST error codes are runtime buckets emitted by the player. They tell you where the failure happened, not which line of XML caused it. Paste the raw tag into the validator to map this code onto the exact element and rule.

Related vastlint rules

Related error codes

Debug this tag now

Validate the XML, follow the wrapper chain, or check it in CI before launch:

# CLI: exits non-zero on errors, ideal for pipelines
vastlint check creative.xml

Further reading