Errors and failed jobs
Two layers can go wrong. An HTTP error means the request was refused and no job exists. A job with status: "fail" means it was accepted, ran, and failed — and its credits were refunded. They need different handling.
HTTP errors · Any endpoint
| HTTP | Body | When | Next step |
|---|---|---|---|
| 401 | Missing Authorization header | No header at all. | Send Authorization: Bearer <key>. |
| 401 | Invalid Authorization format. Use: Bearer YOUR_API_KEY | Header present but not Bearer <key>. | Fix the scheme: one space, no quotes. |
| 401 | Invalid API Key | Key does not exist. | Check for truncation or a key from another environment. |
| 401 | API Key is inactive / API Key has expired | Key disabled or past its expiry. | Create a new key. |
HTTP errors · createTask
| HTTP | Body | When | Next step |
|---|---|---|---|
| 400 | Invalid request parameters | Body is not { model, inputs } shaped, or callBackUrl is not a URL. | Fix the body shape. Don't retry unchanged. |
| 400 | Invalid inputs for model + errors[] | A field in inputs is missing or out of range (duration outside 4–30, outputResolution "4k"). | Read errors[].path. Nothing was charged. |
| 400 | Unknown model | model is not a Kinovi model id. | Use an id from the models page. |
| 402 | Insufficient credits + required, available | Balance below the reservation for these settings. | Top up or shorten the job. Nothing was charged. |
| 403 | { message } | The model is not available to this account. | Pick another model, or contact the provider. |
| 429 | Concurrency limit reached + limit, current | Too many of your tasks waiting or generating. New accounts start at 3. | Wait for one of your tasks to finish, then submit. |
| 500 | { message } | Unexpected error. | Retry with backoff. |
HTTP errors · recordInfo
| HTTP | Body | When | Next step |
|---|---|---|---|
| 400 | Missing taskId parameter | No ?taskId= on the URL. | Add the query parameter. |
| 403 | Access denied (code access_denied) | The task belongs to another account. | Use the key that created the task. |
| 404 | Task not found (code not_found) | Unknown taskId. | Check the id; stop polling it. |
Sources, read 2026-12-01: [Kinovi Docs — API Reference — kinovi.ai/docs/api] · [Kinovi Docs — Seedance 2.5 — kinovi.ai/docs/models/seedance2-5]
A status-code switch
async function submit(body) {
const res = await fetch("https://kinovi.ai/api/v1/jobs/createTask", { method: "POST", headers, body: JSON.stringify(body) });
const data = await res.json().catch(() => ({}));
switch (res.status) {
case 200: return data.taskId;
case 400: throw new BadRequest(data.message, data.errors); // fix input, don't retry
case 401: throw new ConfigError(data.message); // wrong / inactive key
case 402: throw new NeedsCredits(data.required, data.available);
case 403: throw new NotAllowed(data.message); // model not on this account
case 429: return waitForSlotThenRetry(body, data.limit); // your own jobs must finish first
default: return retryWithBackoff(body); // 5xx: transient
}
}Sketch only — the helper functions are yours. The point is that 400, 401, 402 and 403 are never retried unchanged, while 429 waits for one of your tasks to finish rather than for a fixed time.
Failed jobs: error.code
When status is fail, error carries a code and a human-readable message. These are the codes Kinovi documents for Seedance 2.5 and its extend / edit variants:
| error.code | Example message | Cause · what to do |
|---|---|---|
asset_review_failed | Reference image 1 failed review. Please replace it. | The named reference could not be fetched or was rejected. Re-host or replace it. |
InvalidParameter | …the parameter video total duration… | videoUrls add up to more than 30 s. Trim or drop a clip. |
1001 | Failed to download your reference video… | A videoUrls entry could not be downloaded. Check the URL is public. |
1001 | Your uploaded video may contain sensitive content… | Reference rejected by moderation. Use different media. |
1001 | The generated video did not pass review… | Result failed moderation. Change the prompt or references. |
1001 | The generated video may violate platform or copyright rules… | Policy or copyright flag. Change the prompt or references. |
1001 | Service temporarily unavailable. Please try again later. | Temporary capacity problem. Retry after a short delay. |
For edit jobs there is one more documented 1001: “Request parameters are invalid for video editing…”, which means the source is shorter than 4 s or longer than 30 s. Kinovi's Seedance 2.5 page also notes that when a first route rejects a task on review grounds it resubmits on a second route automatically, with no new request and no second charge — so a fail you receive has already had that second attempt.
Sources, read 2026-12-01: [Kinovi Docs — Seedance 2.5 — kinovi.ai/docs/models/seedance2-5] · [Kinovi Docs — Seedance 2.5 Video Edit — kinovi.ai/docs/models/seedance2-5-edit]
Retry rules of thumb
- Retry unchanged: HTTP 5xx, network errors, and the “Service temporarily unavailable” fail.
- Change something first: every 400, every review / moderation fail, every asset fail.
- Wait, then retry: 429, once one of your own tasks has reached a terminal status.
- Don't retry at all: 401 and 403 — they are configuration problems.
- Never resubmit a slow job. A task still
waitingorgeneratingis not an error. The API has no documented server-side timeout; choose your own client timeout, keep the taskId, and check it later.
This site does not publish an SLA or uptime figure; none is documented by the provider.