In each validation error
, the messageCode
and message
properties identify an error or warning in the file being validated. This document contains a list of issues that cause validation issues. This information is intended to help you identify, diagnose, and resolve issues affecting files you plan to ingest to YouTube.
Configuration Issues
The table below lists issues that the validator identifies. The numeric ID uniquely identifies the validator error and corresponds to the messageCode
property in the validation error. The table also shows a description of the error and a sample error message. The sample message corresponds to the validation error's message
property.
Some descriptions contain variables that are populated to reflect data about your actual file. For example, error code 50
indicates that the provided file does not follow the XML schema and has a particular error at a particular line and column number. The sample error message says, "Failed schema validation on line "10, column 5, with error: Unknown element." However, the line number, column number, and error are all based on the content of the file you are validating.
49
Example: The file "File.txt is not in XML format. Error: Error"
50
Example: Failed schema validation on line "10, column 5, with error: Unknown element"
51
Example: File "file.txt" is not a valid XML file
52
Example: Unsupported value: "XYZ for element: NumberTag"
54
Example: Element: "BasicMetadata" is missing localized info
57
Example: A Video is required for the Presentation: "PRESENTATION_1"
80
Example: ContainerLocation is missing for track: "TRACK_ID"
87
Example: Presentation: "PRESENTATION_1 not found in available presentations: [PRESENTATION_10, PRESENTATION_12]"
89
Example: Presentation: "PRESENTATION_ID" must have one video track
95
Example: Experience: "EXPERIENCE_ID" must have a main Audiovisual
96
Example: PlayableSequence: "PLAYABLE_SEQUENCE_ID" must have an ID associated with it
97
Example: PlayableSequence: "PLAYABLE_SEQUENCE_ID" has a duplicate ID
98
Example: Presentation: "PRESENTATION_ID" has too many video tracks
101
Example: PlayableSequence: "PLAYABLE_SEQUENCE_ID has an invalid sequence number: 100"
102
Example: PlayableSequence: "PLAYABLE_SEQUENCE_ID" must have at least one clip
103
Example: Audiovisual element: "AudioVisualElement" must have either a PresentationID or a "+ "PlayableSequenceID
104
Example: Audiovisual element: "AudioVisual" must not have both a Presentation or a PlayableSequence
106
Example: None of the mentioned audios in provided XML have "SubType subtitle-type and EN" language
108
Example: Parsing an unknown genre: "[education, family]"
109
Example: The language: "XYZ" is invalid
113
Example: Multiple default localized info were provided. Found languages: "[en, ar]"
114
Example: Multiple localized info for "[en, ar]" were provided
123
Example: Presentation: "presentation has a duplicate subtitle with language: en and type: type"
132
Example: The Content ID "Content-ID" is missing in InventoryItems
133
Example: The Content ID "Content-ID" is found duplicated in InventoryItems
137
Example: Found multiple Experiences that match EL "ALID for experienceId1 condition: experienceId2. "+ "Ignoring EL US"
141
Example: Presentation "presentation" has no original audio
142
Example: Presentation "presentationId" doesn't have the original audio pointing to the video file
147
Example: The metadata for the "en" language has no title
148
Example: Experience "experience.us.1" not found in the XML
149
Example: Multiple experiences matching the same ExperienceID: "experience.us.1"
150
Example: Ignoring Experience "experience.us.1 because: Not mapped to current package"
174
Example: Invalid file reference "file:/file.txt". Reference must start with the 'file://' prefix
176
Example: Experience "Child-Expereience (referenced from Parent-Experience") is missing
186
Example: "Invalid root element in Manifest. Only MediaManifest is allowed",
197
Example: Cannot use experience "experience.main.us to promote main experience experience.main.ca"
201
Example: ContainerLocation has multiple locations for track: "TRACK_ID"
211
Example: Not parsing any of the experiences. Reason: "No experience-mapping found with current package"