Error codes

Stable codes for every error and every ended session, with what to do and a sentence your app can show its user as is.

One list for every product: calls, Live Hosts, Live Streams, gifts and Chat. The same list is served as JSON at GET /v1/errors (no key needed) and shown in your console under Quickstart → Error codes.

Using only the App Key (Quick mode)? You get the same codes, raised in the app: every SDK throws one error type (TitliVideoError, platform style) with errorCode, userCode, userMessage, userMessageHi, message and httpStatus. Show userMessage to your user as is. The codes that only the App Key can return (key not valid, Quick mode off, app not on the allowlist, daily caps) are in their own group: Quick mode (App Key). No server is needed to read or handle any of them.

Set in your dashboard vs. set in code

SettingWhere
App Key, its bindings (package name, bundle ID, website, signing certificate) and Quick-mode capsDashboard: Console → Projects → Quick mode
Daily spend cap of a projectDashboard: Console → Projects
Low-balance alert levels (money and minutes)Dashboard: Console → Settings
Webhook URL and secretDashboard: Console → Projects
What your user sees when something failsCode: show userMessage (or user_message) as is

What every error carries

The fields you already use do not change. Three are added next to them:

402
{ "error": {
    "code": "insufficient_balance",
    "message": "Balance is zero. Recharge to start calls.",
    "error_code": "VENDOR_BALANCE_INSUFFICIENT",
    "user_code": "VB-402",
    "user_message": "Calls are paused right now. Please try again later. (code VB-402)",
    "user_message_hi": "कॉल अभी रुकी हुई हैं। कृपया थोड़ी देर बाद फिर कोशिश करें। (कोड VB-402)",
    "docs_url": "https://videosdk.titliapp.com/docs/errors#VENDOR_BALANCE_INSUFFICIENT" } }
FieldWhat it is
error.code, error.messageAs before. message is written for you, the developer. Never show it to your users: it can name your balance or your settings.
error.error_codeThe stable code in this list. Branch on this one. It is never renamed.
error.user_codeA short code (two letters, three digits) that is safe to show a user and easy to read out to your support team.
error.user_messageA neutral sentence you can show your user as is. It never names us, never names you, and never says anything about your balance, your prices or your account. user_message_hi is the same sentence in Hindi.
error.docs_urlA link to this page, at the code.

What every ended session carries

A call, a Live Hosts call and a live-stream viewer session keep end_reason and gain three fields once they have ended (they are null while the session runs). The same fields are inside every webhook that carries the object (call.ended, live_host.call.ended, viewer.kicked, viewer.ended, stream.ended).

ended call
{ "status": "ended", "end_reason": "balance_zero",
  "end_code": "VENDOR_BALANCE_EXHAUSTED_MIDCALL", "end_user_code": "VB-410",
  "end_user_message": "This call has ended. Please try again later. (code VB-410)" }

What your user's app gets when we end a session

Just before we close a room we write the reason into the room metadata, so the app in your user's hand knows why without asking your server:

room metadata
{ "end_reason": "balance_zero", "end_code": "VENDOR_BALANCE_EXHAUSTED_MIDCALL", "user_code": "VB-410",
  "user_message": "This call has ended. Please try again later. (code VB-410)", "user_message_hi": "…" }

A live-stream viewer gets the same fields in the ended (or kicked) data message.

Sample handling code

Your server, when it starts a session (production hardening, optional)

server.js
const r = await fetch(API + '/v1/live-hosts/calls', { method: 'POST', headers, body: JSON.stringify(body) });
if (!r.ok) {
  const { error } = await r.json();
  switch (error.error_code) {
    case 'VENDOR_BALANCE_INSUFFICIENT':           // your balance: page your billing owner, never tell the user why
      alertBilling(error.message);
      break;
    case 'HOST_UNAVAILABLE': case 'HOST_BUSY': case 'NO_HOST_AVAILABLE':
      refreshHostList();
      break;
    case 'PRICE_CHANGED':                         // error.cost_per_minute carries the new price
      showNewPrice(error);
      break;
    case 'RATE_LIMITED': case 'SERVICE_UNAVAILABLE': case 'LINES_BUSY':
      retryLater(error.retry_after_ms || 3000);
      break;
  }
  // Whatever it was, this sentence is safe to show:
  return res.status(r.status).json({ message: error.user_message, code: error.user_code });
}

