Automotion docs

SCENE_EMPTY

A scene has no elements.

HTTP status: 400

What it means

A scene has no elements.

Why it happens

  • A scene has an empty elements array.

How to fix it

  • Every scene needs at least one element. Remove the scene or add content to it.

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": "SCENE_EMPTY",
    "message": "Scene (unknown) has no elements. Every scene needs at least one element.",
    "path": "scenes[0].elements",
    "docsUrl": "https://automotion.dev/docs/errors/scene_empty"
  },
  "requestId": "req_0123456789abcdef0123456789abcdef"
}

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

On this page