# Errors and retries

> Documentation Index / 文档总索引  
> https://x2v.light-ai.top/llms.txt  
> Source: https://x2v.light-ai.top/en/api-docs#errors  
> Locale: en  
> This page is optimized for Agent/LLM reading.

Classify an error before deciding whether to retry, repair, or stop.

## Stable response shape

Read `code`, `message` or `error`, and machine-readable `details` when present. Use `/openapi.json` for each endpoint's status responses.

## Retry policy

For `429`, respect `Retry-After`. Retry transient `5xx` and connection failures with limited exponential backoff and jitter. Validation, parameter, balance, permission, and content-safety errors must not be retried unchanged; fix the request, obtain authorization or funds, or stop.

## Unknown outcome

If submission times out and you already have a `task_id`, query that task. If no `task_id` was returned and the request may have reached the service, do not automatically resubmit; report an unknown outcome and require manual verification. Poll known tasks at bounded intervals and stop at a terminal status.

## Related topics

[quick-start](/en/api-docs/quick-start.md) · [authentication](/en/api-docs/authentication.md) · [model-discovery](/en/api-docs/model-discovery.md) · [task-api](/en/api-docs/task-api.md) · [workflow-api](/en/api-docs/workflow-api.md)

OpenAPI: https://x2v.light-ai.top/openapi.json · Live models: https://x2v.light-ai.top/api/v1/model/list · Skill: https://github.com/ModelTC/LightX2V-Skills
