Automotion docs

ASSET_UNSUPPORTED_TYPE

A referenced asset has an unsupported content type.

HTTP status: 422

What it means

A referenced asset has an unsupported content type.

Why it happens

  • The asset's content type is not in the allowlist for its kind (e.g. SVG images are rejected; images allow png/jpeg/webp/gif/avif).

How to fix it

  • Convert the asset to a supported format; the error message lists the allowed types.

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": "ASSET_UNSUPPORTED_TYPE",
    "message": "Asset (unknown) has an unsupported content type.",
    "path": "contentType",
    "docsUrl": "https://automotion.dev/docs/errors/asset_unsupported_type"
  },
  "requestId": "req_0123456789abcdef0123456789abcdef"
}

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

On this page