connect
search

General Syntax Validations

AVAILABLE STARTING WITH V2022.5

About Validations

This page contains details about the types of warnings and error messages displayed at job-level.

CategoryScenarioOutcome
Metadata validation issuesRequired attribute (global/localisable) on current title and empty

Available in metadata template

Example:

<name>{{entity.attributes['en_US']['Name']}}</name>
  • Status: invalid job
  • Error displayed at job/package level/fix modal
The following attribute(s) are empty:
  • [${locale}]'${AttributeName}' for {title_name} <hyperlink to title>.
Required attribute (global/localisable) on current title and empty

Not available in metadata template
  • Status: valid job
  • No validation, attribute is ignored
Metadata validation issuesRequired attribute (global/localisable) on parent titles and empty

Available in metadata template

Example:

<name>{{entity.attributes['en_US']['Name']}}</name>
  • Status: invalid job
  • Error displayed at job/package level/fix modal:
The following attribute(s) are empty:
  • [${locale}]'${AttributeName}' for {title_name} <hyperlink to title>.
Required attribute (global/localisable) on parent titles and empty

Not available in metadata template
  • Status: valid job
  • No validation, attribute is ignored
Metadata validation issuesNot required attribute (global/localisable) on current title and empty

Required in metadata template
  • Status: valid job
  • Warning displayed at job/package level/fix modal/build workflow
The following attribute(s) are empty:
  • [${locale}]'${AttributeName}' for {title_name} <hyperlink to title>.
Metadata validation issuesNEW Not required attribute (global/localisable) on parent title and empty

Required in metadata template
  • Status: valid job
  • Warning displayed at job/package level/fix modal/build workflow
The following attribute(s) are empty:
  • [${locale}]'${AttributeName}' for {title_name} <hyperlink to title>.
Metadata validation issuesAttribute doesn’t fulfil validation rules

Required in template

Example:

The metadata template contains

<name>{{entity.attributes['en_US']['Name']}}</name>

The “Name” attribute has “Rest” value but the requires a minimum length of 10 characters.
  • Status: invalid job
  • Error displayed at job/package level/fix modal
The following attribute(s) are not valid:
  • [${locale}]'${AttributeName}'
Metadata validation issuesAttribute doesn’t fulfil validation rules and

Not required in template
  • Status: valid job
  • No validation, attribute is ignored
Metadata undefined attributeNEW

Attribute not defined in metadata entity type and required in template
  • Status: valid job
  • Warning displayed at job/package level/fix modal
The following attribute(s) have not been defined:
  • [${locale}]'${AttributeName}'
Metadata parsing issuesInvalid/incomplete metadata template annotation

Example:

The metadata template contains

<attributes>{{entity.attributes}}</attributes>

or

<attributes>{{entity.attributes['en_US']}}</attributes>
  • Status: valid job
  • Warning displayed at job/package level/fix modal/build workflow
Unable to parse attributes
  • attributes, ${locale}
Metadata parsing issuesMetadata template containing values that cannot be resolved

Examples:

1. The metadata template contains

<typo>{{entity.parents}}</typo>

We cannot solve ‘parents’.

1. The metadata template contains

<fileVersion>{{entity.attributes['global']['Banner File'].version}}</fileVersion>
  • Status: valid job
  • Warning displayed at job/package level/build workflow - generate metadata task
Unable to resolve the remaining syntax
  • parents
  • version
Metadata invalid localeInvalid locale in metadata template

Example:

The metadata template contains

<name>{{entity.attributes['en_USINVALID']['Name']}}</name>
  • Status: valid job
  • Warning displayed at job/package level/fix modal/build workflow
The following locale(s) for attribute are not valid
  • ['en_USINVALID']['Name']
Missing parentTitle does not have a parent

Parent property/attribute required in template

Example:

The metadata template contains

<parent>{{entity.parent.id}}</parent>

And the title does not have a parent.
  • Status: invalid job
  • Error displayed at job/package level/fix modal
The following title(s) do not have a parent in its hierarchy
  • {name} <hyperlink to title>
Missing tagged mediaRequired attribute of type tag in metadata set

The package does not have a deliverable file tagged with attribute’s value (deliverable tag is missing in package template)

Attribute required in template

Example:

<title>{{entity.attributes['en_US']['Trailer']}}</title>

Trailer value is mediaContainer1 and package does not have a deliverable media with “mediaContainer1” tag
  • Status: invalid job
  • Error displayed at job/package level/fix modal
