Automotion docs

ELEMENT_ID_DUPLICATE

Two elements share the same id; element ids must be unique across the movie.

HTTP status: 400

What it means

Two elements share the same id; element ids must be unique across the movie.

Why it happens

  • Two elements anywhere in the movie share the same id. Element ids must be unique across the whole movie (they drive editor selection and error paths).

How to fix it

  • Give every element a unique, stable id. The error path points at the second occurrence.

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": "ELEMENT_ID_DUPLICATE",
    "message": "Element id \"title\" is used more than once. Element ids must be unique across the whole movie.",
    "path": "scenes[1].elements[0].id",
    "docsUrl": "https://automotion.dev/docs/errors/element_id_duplicate"
  },
  "requestId": "req_0123456789abcdef0123456789abcdef"
}

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

On this page