Your user's app, when the session is ended for it

app.js
room.on(RoomEvent.Disconnected, () => {
  let end = {};
  try { end = JSON.parse(room.metadata || '{}'); } catch {}
  showToUser(end.user_message || 'The call has ended.');
  // e.g. "This call has ended. Please try again later. (code VB-410)"
});

Your webhook, so you know before your users do

webhook.js
if (event.event === 'balance.low')  notifyBilling('About ' + event.data.minutes_left + ' minutes of calls left');
if (event.event === 'balance.zero') notifyBilling('Balance is used up: calls are refused (VB-402)');
if (event.event === 'live_host.call.ended' && event.data.call.end_code === 'VENDOR_BALANCE_EXHAUSTED_MIDCALL')
  notifyBilling('A call was cut for balance');

Balance alerts

  • balance.low is sent once when the balance goes under your money level or under your minutes level (fewer than N minutes of calls left at your highest price; standard 30, change it in console → Settings). data: balance, threshold, currency, minutes_left, alert_minutes, reason.
  • balance.zero is sent once when the balance cannot pay for one more minute of anything: new sessions are refused with VENDOR_BALANCE_INSUFFICIENT from then on.
  • Both also arrive as a console notice and an email to the owner and billing users. Both are armed again as soon as money comes in. After a recharge the very next request works: nothing is cached.

All codes

CodeShort codeHTTPFor you
VENDOR_BALANCE_INSUFFICIENTVB-402402Recharge
VENDOR_BALANCE_EXHAUSTED_MIDCALLVB-410–Recharge
STREAM_ENDED_BALANCEVB-411–Recharge
PROJECT_CAP_REACHEDSC-402402Fix on your side
DAILY_CAP_REACHEDSC-429429Fix on your side
CONCURRENCY_LIMITCL-429429Try again
HOST_UNAVAILABLEHU-409409Try again
NO_HOST_AVAILABLEHU-404409Try again
HOST_BUSYHB-409409Try again
HOST_NO_ANSWERHN-408–Try again
HOST_HIDDENHH-403403Fix on your side
HOST_ENDEDHE-200–Nothing to do
PRICE_CHANGEDPC-409409Fix on your side
LINES_BUSYLB-503503Try again
KILL_SWITCHKS-503503Contact support
SERVICE_PAUSEDSP-503503Try again
SERVICE_UNAVAILABLESV-503503Try again
FEATURE_NOT_ENABLEDFE-403403Fix on your side
ACCOUNT_SUSPENDEDAS-403403Contact support
AUTH_INVALIDAU-401401Fix on your side
APP_KEY_INVALIDAK-401401Fix on your side
QUICK_MODE_OFFQM-403403Fix on your side
APP_NOT_ALLOWEDAB-403403Fix on your side
QUICK_DAILY_CAP_REACHEDQC-402402Fix on your side
END_USER_DAILY_LIMITUM-429429Fix on your side
IP_NOT_ALLOWEDAU-403403Fix on your side
FORBIDDENFB-403403Fix on your side
INVALID_REQUESTIR-400400Fix on your side
NOT_FOUNDNF-404404Fix on your side
RATE_LIMITEDRL-429429Try again
END_USER_BLOCKEDEB-403403Fix on your side
CALL_ENDEDCE-409409Fix on your side
INTERNAL_ERRORIE-500500Contact support
INVALID_DATEDT-400400Fix on your side
DATE_RANGE_TOO_LONGDR-400400Fix on your side
STATEMENT_TOO_LARGESL-400400Fix on your side
CALL_COMPLETEDOK-200–Nothing to do
ENDED_BY_VENDOREV-200–Nothing to do
ENDED_BY_OPERATOREO-200–Contact support
MAX_DURATION_REACHEDMD-200–Nothing to do
STREAM_UNAVAILABLEST-409409Try again
STREAM_ENDEDST-200–Nothing to do
VIEWER_REMOVEDVR-403403Fix on your side
VIEWER_MUTEDVM-403403Fix on your side
GIFTS_DISABLEDGF-403403Fix on your side
GIFT_UNAVAILABLEGF-400400Fix on your side
GIFT_PRICE_CHANGEDGF-409409Fix on your side
GIFT_PRICE_BELOW_COSTGF-422400Fix on your side
GIFT_HOST_UNAVAILABLEGF-410409Try again
GIFT_IDEMPOTENCY_CONFLICTGF-408409Fix on your side
GIFT_NOT_IN_SESSIONGF-404403Fix on your side
CHAT_PLAN_LIMITCP-429429Fix on your side
CHAT_USER_BLOCKEDCB-403403Nothing to do
CHAT_MESSAGE_REJECTEDCM-422422Nothing to do
CHAT_MESSAGE_TOO_LONGCM-400400Fix on your side
CHAT_SLOW_MODECS-429429Try again
CHAT_RECALL_WINDOW_PASSEDCR-409409Nothing to do

