VARIABLE_TYPE_MISMATCH
A supplied variable value does not match its declared type.
HTTP status: 400
What it means
A supplied variable value does not match its declared type.
Why it happens
- A supplied variable value cannot be losslessly coerced to its declared type — e.g.
"abc"for anumber, a non-http(s) URL for aurl, or a value outside anenum's declaredvalues.
How to fix it
- Match the declared type in
movie.variables, or change the declaration. - Coercion is lossless-only:
"42"→ number works;"soon"does not.
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.