Error fetching the file of the following Tag attribute(s)
  • [${locale}]['Tag_attribute']
Missing tagged mediaRequired attribute of type file in metadata set

Attribute required in template

File was deleted or removed from title
  • Status: invalid job
  • Error displayed at job/package level/fix modal
Error fetching the file of the following File attribute(s)
  • [${locale}]['File_attribute']
Missing tagged mediaNot required attribute of type tag in metadata set

The package does not have a deliverable file tagged with attribute’s value (deliverable tag is missing in package template)

Attribute required in template
  • Status: valid job
  • warning displayed at job/package level/fix modal/build workflow
Error fetching the file of the following Tag attribute(s)
  • [${locale}]]['Tag_attribute']
Missing tagged mediaNot required attribute of type file in metadata set

Attribute required in template

File was deleted or removed from title
  • Status: valid job
  • Warning displayed at job/package level/fix modal/build workflow
Error fetching the file of the following File attribute(s)
  • [${locale}]['File_attribute']
Missing referenced titleRequired attribute of type reference (title) in metadata set

Attribute required in template

Title was deleted from connect
  • Status: invalid job
  • Error displayed at job/package level/fix modal
The following attribute(s) are not valid:
  • [${locale}]['Title_attribute']
Missing referenced titleNot required attribute of type reference (title) in metadata set

Attribute required in template

Title was deleted from connect
  • Status: valid job
  • Warning displayed at job/package level/fix modal/build workflow
The following attribute(s) are not valid:
  • [${locale}]['Title_attribute']
Missing tagFile referenced by tag in metadata template

Used tag is not defined on organisation

Example:

The metadata template contains

<wrongTag>{{entity.tags['simple'].filename}}</wrongTag>

But the tag ‘simple’ does not exist.
  • Status: valid job
  • Warning displayed at job/package level/build workflow
Error fetching the following tag(s)
  • ‘{tagName}’
Missing tagged mediaFile referenced by tag in metadata template

There is no media in the current title, tagged with the required tag

Example:

The metadata template contains:

<tagWithNoFile>{{entity.tags['simple'].filename}}</tagWithNoFile>

And there is no media in the title, tagged with tag ‘simple’
  • Status: invalid job
  • Error displayed at job/package level/fix modal
Error fetching the file associated with the following tag(s)
  • '{tagName}'
Missing tagged mediaFile referenced by tag in metadata template

There is no media in the parent title, tagged with the required tag

Example:

The metadata template contains:

<tagWithNoFile>{{entity.parent.tags['simple'].filename}}</tagWithNoFile>

And there is no media in the parent title(multiple levels), tagged with tag ‘simple’
  • Status: invalid job
  • Error displayed at job/package level/fix modal
Error fetching the file associated with the following tag(s)
  • '{tagName}'
Other issuesMetadata template was deleted after being referenced in package template
  • Status: invalid job
  • Error displayed at job/package level/fix modal
  • Other issues:
    • Missing metadata template
    MissingFileErrorPackage template with transcode deliverable

    Transcoder profile: Input type = File
    Resolution mode = Tag

    No media on the title with the required tags of the transcoder profile (check the input tags of the transcoder profile)
    MissingFileErrorPackage template with transcode deliverable

    Transcoder profile: Input type = File
    Resolution mode = Metadata Tag

    No media on the title with the required tags of the transcoder profile (check the input tags of the transcoder profile)
    MissingFileErrorPackage template with transcode deliverable

    Transcoder profile: Input type = File
    Resolution mode = Metadata File

    Referenced file was deleted from title
    MissingFileErrorPackage template with transcode deliverable

    Transcoder profile: Input type = File
    Resolution mode = Explicit

    Referenced file was deleted from title
    MissingFileTracksErrorPackage template with transcode deliverable

    Transcoder profile: Input type = File
    Resolution mode = Any

    Track tag required in profile

    No track tagged with the referenced tag on input file
    Package template without transcode deliverable (so the file is missing)

    File property is required in metadata template

    Example:

    The metadata template contains:

    <fileWidth>{{package.deliverables['transcode1'].outputs['output1'][0].properties.width}}</fileWidth>

    But we don’t have a transcode task in our job, only the metadata task
    • Status: valid job
    • The below conditions cannot be met with an NTP meta template.
    • Warning displayed at job/package level/build workflow
    Error solving the following properties due to file missing:
    • properties,width
    File copy of two deliverables (in package template)

    First one has only one audio track.
    The second one has both audio and video track (the duration is different than the first file).
    Media Item-level SyntaxSyntax Limitations