Balance and spending limits

VENDOR_BALANCE_INSUFFICIENT

Short codeHTTP statusProductsFor you
VB-402402calls, Live Hosts, Live Streams, ChatRecharge

error.code values: insufficient_balance, balance_zero, payment_required

The prepaid balance cannot pay for this session: it is zero, or it does not cover one minute of this session on top of one minute for each session already running.

What to do. Recharge (console → Billing, or the recharge API). The very next request works: nothing is cached. Act on the balance.low webhook so this never reaches your users.

Your user sees: “Calls are paused right now. Please try again later. (code VB-402)”

Chat: “Chat is not available right now. Please try again later. (code VB-402)”

Live Streams: “This live stream is not available right now. Please try again later. (code VB-402)”

Gifts: “Gifts are unavailable right now. Please try again later. (code VB-402)”

VENDOR_BALANCE_EXHAUSTED_MIDCALL

Short codeHTTP statusProductsFor you
VB-410none (a session end)calls, Live HostsRecharge

end_reason values: insufficient_balance, balance_zero

The balance ran out while the call was live, so we ended it. The balance never goes below zero. The call and its call.ended webhook carry what was billed.

What to do. Recharge. Tell your user the call ended and let them call again once you have balance. Watch balance.low and balance.zero.

Your user sees: “This call has ended. Please try again later. (code VB-410)”

STREAM_ENDED_BALANCE

Short codeHTTP statusProductsFor you
VB-411none (a session end)Live StreamsRecharge

end_reason values: balance_zero

The balance ran out while this viewer was watching, so we ended the viewer session. The stream itself goes on for the host.

What to do. Recharge; the viewer can join again at once. Watch balance.low and balance.zero.

Your user sees: “This live stream is not available right now. Please try again later. (code VB-411)”

PROJECT_CAP_REACHED

Short codeHTTP statusProductsFor you
SC-402402callsFix on your side

error.code values: project_cap_reached

end_reason values: project_cap, project_cap_reached

This project reached the daily spending cap you set in the console.

What to do. Raise the cap (console → Projects) or wait for the next day in your account time zone.

Your user sees: “Calls are paused right now. Please try again later. (code SC-402)”

DAILY_CAP_REACHED

Short codeHTTP statusProductsFor you
SC-429429Live HostsFix on your side

error.code values: daily_cap_reached

end_reason values: daily_cap

Today's Live Hosts spending cap for your account is reached.

