Automotion docs

VARIABLE_MISSING

A referenced variable has no supplied value and no default.

HTTP status: 400

What it means

A referenced variable has no supplied value and no default.

Why it happens

  • The document references a declared {{variable}} that has no supplied value and no default in the manifest.

How to fix it

  • Pass a value in the request's variables object, or add a default to the variable's declaration.
  • null counts as not provided.

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:

response.json
{
  "error": {
    "code": "VARIABLE_MISSING",
    "message": "Variable \"product_name\" is required but no value or default was provided.",
    "path": "scenes[0].elements[0].text",
    "docsUrl": "https://automotion.dev/docs/errors/variable_missing"
  },
  "requestId": "req_0123456789abcdef0123456789abcdef"
}

See the error index for the full catalog and the API overview for envelope semantics.

On this page