TUIWOTUIWO
APIByteDanceSeedance series

Errors

Unified error shape for the video API.

Error shape

{
  "error": {
    "code": "InvalidParameter",
    "message": "model is required"
  }
}

Only code and message are guaranteed; compatible param and type fields are not currently included.

Common errors

codeTypical HTTPDescription
InvalidParameter400Invalid body or parameter
InvalidActionOrVersion400Unsupported asset action or version
AuthenticationError401Missing or invalid token
AccessDenied403Insufficient group/model access or auto group
NotFound404Model, task or asset not found
AmbiguousServiceConfiguration409Multiple service configurations match; contact support
TaskNotCancellable409Task running or missing service task ID
CancelUnconfirmed409Service did not confirm cancellation
RefundPending409Refund not completed
SubmissionUncertain409Submission uncertain; query with the returned task_id
TaskResponseUnavailable502Task response unavailable
TaskServiceUnavailable502Service request failed
ServiceUnavailable503Task service unavailable
NotImplemented501Service/configuration does not support the operation
RateLimitExceeded429Too many requests

Handling

  • 401 / 403: check the token, group and model access.
  • 404: confirm the task belongs to the current token/group and was not deleted.
  • 409 SubmissionUncertain: do not resubmit; query with task_id.
  • 501: the capability is not open for this service; do not retry.
  • 503 / 502: retry queries later; confirm idempotency before creating again.