What to do. It resets at midnight in your account time zone. Ask support to raise the cap.

Your user sees: “Calls are paused right now. Please try again later. (code SC-429)”

CONCURRENCY_LIMIT

Short codeHTTP statusProductsFor you
CL-429429calls, Live Hosts, Live StreamsTry again

error.code values: concurrency_limit, capacity

Your account is running as many sessions at once as it is allowed.

What to do. End sessions you no longer need, or ask support to raise the limit.

Your user sees: “We could not connect right now. Please try again in a minute. (code CL-429)”

Live Hosts

HOST_UNAVAILABLE

Short codeHTTP statusProductsFor you
HU-409409Live HostsTry again

error.code values: host_unavailable

end_reason values: host_unavailable

The host you asked for is not available (offline, or no longer in your listing).

What to do. Refresh the host list and let your user pick another host, or use "host_ref": "any".

Your user sees: “This person is not available right now. Please pick someone else.”

NO_HOST_AVAILABLE

Short codeHTTP statusProductsFor you
HU-404409Live HostsTry again

error.code values: no_host_available

No host is free right now.

What to do. Try again in a minute.

Your user sees: “Nobody is available right now. Please try again in a minute.”

HOST_BUSY

Short codeHTTP statusProductsFor you
HB-409409Live HostsTry again

error.code values: host_busy

end_reason values: host_busy

The host is on another call.

What to do. Let your user pick another host or try again in a few minutes.

Your user sees: “This person is on another call. Please try again in a few minutes.”

HOST_NO_ANSWER

Short codeHTTP statusProductsFor you
HN-408none (a session end)Live HostsTry again

end_reason values: host_no_answer

The host did not answer in time. Nothing was billed.

What to do. Let your user pick another host or try again.

Your user sees: “No answer. Please try again or pick someone else.”

HOST_HIDDEN

Short codeHTTP statusProductsFor you
HH-403403Live HostsFix on your side

error.code values: host_hidden

You (or support, for your account) hid this host.

What to do. Restore her under Live Hosts → Hosts, or do not offer her to your users.

Your user sees: “This person is not available right now. Please pick someone else.”

HOST_ENDED

Short codeHTTP statusProductsFor you
HE-200none (a session end)Live HostsNothing to do

end_reason values: host_ended

The host hung up.

What to do. Nothing. Billed up to that moment.

Your user sees: “The call has ended.”

PRICE_CHANGED

Short codeHTTP statusProductsFor you
PC-409409Live HostsFix on your side

error.code values: price_changed

The host's price is now above the max_cost_per_minute you sent.

What to do. Read the new price from the answer (or the host list), show it to your user, and start the call again.

Your user sees: “The price for this call has changed. Please check it and try again.”

LINES_BUSY

Short codeHTTP statusProductsFor you
LB-503503Live Hosts, Live StreamsTry again

error.code values: lines_busy

All lines are in use right now.

What to do. Try again in a minute.

Your user sees: “We could not connect right now. Please try again in a minute. (code LB-503)”

Switches and availability

KILL_SWITCH

Short codeHTTP statusProductsFor you
KS-503503calls, Live Hosts, Live StreamsContact support

error.code values: kill_switch

end_reason values: kill_switch, killed_by_operator

The product is switched off for now: by you in the console (pause), or by us for your account or for everyone.

What to do. Check the pause switch in your console. If it is not yours, contact support.

Your user sees: “This service is temporarily unavailable. Please try again later. (code KS-503)”

SERVICE_PAUSED

Short codeHTTP statusProductsFor you
SP-503503Live Hosts, Live StreamsTry again

error.code values: partner_paused

end_reason values: partner_off, pool_off, vendor_off

The host network is paused for a short while.

What to do. Try again later. Nothing is billed while it is paused.

Your user sees: “This service is temporarily unavailable. Please try again later. (code SP-503)”

SERVICE_UNAVAILABLE

