Which error format should I parse?
Choose by the endpoint you called, not the model provider. See Error handling for LinkModel task responses, OpenAI / Anthropic / Gemini error formats, status codes, and retry rules.I get a 401 error. What should I check?
Confirm that theAuthorization header is present, uses the Bearer scheme, and contains a valid API key. See authentication errors for the distinction between your credentials and upstream provider failures.
I get a 400 error. What should I check?
Open the model page in the API Reference and compare your request against the schema. Check required fields, enum values, URL fields, and model-specific options.My task is still processing. What should I do?
Keep polling with a reasonable interval. Video generation can take several minutes. Stop and surface an error if the task does not complete within your product’s timeout window.My task failed. What should I include in logs?
Log the model name, endpoint, request payload,task_id, request_id, status, and error message. Do not log API keys.
What should I include when contacting support?
Include therequest_id, task_id, model name, endpoint, request payload, approximate request time, and the observed error. Do not share your API key.