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
| Setting | Where |
|---|---|
| App Key, its bindings (package name, bundle ID, website, signing certificate) and Quick-mode caps | Dashboard: Console → Projects → Quick mode |
| Daily spend cap of a project | Dashboard: Console → Projects |
| Low-balance alert levels (money and minutes) | Dashboard: Console → Settings |
| Webhook URL and secret | Dashboard: Console → Projects |
| What your user sees when something fails | Code: 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:
{ "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" } }| Field | What it is |
|---|---|
error.code, error.message | As before. message is written for you, the developer. Never show it to your users: it can name your balance or your settings. |
error.error_code | The stable code in this list. Branch on this one. It is never renamed. |
error.user_code | A short code (two letters, three digits) that is safe to show a user and easy to read out to your support team. |
error.user_message | A 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_url | A 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).
{ "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:
{ "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)
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
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
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.lowis 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.zerois sent once when the balance cannot pay for one more minute of anything: new sessions are refused withVENDOR_BALANCE_INSUFFICIENTfrom 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
| Code | Short code | HTTP | For you |
|---|---|---|---|
VENDOR_BALANCE_INSUFFICIENT | VB-402 | 402 | Recharge |
VENDOR_BALANCE_EXHAUSTED_MIDCALL | VB-410 | – | Recharge |
STREAM_ENDED_BALANCE | VB-411 | – | Recharge |
PROJECT_CAP_REACHED | SC-402 | 402 | Fix on your side |
DAILY_CAP_REACHED | SC-429 | 429 | Fix on your side |
CONCURRENCY_LIMIT | CL-429 | 429 | Try again |
HOST_UNAVAILABLE | HU-409 | 409 | Try again |
NO_HOST_AVAILABLE | HU-404 | 409 | Try again |
HOST_BUSY | HB-409 | 409 | Try again |
HOST_NO_ANSWER | HN-408 | – | Try again |
HOST_HIDDEN | HH-403 | 403 | Fix on your side |
HOST_ENDED | HE-200 | – | Nothing to do |
PRICE_CHANGED | PC-409 | 409 | Fix on your side |
LINES_BUSY | LB-503 | 503 | Try again |
KILL_SWITCH | KS-503 | 503 | Contact support |
SERVICE_PAUSED | SP-503 | 503 | Try again |
SERVICE_UNAVAILABLE | SV-503 | 503 | Try again |
FEATURE_NOT_ENABLED | FE-403 | 403 | Fix on your side |
ACCOUNT_SUSPENDED | AS-403 | 403 | Contact support |
AUTH_INVALID | AU-401 | 401 | Fix on your side |
APP_KEY_INVALID | AK-401 | 401 | Fix on your side |
QUICK_MODE_OFF | QM-403 | 403 | Fix on your side |
APP_NOT_ALLOWED | AB-403 | 403 | Fix on your side |
QUICK_DAILY_CAP_REACHED | QC-402 | 402 | Fix on your side |
END_USER_DAILY_LIMIT | UM-429 | 429 | Fix on your side |
IP_NOT_ALLOWED | AU-403 | 403 | Fix on your side |
FORBIDDEN | FB-403 | 403 | Fix on your side |
INVALID_REQUEST | IR-400 | 400 | Fix on your side |
NOT_FOUND | NF-404 | 404 | Fix on your side |
RATE_LIMITED | RL-429 | 429 | Try again |
END_USER_BLOCKED | EB-403 | 403 | Fix on your side |
CALL_ENDED | CE-409 | 409 | Fix on your side |
INTERNAL_ERROR | IE-500 | 500 | Contact support |
INVALID_DATE | DT-400 | 400 | Fix on your side |
DATE_RANGE_TOO_LONG | DR-400 | 400 | Fix on your side |
STATEMENT_TOO_LARGE | SL-400 | 400 | Fix on your side |
CALL_COMPLETED | OK-200 | – | Nothing to do |
ENDED_BY_VENDOR | EV-200 | – | Nothing to do |
ENDED_BY_OPERATOR | EO-200 | – | Contact support |
MAX_DURATION_REACHED | MD-200 | – | Nothing to do |
STREAM_UNAVAILABLE | ST-409 | 409 | Try again |
STREAM_ENDED | ST-200 | – | Nothing to do |
VIEWER_REMOVED | VR-403 | 403 | Fix on your side |
VIEWER_MUTED | VM-403 | 403 | Fix on your side |
GIFTS_DISABLED | GF-403 | 403 | Fix on your side |
GIFT_UNAVAILABLE | GF-400 | 400 | Fix on your side |
GIFT_PRICE_CHANGED | GF-409 | 409 | Fix on your side |
GIFT_PRICE_BELOW_COST | GF-422 | 400 | Fix on your side |
GIFT_HOST_UNAVAILABLE | GF-410 | 409 | Try again |
GIFT_IDEMPOTENCY_CONFLICT | GF-408 | 409 | Fix on your side |
GIFT_NOT_IN_SESSION | GF-404 | 403 | Fix on your side |
CHAT_PLAN_LIMIT | CP-429 | 429 | Fix on your side |
CHAT_USER_BLOCKED | CB-403 | 403 | Nothing to do |
CHAT_MESSAGE_REJECTED | CM-422 | 422 | Nothing to do |
CHAT_MESSAGE_TOO_LONG | CM-400 | 400 | Fix on your side |
CHAT_SLOW_MODE | CS-429 | 429 | Try again |
CHAT_RECALL_WINDOW_PASSED | CR-409 | 409 | Nothing to do |
Balance and spending limits
VENDOR_BALANCE_INSUFFICIENT
| Short code | HTTP status | Products | For you |
|---|---|---|---|
VB-402 | 402 | calls, Live Hosts, Live Streams, Chat | Recharge |
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 code | HTTP status | Products | For you |
|---|---|---|---|
VB-410 | none (a session end) | calls, Live Hosts | Recharge |
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 code | HTTP status | Products | For you |
|---|---|---|---|
VB-411 | none (a session end) | Live Streams | Recharge |
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 code | HTTP status | Products | For you |
|---|---|---|---|
SC-402 | 402 | calls | Fix 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 code | HTTP status | Products | For you |
|---|---|---|---|
SC-429 | 429 | Live Hosts | Fix 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 code | HTTP status | Products | For you |
|---|---|---|---|
CL-429 | 429 | calls, Live Hosts, Live Streams | Try 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 code | HTTP status | Products | For you |
|---|---|---|---|
HU-409 | 409 | Live Hosts | Try 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 code | HTTP status | Products | For you |
|---|---|---|---|
HU-404 | 409 | Live Hosts | Try 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 code | HTTP status | Products | For you |
|---|---|---|---|
HB-409 | 409 | Live Hosts | Try 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 code | HTTP status | Products | For you |
|---|---|---|---|
HN-408 | none (a session end) | Live Hosts | Try 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 code | HTTP status | Products | For you |
|---|---|---|---|
HH-403 | 403 | Live Hosts | Fix 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 code | HTTP status | Products | For you |
|---|---|---|---|
HE-200 | none (a session end) | Live Hosts | Nothing 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 code | HTTP status | Products | For you |
|---|---|---|---|
PC-409 | 409 | Live Hosts | Fix 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 code | HTTP status | Products | For you |
|---|---|---|---|
LB-503 | 503 | Live Hosts, Live Streams | Try 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 code | HTTP status | Products | For you |
|---|---|---|---|
KS-503 | 503 | calls, Live Hosts, Live Streams | Contact 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 code | HTTP status | Products | For you |
|---|---|---|---|
SP-503 | 503 | Live Hosts, Live Streams | Try 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 code | HTTP status | Products | For you |
|---|---|---|---|
SV-503 | 503 | every product | Try 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 code | HTTP status | Products | For you |
|---|---|---|---|
FE-403 | 403 | every product | Fix 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 code | HTTP status | Products | For you |
|---|---|---|---|
AS-403 | 403 | every product | Contact 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 code | HTTP status | Products | For you |
|---|---|---|---|
AK-401 | 401 | every product | Fix 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 code | HTTP status | Products | For you |
|---|---|---|---|
QM-403 | 403 | every product | Fix 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 code | HTTP status | Products | For you |
|---|---|---|---|
AB-403 | 403 | every product | Fix 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 code | HTTP status | Products | For you |
|---|---|---|---|
QC-402 | 402 | calls, Live Hosts, Live Streams | Fix 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 code | HTTP status | Products | For you |
|---|---|---|---|
UM-429 | 429 | calls, Live Hosts, Live Streams | Fix 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 code | HTTP status | Products | For you |
|---|---|---|---|
AU-401 | 401 | every product | Fix 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 code | HTTP status | Products | For you |
|---|---|---|---|
AU-403 | 403 | every product | Fix 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 code | HTTP status | Products | For you |
|---|---|---|---|
FB-403 | 403 | every product | Fix 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 code | HTTP status | Products | For you |
|---|---|---|---|
IR-400 | 400 | every product | Fix 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 code | HTTP status | Products | For you |
|---|---|---|---|
NF-404 | 404 | every product | Fix 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 code | HTTP status | Products | For you |
|---|---|---|---|
RL-429 | 429 | every product | Try 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 code | HTTP status | Products | For you |
|---|---|---|---|
EB-403 | 403 | calls, Live Streams | Fix 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 code | HTTP status | Products | For you |
|---|---|---|---|
CE-409 | 409 | calls | Fix 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 code | HTTP status | Products | For you |
|---|---|---|---|
IE-500 | 500 | every product | Contact 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 code | HTTP status | Products | For you |
|---|---|---|---|
DT-400 | 400 | every product | Fix 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 code | HTTP status | Products | For you |
|---|---|---|---|
DR-400 | 400 | every product | Fix 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 code | HTTP status | Products | For you |
|---|---|---|---|
SL-400 | 400 | every product | Fix 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 code | HTTP status | Products | For you |
|---|---|---|---|
OK-200 | none (a session end) | calls, Live Hosts, Live Streams | Nothing 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 code | HTTP status | Products | For you |
|---|---|---|---|
EV-200 | none (a session end) | calls, Live Hosts, Live Streams | Nothing 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 code | HTTP status | Products | For you |
|---|---|---|---|
EO-200 | none (a session end) | calls, Live Hosts, Live Streams | Contact 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 code | HTTP status | Products | For you |
|---|---|---|---|
MD-200 | none (a session end) | calls, Live Hosts | Nothing 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 code | HTTP status | Products | For you |
|---|---|---|---|
ST-409 | 409 | Live Streams | Try 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 code | HTTP status | Products | For you |
|---|---|---|---|
ST-200 | none (a session end) | Live Streams | Nothing 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 code | HTTP status | Products | For you |
|---|---|---|---|
VR-403 | 403 | Live Streams | Fix 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 code | HTTP status | Products | For you |
|---|---|---|---|
VM-403 | 403 | Live Streams | Fix 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 code | HTTP status | Products | For you |
|---|---|---|---|
GF-403 | 403 | Live Streams, Live Hosts | Fix 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 code | HTTP status | Products | For you |
|---|---|---|---|
GF-400 | 400 | Live Streams, Live Hosts | Fix 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 code | HTTP status | Products | For you |
|---|---|---|---|
GF-409 | 409 | Live Streams, Live Hosts | Fix 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 code | HTTP status | Products | For you |
|---|---|---|---|
GF-422 | 400 | Live Streams, Live Hosts | Fix 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 code | HTTP status | Products | For you |
|---|---|---|---|
GF-410 | 409 | Live Streams, Live Hosts | Try 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 code | HTTP status | Products | For you |
|---|---|---|---|
GF-408 | 409 | Live Streams, Live Hosts | Fix 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 code | HTTP status | Products | For you |
|---|---|---|---|
GF-404 | 403 | Live Streams, Live Hosts | Fix 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 code | HTTP status | Products | For you |
|---|---|---|---|
CP-429 | 429 | Chat | Fix 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 code | HTTP status | Products | For you |
|---|---|---|---|
CB-403 | 403 | Chat | Nothing 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 code | HTTP status | Products | For you |
|---|---|---|---|
CM-422 | 422 | Chat | Nothing 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 code | HTTP status | Products | For you |
|---|---|---|---|
CM-400 | 400 | Chat | Fix 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 code | HTTP status | Products | For you |
|---|---|---|---|
CS-429 | 429 | Chat | Try 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 code | HTTP status | Products | For you |
|---|---|---|---|
CR-409 | 409 | Chat | Nothing 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.