VAST error codes / Parsing and schema
VAST error 101: VAST schema validation error
Short answer: The document is valid XML but does not match the VAST schema.
What it means
The XML parses, but the structure is not legal VAST: a required element is missing, or elements are in the wrong place for the declared version.
Common causes
- Missing required elements such as `<AdSystem>`, `<Impression>`, or `<Creatives>`
- Elements nested under the wrong parent
- Attributes or children that do not exist in the declared VAST version
How to fix it
Validate against the declared version. vastlint reports the exact missing or misplaced element and the spec reference it comes from.
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
- VAST-2.0-inline-adsystem: <InLine> must contain <AdSystem>
- VAST-2.0-inline-impression: <InLine> must contain at least one <Impression>
- VAST-2.0-inline-creatives: <InLine> must contain <Creatives> with at least one <Creative>
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.xmlUse 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.