Short codeHTTP statusProductsFor you
SV-503503every productTry again

error.code values: partner_unavailable, media_unavailable, relay_unavailable, relay_error

end_reason values: relay_failed, error, room_create_failed, unavailable

A part of the service did not answer.

What to do. Try again in a few seconds, with backoff. If it lasts, contact support with the request time.

Your user sees: “This service is temporarily unavailable. Please try again later. (code SV-503)”

FEATURE_NOT_ENABLED

Short codeHTTP statusProductsFor you
FE-403403every productFix on your side

error.code values: live_hosts_disabled, live_streams_disabled, direct_disabled, calls_disabled, audio_disabled, video_disabled, chat_disabled, chat_self_serve_off, chat_not_activated, chat_plan_managed

This product or feature is not switched on for your account.

What to do. Switch it on in the console where you can, or ask us to enable it.

Your user sees: “This service is temporarily unavailable. Please try again later. (code FE-403)”

ACCOUNT_SUSPENDED

Short codeHTTP statusProductsFor you
AS-403403every productContact support

error.code values: vendor_suspended, vendor_closed, project_disabled

end_reason values: vendor_suspended

The account or the project is suspended, closed or disabled.

What to do. Contact support.

Your user sees: “This service is temporarily unavailable. Please try again later. (code AS-403)”

Quick mode (App Key)

APP_KEY_INVALID

Short codeHTTP statusProductsFor you
AK-401401every productFix on your side

error.code values: app_key_invalid, app_key_rotated, app_key_disabled

The App Key is missing, wrong, switched off, or was replaced by a new key.

What to do. Copy the current App Key from the console (Projects, Quick mode) into your app. After a rotation, ship the new key before the old one stops.

Your user sees: “This service is temporarily unavailable. Please try again later. (code AK-401)”

QUICK_MODE_OFF

Short codeHTTP statusProductsFor you
QM-403403every productFix on your side

error.code values: quick_mode_off, quick_mode_paused

Quick mode is switched off for this project, or paused by us for a while.

What to do. Switch Quick mode on in the console (Projects, Quick mode). If it says paused by support, contact support. Your server key keeps working.

Your user sees: “This service is temporarily unavailable. Please try again later. (code QM-403)”

APP_NOT_ALLOWED

Short codeHTTP statusProductsFor you
AB-403403every productFix on your side

error.code values: app_not_allowed, origin_not_allowed, cert_not_allowed, platform_missing

This app (Android package name, signing certificate, iOS bundle ID or website address) is not on the list of apps allowed to use this App Key. error.message names what was sent.

What to do. Add the app in the console (Projects, Quick mode, Your apps). Use the current SDK: it sends these details for you.

Your user sees: “This service is temporarily unavailable. Please try again later. (code AB-403)”

QUICK_DAILY_CAP_REACHED

Short codeHTTP statusProductsFor you
QC-402402calls, Live Hosts, Live StreamsFix on your side

error.code values: quick_daily_cap_reached

The project reached its Quick-mode spending limit for today.

What to do. Raise the limit in the console (Projects, Quick mode) or wait for the next day in your account time zone.

Your user sees: “Calls are paused right now. Please try again later. (code QC-402)”

END_USER_DAILY_LIMIT

Short codeHTTP statusProductsFor you
UM-429429calls, Live Hosts, Live StreamsFix on your side

error.code values: end_user_minutes_reached

end_reason values: end_user_minutes

This end user used all of today's Quick-mode minutes.

What to do. Raise the minutes per user in the console (Projects, Quick mode) or let the user come back tomorrow.

Your user sees: “This call reached its time limit. You can start a new one. (code UM-429)”

Keys and requests

AUTH_INVALID

Short codeHTTP statusProductsFor you
AU-401401every productFix on your side

error.code values: unauthorized, invalid_api_key, key_revoked, key_expired

The API key or token is missing, wrong, revoked or expired.

