Page Summary
-
ValidateError identifies issues in XML or CSV metadata files that could cause package upload failures.
-
The JSON representation of a ValidateError includes details like severity, message, line number, column number, column name, and message code.
-
The API provides methods to validate metadata files synchronously ([validate]) or asynchronously ([validateAsync]) and to check the status of asynchronous validations ([validateAsyncStatus]).
-
You can upload packages via Web, Aspera, or SFTP, and these metadata files are used in the uploading process.
-
The webpage also has links to the youtube help center for more information about uploading content.
Resource: ValidateError
A validation error identifies an issue in an XML or CSV metadata file that may cause an uploaded package that includes the file to fail. Note: You would upload the package via the Web, Aspera, or SFTP. The API call enables you to confirm that the metadata file is valid before uploading the package. See the YouTube Help Center for more information about uploading content, including metadata files, to YouTube.
| JSON representation |
|---|
{ "severity" : string , "message" : string , "lineNumber" : integer , "columnNumber" : integer , "columnName" : string , "messageCode" : integer } |
| Fields | |
|---|---|
severity
|
The error severity. |
lineNumber
|
The line number where the error occurred (1-based). |
columnNumber
|
The column number where the error occurred (1-based). |
columnName
|
The column name where the error occurred. |
Methods |
|
|---|---|
|
Validate a metadata file. |
|
Validate a metadata file asynchronously. |
|
Get the asynchronous validation status. |

