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. |
message |
The error message. |
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. |
messageCode |
The code for the error message (if one exists). |
Methods |
|
---|---|
|
Validate a metadata file. |
|
Validate a metadata file asynchronously. |
|
Get the asynchronous validation status. |