What to do. Send your key as HTTP Basic auth from YOUR SERVER only. Rotate a revoked or expired key in the console.

Your user sees: “This service is temporarily unavailable. Please try again later. (code AU-401)”

IP_NOT_ALLOWED

Short codeHTTP statusProductsFor you
AU-403403every productFix on your side

error.code values: ip_not_allowed

This key has an IP allowlist and the request came from another address.

What to do. Add your server's address to the key's allowlist in the console.

Your user sees: “This service is temporarily unavailable. Please try again later. (code AU-403)”

FORBIDDEN

Short codeHTTP statusProductsFor you
FB-403403every productFix on your side

error.code values: forbidden, role_forbidden, quick_user_mismatch, not_your_call

This key or user may not do this.

What to do. Check the role or the resource owner.

Your user sees: “This is not available for your account. (code FB-403)”

INVALID_REQUEST

Short codeHTTP statusProductsFor you
IR-400400every productFix on your side

error.code values: invalid_request, invalid_json, invalid_month, payload_too_large, method_not_allowed, invalid_stream_ref, invalid_client_request_id, unsupported_media_type, app_key_in_authorization, too_many_entries, invalid_entry, conflict, no_receipt, call_not_ended, call_not_active

The request is not valid: a field is missing, has the wrong format, or does not fit the state of the resource. error.message names it.

What to do. Fix the request. Do not retry it unchanged.

Your user sees: “Something went wrong. Please try again. (code IR-400)”

NOT_FOUND

Short codeHTTP statusProductsFor you
NF-404404every productFix on your side

error.code values: not_found, not_member

The resource does not exist in this project.

What to do. Check the id and that you are using the key of the right project.

Your user sees: “Something went wrong. Please try again. (code NF-404)”

RATE_LIMITED

Short codeHTTP statusProductsFor you
RL-429429every productTry again

error.code values: rate_limited, end_user_rate_limited, too_many_users_on_device

Too many requests.

What to do. Wait for Retry-After (also error.retry_after_ms) and retry with backoff. Reuse stable end-user ids.

Your user sees: “Too many attempts. Please wait a moment and try again. (code RL-429)”

END_USER_BLOCKED

Short codeHTTP statusProductsFor you
EB-403403calls, Live StreamsFix on your side

error.code values: end_user_blocked, blocked

end_reason values: blocked

This end user is blocked: on your account, or by the host they tried to reach.

What to do. Do not retry for this end user.

Your user sees: “This is not available for your account. (code EB-403)”

CALL_ENDED

Short codeHTTP statusProductsFor you
CE-409409callsFix on your side

error.code values: call_ended

end_reason values: call_ended

This call has already ended.

What to do. Create a new call.

Your user sees: “The call has ended.”

INTERNAL_ERROR

Short codeHTTP statusProductsFor you
IE-500500every productContact support

error.code values: internal_error

Something failed on our side.

What to do. Retry once after a few seconds. If it repeats, contact support with the request time.

Your user sees: “Something went wrong. Please try again. (code IE-500)”

Money reports and statements

INVALID_DATE

Short codeHTTP statusProductsFor you
DT-400400every productFix on your side

error.code values: invalid_date, invalid_timezone

A date or time zone of a report is not valid: from / to must be calendar days like 2026-11-01, from not after to, and tz a time zone name like Asia/Kolkata. error.message names the field.

What to do. Send days as YYYY-MM-DD in the account's time zone. Do not retry the request unchanged.

Your user sees: “Something went wrong. Please try again. (code DT-400)”

DATE_RANGE_TOO_LONG

Short codeHTTP statusProductsFor you
DR-400400every productFix on your side

error.code values: range_too_long

The report or statement covers more than 366 days.

What to do. Ask for one year or less; for a longer history, ask for several periods one after the other.

Your user sees: “Something went wrong. Please try again. (code DR-400)”

STATEMENT_TOO_LARGE

Short codeHTTP statusProductsFor you
SL-400400every productFix on your side

