Automotion docs

LLM_FAILED

AI text generation failed.

HTTP status: 502

What it means

AI text generation failed.

Why it happens

  • AI movie generation failed: the model's output never converged to a valid movie document within the repair budget.

How to fix it

  • Retry with a more concrete prompt (subject, scene count, format).
  • Generate, then edit: start from a template and adjust instead of regenerating.

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": "LLM_FAILED",
    "message": "AI text generation failed.",
    "docsUrl": "https://automotion.dev/docs/errors/llm_failed"
  },
  "requestId": "req_0123456789abcdef0123456789abcdef"
}

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

On this page