VALIDATION_ERROR
A field in the movie document failed validation.
HTTP status: 400
What it means
A field in your movie document (or request body) has the wrong type, an out-of-range value, or violates a cross-field rule. The path points at the exact offending field.
Why it happens
- A field value is outside its allowed range (for example
opacity: 1.5— opacity must be 0–1). - An unknown key is present — documents are strict, unknown keys are rejected.
- A cross-field rule failed, e.g.
subtitleswithsource: "auto"but novoiceelement in the scene, orduration: "voice"without a voice element. - An image element supplies both
srcandgenerate(or neither).
How to fix it
- Read
pathandmessage— they identify the exact field and rule. - Check the field in the schema reference; every constraint and default is documented there.
- Validation returns ALL findings in the
errorsarray, so fix everything in one pass.
Example
Every non-2xx response uses the same envelope; path (when present) is the exact JSON path of the offending field, and requestId identifies the request in support conversations:
See the error index for the full catalog and the API overview for envelope semantics.