Skip to main content

Errors

Every error comes back in the same shape:

{
"error": {
"type": "partner_key_error",
"code": "partner_key_missing",
"message": "Missing partner key: send it in the X-T2V-Partner-Key header",
"request_id": "9b9a2f013f354578820fdda925d4a28f"
}
}
  • type is stable: branch on it. The table below lists every one.
  • message is written for people and may change. Don't match on it.
  • request_id is also in the X-Request-Id header. Quote it when you contact support.
  • code narrows some types, such as partner_key_missing.
  • A validation_error also has param, the first field that failed, and errors, the list of every field that failed.
  • When a response has a Retry-After header, wait that many seconds before trying again.

The SDKs raise these as errors with the same type, code, requestId (request_id in Python) and retryAfter (retry_after).

Errors inside a stream​

A streamed reply has already answered 200 when it fails, so the error arrives as the last chunk instead: data: {"error": {...}} with the same fields. Those types are marked stream below.

Error types​

TypeStatusMeaning
anonymous_error400A guest session was refused; the message says why.
attachment_not_supported400The model cannot read this kind of attachment.
bad_request400A required value is missing; the message names it.
budget_exceeded400, 429, streamThe user's or the guest's model budget is spent.
content_filter400The image provider declined the prompt.
convert_error400, 409A guest could not be converted to an account; 409 when the email is already taken.
http_error400, 401, 403, 409, 410, 413, 415, 429, 503An HTTP error without a more specific type; the status says what kind.
image_model_unknown400The image model is not one Talk2View offers.
invalid_nonce400The sign-in nonce is missing or too short.
link_requires_session400Linking a provider sign-in to a guest needs the guest's access token.
model_not_allowed400The model is not enabled for this partner.
model_request_rejected400, 404, 413, 422, streamThe model provider rejected the request.
not_anonymous400Converting a guest to an account, but the user already has an account.
session_error400There is no active conversation to continue. Send a message first.
signup_error400Sign-up was refused; the message says why.
skills_disabled400Skills are not turned on for this partner.
unsupported_parameter400A parameter is not supported on this route; fields lists them.
validation_error400, 422A field is missing or invalid. param names the first one and errors lists them all.
authentication_error401The end-user's access token is missing, invalid or expired. Refresh it, or sign the user in again.
invalid_partner_key401The partner key sent to a sign-in route is not a valid key.
partner_key_error401The X-T2V-Partner-Key header is missing (code partner_key_missing), malformed, unknown or for a deactivated partner. Signing the user in again will not help.
voice_ticket_invalid401The realtime voice ticket is invalid or expired. Ask for a new one.
insufficient_credit402The user's credit does not cover this request.
account_required403The feature needs a Talk2View account rather than a guest session.
anonymous_access_disabled403The partner has not turned on guest access.
authorization_error403The signed-in user may not do this, or not to this resource.
captcha_invalid403The captcha token was rejected.
captcha_required403This sign-up needs a captcha token.
image_generation_disabled403Image generation is not turned on for this partner.
live_translate_disabled403Live translation is not turned on for this partner.
model_gated403The model needs a paid subscription; model names it.
no_api_key403The user has no model key yet. Retry shortly; if it persists, contact support.
origin_not_allowed403The request's Origin is not on the partner's list of allowed websites (console: Settings → Allowed websites).
scribe_disabled403This dictation model is not turned on for this partner.
sign_in_required403A guest (anonymous) user called a route that needs a signed-in account, such as the direct model calls.
voice_disabled403Realtime voice is not turned on for this partner.
voice_model_unavailable403No voice model this app allows can take the call right now. Show the message.
attachment_not_found404An attachment the message refers to does not exist or has expired.
not_found404No such route, or the session, skill or record it names does not exist.
session_not_found404The chat session is gone (often after a deploy). Start a new one.
turn_not_found404The turn to re-attach to is gone or finished.
unknown_provider404The sign-in provider is not one Talk2View offers.
method_not_allowed405The route exists but not for this method; the Allow header lists the ones that do.
refresh_conflict409Two refreshes raced with the same refresh token. Retry with the newest token.
tool_call_id_mismatch409The tool results sent to /resume do not match the paused tool calls.
expired410The sign-in hand-off expired. Start the sign-in again.
file_too_large413The uploaded file is over the size limit.
payload_too_large413The request body is over the size limit.
quota_exceeded413The upload would exceed the user's storage quota.
content_type_mismatch415The upload's content does not match its declared type.
unsupported_media_type415The upload's file type is not accepted.
invalid_language422The language code is not supported.
invalid_request422The request is well formed but not allowed as sent.
anonymous_daily_cap_reached429Today's limit on new guest sessions from this address is reached.
daily_limit429Today's limit for this action is reached.
rate_limit_exceeded429Too many requests. Wait the number of seconds in Retry-After.
rate_limited429, streamThe model provider is rate limiting. Retry shortly.
usage_limit_exceeded429The user's usage limit is reached.
internal_error500, streamSomething failed inside the engine. Quote the request_id to support.
provider_error502The image provider returned an error.
upstream_error502, streamA service behind the engine failed. On /v1/chat/completions the status is the provider's own.
anonymous_unavailable503A guest session could not be started. Retry shortly.
auth_service_unavailable503The sign-in service did not answer. Retry shortly.
captcha_unavailable503The captcha could not be checked. Retry shortly.
credit_check_unavailable503The user's credit could not be checked. Retry shortly.
model_initialization_error503The model could not be started. Retry shortly.
service_unavailable503A service the request needs is down. Retry shortly.
usage_unavailable503Usage figures are unavailable. Retry shortly.
timeout504The image provider took too long.
complexity_limitstreamThe turn hit the agent's step limit and stopped. Ask for something smaller.
detached_turn_cancelledstreamA background turn was interrupted before it finished.
detached_turn_timeoutstreamA background turn ran past its time limit and was stopped.