VASTlint

VAST error codes / Ad type and trafficking

VAST error 202: Expecting different duration

Short answer: The creative duration does not match what the player expected.

What it means

The returned linear creative is longer or shorter than the slot allows.

Common causes

  • `<Duration>` exceeds the pod or slot length
  • Duration shorter than a minimum required by the placement

How to fix it

Verify `<Duration>` is well-formed (HH:MM:SS) and within the slot's limits.

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

Use the right tool for this failure

If you already have the resolved XML, run a pure spec check. If you only have a live tag URL, test that endpoint first. If the failure happens in the wrapper chain, inspect each hop.

Further reading