error.code values: too_many_rows

A CSV or PDF statement would hold more lines than one file may (20,000 for CSV, 5,000 for PDF). Nothing is cut short: the file is refused. error.rows and error.max_rows give the numbers.

What to do. Download a shorter period or one product (product=), or read the JSON pages with before_id.

Your user sees: “Something went wrong. Please try again. (code SL-400)”

Session ends that are not errors

CALL_COMPLETED

Short codeHTTP statusProductsFor you
OK-200none (a session end)calls, Live Hosts, Live StreamsNothing to do

end_reason values: completed, room_closed, idle, end_user_left, end_user_absent, left, left_room, never_connected, no_viewers, expired_unused

The session ended the normal way: everyone left, or your end user left or never joined.

What to do. Nothing.

Your user sees: “The call has ended.”

ENDED_BY_VENDOR

Short codeHTTP statusProductsFor you
EV-200none (a session end)calls, Live Hosts, Live StreamsNothing to do

end_reason values: ended_by_vendor, vendor_ended, vendor_end

Your server ended the session through the API.

What to do. Nothing.

Your user sees: “The call has ended.”

ENDED_BY_OPERATOR

Short codeHTTP statusProductsFor you
EO-200none (a session end)calls, Live Hosts, Live StreamsContact support

end_reason values: ended_by_operator, operator_ended, operator_end, admin_terminated

Support ended this session.

What to do. Contact support if you did not expect it.

Your user sees: “This call has ended. Please try again later. (code EO-200)”

MAX_DURATION_REACHED

Short codeHTTP statusProductsFor you
MD-200none (a session end)calls, Live HostsNothing to do

end_reason values: max_duration

The call reached its time limit (max_duration_seconds / max_seconds).

What to do. Start a new call. Ask support for a longer limit if you need one.

Your user sees: “This call reached its time limit. You can start a new one. (code MD-200)”

Live Streams

STREAM_UNAVAILABLE

Short codeHTTP statusProductsFor you
ST-409409Live StreamsTry again

error.code values: stream_unavailable

This live stream is over or not offered to your account.

What to do. Refresh the list of live streams.

Your user sees: “This live stream is not available any more. Please pick another one.”

STREAM_ENDED

Short codeHTTP statusProductsFor you
ST-200none (a session end)Live StreamsNothing to do

end_reason values: host_ended, host_gone, host_excluded

The host ended the live stream (or left).

What to do. Nothing. Billed up to that moment.

Your user sees: “This live stream has ended.”

VIEWER_REMOVED

Short codeHTTP statusProductsFor you
VR-403403Live StreamsFix on your side

error.code values: kicked, not_viewer

end_reason values: kicked, removed

The host removed this end user from the live stream, or the end user is not watching it.

What to do. Do not rejoin a removed end user to the same stream.

Your user sees: “You can no longer watch this live stream.”

VIEWER_MUTED

Short codeHTTP statusProductsFor you
VM-403403Live StreamsFix on your side

error.code values: muted

The host muted this end user in the stream chat.

What to do. Hide the message box for this end user.

Your user sees: “You cannot send messages in this live stream right now.”

Gifts

GIFTS_DISABLED

Short codeHTTP statusProductsFor you
GF-403403Live Streams, Live HostsFix on your side

error.code values: gifts_disabled

Gifts are switched off for your account.

What to do. Switch gifts on in the console, or hide the gift button.

Your user sees: “Gifts are unavailable right now. Please try again later. (code GF-403)”

GIFT_UNAVAILABLE

Short codeHTTP statusProductsFor you
GF-400400Live Streams, Live HostsFix on your side

error.code values: gift_unavailable

This gift is not in your gift list any more: it was hidden, switched off, or is no longer offered.

What to do. Reload the gift list (GET /v1/gifts) and show only the gifts it returns.

Your user sees: “This gift is not available any more. Please pick another one. (code GF-400)”

