Skip to content

Errors

All Kling-compatible video endpoints use the same error format and error types.

Error Format

json
{
  "error": {
    "type": "invalid_request",
    "message": "invalid request parameter"
  }
}
HTTP statuserror.typeTypical meaning
400invalid_requestInvalid JSON or request parameter.
401unauthorizedMissing or invalid API key.
402quota_exhaustedQuota or balance exhausted.
403forbiddenToken disabled, expired, or not allowed.
404task_not_foundTask not found.
429rate_limitedToo many requests.
502upstream_errorUpstream submit or query failure.
503no_channel / async_task_unavailableNo available channel or async task service unavailable.