GIFT_PRICE_CHANGED

Short codeHTTP statusProductsFor you
GF-409409Live Streams, Live HostsFix on your side

error.code values: gift_price_changed

The price of this gift changed since you showed it.

What to do. Reload the gift list, show the new price, and send the gift again.

Your user sees: “The price of this gift has changed. Please check it and try again.”

GIFT_PRICE_BELOW_COST

Short codeHTTP statusProductsFor you
GF-422400Live Streams, Live HostsFix on your side

error.code values: gift_price_below_cost

The price you set for this gift is below the Gift list price (min_price in the gift list).

What to do. Set a price at or above the Gift list price of this gift. The error carries min_price.

Your user sees: “This gift could not be sent. Please try again later. (code GF-422)”

GIFT_HOST_UNAVAILABLE

Short codeHTTP statusProductsFor you
GF-410409Live Streams, Live HostsTry again

error.code values: gift_host_unavailable

The host cannot receive this gift right now (the session is over, or she left).

What to do. Nothing was charged. Do not retry for an ended session.

Your user sees: “The host cannot receive gifts right now. (code GF-410)”

GIFT_IDEMPOTENCY_CONFLICT

Short codeHTTP statusProductsFor you
GF-408409Live Streams, Live HostsFix on your side

error.code values: gift_idempotency_conflict, idempotency_conflict

This client_request_id was already used for a different gift.

What to do. Use a new client_request_id for every new gift; reuse it only to retry the same one.

Your user sees: “This gift could not be sent. Please try again later. (code GF-408)”

GIFT_NOT_IN_SESSION

Short codeHTTP statusProductsFor you
GF-404403Live Streams, Live HostsFix on your side

error.code values: gift_not_in_session

This end user is not in a live session with this host, so a gift cannot be sent.

What to do. Offer gifts only while the end user is in the call or watching the stream.

Your user sees: “Gifts can be sent only during the call or while watching the live stream. (code GF-404)”

Chat

CHAT_PLAN_LIMIT

Short codeHTTP statusProductsFor you
CP-429429ChatFix on your side

error.code values: cap_reached, chat_plan_over_cap

A limit of your chat plan is reached: monthly active users, messages this month, storage, group size, or connections at once.

What to do. Upgrade the chat plan in the console (Chat → Plan). Users already counted this month keep working.

Your user sees: “Chat is not available right now. Please try again later. (code CP-429)”

CHAT_USER_BLOCKED

Short codeHTTP statusProductsFor you
CB-403403ChatNothing to do

error.code values: chat_blocked

One of the two users blocked the other.

What to do. Show that the message cannot be sent. Do not retry.

Your user sees: “You cannot message this person.”

CHAT_MESSAGE_REJECTED

Short codeHTTP statusProductsFor you
CM-422422ChatNothing to do

error.code values: profanity_blocked

The message was stopped by your app's language filter.

What to do. Let the user edit the message.

Your user sees: “This message could not be sent. Please change the wording and try again.”

CHAT_MESSAGE_TOO_LONG

Short codeHTTP statusProductsFor you
CM-400400ChatFix on your side

error.code values: message_too_long

The text is longer than the limit.

What to do. Limit the input length in your app.

Your user sees: “This message is too long. Please shorten it.”

CHAT_SLOW_MODE

Short codeHTTP statusProductsFor you
CS-429429ChatTry again

error.code values: slow_mode

The room is in slow mode.

What to do. Wait error.retry_after_ms before the next message.

Your user sees: “Please wait a moment before sending another message.”

CHAT_RECALL_WINDOW_PASSED

Short codeHTTP statusProductsFor you
CR-409409ChatNothing to do

error.code values: recall_window_passed

The message is too old to recall.

What to do. Hide the recall action after the window.

Your user sees: “Something went wrong. Please try again. (code CR-409)”

See also: REST API errors, Webhooks, Billing and usage.

Start free