# Errors

Every error answers one envelope. Branch on `code`; `message` is for people and may change.

```json
{ "error": { "type": "invalid_request_error", "code": "unknown_parameter", "message": "...", "param": "field", "details": { }, "fix": { "label": "Remove the field", "url": null }, "hint": "...", "retry": "no", "docUrl": "https://otobiz.ai/developers/errors.md#unknown_parameter", "nextOperation": null, "nextArguments": null }, "requestId": "..." }
```

- `type` is one of `invalid_request_error`, `authentication_error`, `permission_error`, `not_found`, `conflict`, `rate_limit_error`, `platform_error`, `api_error`.
- `param` names the field at fault; `details` carries structured context (a `402` carries `details.paymentUrl`).
- `fix.label` is the action in a person's words and `fix.url` is where to do it: the platform's own help page for a platform refusal, the page in Otobiz for most others, else null. `hint` is the same advice for a developer.
- `retry` is `now` (send the same request again), `wait` (after `Retry-After`, or the date in the refusal), `check_first` (it may have happened: read before you send again) or `no` (change something first).
- `docUrl` is this page at the code's row. `nextOperation` is the operation that fixes it, with `nextArguments` when that call needs them; both are null when no single call does.
- A refusal from a connected platform keeps `type: platform_error` and adds `errorSource` (`user`, `platform` or `system`) and `errorCategory`.
- Another brand's id answers `404`, exactly as an id that does not exist.
- `Retry-After` (seconds) rides every answer that may succeed later.

## Codes

Retry says what to do next: now, wait, check first or no (see `retry` above).

## How it behaves

- One check runs before a send or an AI action: the plan, its channels, the month's usage, the spending limit and the last payment. A refusal is a `402` with `details.fix.kind` (`upgrade`, `add_money`, `wait`, `update_card` or `contact_us`) and `details.paymentUrl`.
- A refusal is final for that request. Do not retry it; do what `fix` says.
- A write that may have reached a platform answers `creation_status_unknown`. Read before you repeat it.

## If it fails

Find the `code` in the table below, read its Fix, and change the request only if the Fix says to. Retry only where Retry is now or wait, after `Retry-After`, with the same `Idempotency-Key`.

| Code | Status | Retry | Meaning | Fix |
|---|---|---|---|---|
| <a id="already_cancelled"></a>`already_cancelled` | 400 | no | The booking is already cancelled. | See the booking. Nothing to do; book again with create_booking if wanted. |
| <a id="approval_required"></a>`approval_required` | 400 | no | This capability needs an approval that this route cannot ask for. | Ask in the app. Run it from the agent, where approvals are asked. |
| <a id="attachments_not_supported"></a>`attachments_not_supported` | 400 | no | This route or channel does not accept attachments. | Send text only. Send text only, or use a channel that supports attachments. |
| <a id="bad_request"></a>`bad_request` | 400 | no | The request is malformed, a field is not valid, or the request cannot be applied as sent; `param` names the field when one is at fault. | Correct the field. Correct the field named in `param` (without `param`, the one `message` names) and send again. |
| <a id="billing_amount_invalid"></a>`billing_amount_invalid` | 400 | no | A top up must be a whole amount between the plan's minimum and maximum; `message` gives both. | Fix the amount. Send an amount inside the range in `message`. |
| <a id="cancelled"></a>`cancelled` | 400 | now | The client closed the request before the call started, so it was not run. | Run it again. Call it again if you still need the answer. |
| <a id="channel_unsupported"></a>`channel_unsupported` | 400 | no | The capability does not run on the channel named. | Pick another channel. Leave `channel` out, or pick one the capability supports. |
| <a id="confirmation_mismatch"></a>`confirmation_mismatch` | 400 | no | `confirm` is not the exact name of what is changed. | Type it again. Ask the person to type the name; never fill it in yourself. |
| <a id="credential_in_url"></a>`credential_in_url` | 400 | no | The URL carried a credential (`token`, `api_key`, `access_token` …) as a query parameter. Keys and tokens are never accepted in a URL. | Send it in a header. Remove it from the URL and send `Authorization: Bearer <key or token>` instead. Revoke the key at /apikeys if the URL was shared or logged. |
| <a id="dry_run_unsupported"></a>`dry_run_unsupported` | 400 | no | This write reaches an outside service a dry run cannot stand in for. | Check and run for real. Check arguments with get_tool_schema, confirm with the person, then drop dryRun. |
| <a id="input_not_allowed"></a>`input_not_allowed` | 400 | no | A field the caller may not set on this call: a flag's customer line from a member, or an order detail the customer did not write in their own message. | Leave the field out. Leave out the field `param` names, or pass only what the customer wrote. |
| <a id="invalid_addon"></a>`invalid_addon` | 400 | no | An add on offer has a description, button text or price out of range; `param` names it. | Fix the offer. Correct the field in `param` as `message` says. |
| <a id="invalid_arguments"></a>`invalid_arguments` | 400 | no | A tool call's arguments do not match its input schema; `param` names the argument and `details.allowed` lists the values it takes. | Fix the arguments. Correct the argument named in `param` (get_tool_schema shows the tool's arguments) and call again. Nothing was run. |
| <a id="invalid_cursor"></a>`invalid_cursor` | 400 | no | The `cursor` was not issued by this list, or was issued for different filters, order or search. | Start from page one. Pass `nextCursor` unchanged with the exact query that returned it, or drop `cursor` to start from the first page. |
| <a id="invalid_filter"></a>`invalid_filter` | 400 | no | A `filter` is not `field:operator:value`, or names a field, operator or value this list does not take. | Fix the filter. Use a field and operator from the operation's `x-otobiz-filters`, e.g. `filter=status:eq:open`; repeat `filter` to combine. |
| <a id="invalid_id"></a>`invalid_id` | 400 | no | Wrong id kind: `details.expected` is the kind wanted, `details.got` was sent. | Use the id as shown. Send the id as the API printed it (`<prefix>_...`). |
| <a id="invalid_include"></a>`invalid_include` | 400 | no | An `include` word is not one this read takes, asks for more than one level, or `include` has more than 5 words; `details.allowed` lists the words it takes. | Fix the include. Send at most 5 words from `details.allowed`, comma separated, e.g. `include=contact`. |
| <a id="invalid_link"></a>`invalid_link` | 400 | no | A Words and links field is refused; `param` names it (keyword, url, note, postIds, connectionId, matchMode) and the message says why. | Correct the field. Correct the field `param` names and send again. |
| <a id="invalid_param"></a>`invalid_param` | 400 | no | A field this request or this kind of item does not take; `param` names it. | Leave the field out. Send it without the field `param` names, or for an item that takes it. |
| <a id="invalid_post_group"></a>`invalid_post_group` | 400 | no | A saved post group field is refused; `param` names it and the message says why. | Correct the field. Correct that field and send again. |
| <a id="invalid_range"></a>`invalid_range` | 400 | no | The `from` and `to` dates are not valid together (one is missing, the end is before the start, or the span is too long; 422 on bookings). | Fix the dates. Send both, with `from` before `to`, inside the span `message` names. |
| <a id="invalid_runs_on"></a>`invalid_runs_on` | 400 | no | `runsOn` names no channel, too many connections, or a channel this start cannot run on; `param` names it. | Pick again (call `update_automation`). Pick connections from list_connections, or `every` on a channel the start can run on. |
| <a id="invalid_ttl"></a>`invalid_ttl` | 400 | no | The template's message lifetime is outside what its category allows; `message` gives the range. | Fix the lifetime. Send `messageSendTtlSeconds` inside the range, or leave it out. |
| <a id="invalid_url"></a>`invalid_url` | 400 | no | The URL is not a valid public http(s) address (a private, link-local or internal host is refused). | Enter a public address. Send the address of a public website. |
| <a id="locations_need_one_brand"></a>`locations_need_one_brand` | 400 | no | `locationIds` were sent with no brand, several brands, or the Billing manager; `param` is `locationIds`. | Pick one brand. Name exactly one brand with the locations, or send no locations. |
| <a id="model_reasoning_mismatch"></a>`model_reasoning_mismatch` | 400 | no | The model and its reasoning level do not fit together. | Send both together. Send both at once: the model key with `{ value, reasoning }`. |
| <a id="no_member"></a>`no_member` | 400 | no | A saved view belongs to a person, and an API key is not one. | Sign in. Save the view from a person's sign-in. |
| <a id="no_payment_method"></a>`no_payment_method` | 400 | no | This change would leave Place orders in Otobiz on with neither cash on delivery nor online payment on, so customers could not pay. | Add a payment method. Turn on codEnabled or onlinePaymentEnabled, or set ordersInChatEnabled false. |
| <a id="not_a_website"></a>`not_a_website` | 400 | no | The link is not a web page the knowledge base can read (a file, a login page, or not HTML). | Use a page link. Send a public web page address, or upload the file instead. |
| <a id="output_too_large"></a>`output_too_large` | 400 | no | A run_script result is over the output size limit. | Return less. Return less: filter, count or aggregate in the script. |
| <a id="plan_unavailable"></a>`plan_unavailable` | 400 | no | The plan sent is not a plan on offer. | Pick another plan (call `list_billing_plans`). Use a planId and interval, or a catalogKey, from list_billing_plans. |
| <a id="platform_not_supported"></a>`platform_not_supported` | 400 | no | The channel cannot do this action. | Use another channel. Use a channel that supports it. |
| <a id="refund_policy_too_long"></a>`refund_policy_too_long` | 400 | no | The refund policy is longer than allowed; `message` gives the limit. | Shorten it. Shorten the refund policy. |
| <a id="refund_window_invalid"></a>`refund_window_invalid` | 400 | no | The refund window is not a whole number of days in the allowed range; `message` gives it. | Fix the days. Send a whole number of days inside the range. |
| <a id="reschedule_not_allowed"></a>`reschedule_not_allowed` | 400 | no | The booking is too close to its start to be moved. | Keep or cancel it. Keep the time, or cancel the booking. |
| <a id="script_error"></a>`script_error` | 400 | no | A run_script script threw, never settled, or could not run; the message carries the script's own error. | Fix the script. Fix the script; read what any listed writes changed, then rerun. |
| <a id="slot_passed"></a>`slot_passed` | 400 | no | The time asked for has already started. | Pick a later time. Pick a time in the future. |
| <a id="statement_day_archived"></a>`statement_day_archived` | 400 | no | The `filter=day:eq:` day is over 3 months old; its actions are not listed. | See the day line (call `get_billing_statement`). Read its total from `days` (get_billing_statement_report with no day filter). |
| <a id="target_required"></a>`target_required` | 400 | no | `pass` needs a target. | Name a target. Send `to: { holder: "agent" }`, or `to: { holder: "human", ref: <userId from list_users> }`. |
| <a id="time_passed"></a>`time_passed` | 400 | no | The new time has already passed. | Pick a later time. Pick a time in the future. |
| <a id="too_many_ids"></a>`too_many_ids` | 400 | no | The request names more records than one call takes; `message` says the most. | Send fewer. Send the ids in smaller calls, or export by filter. |
| <a id="unknown_parameter"></a>`unknown_parameter` | 400 | no | The request carried a field or query parameter this route does not accept. | Remove the field. Remove or rename the field `param` names. Unknown fields are never ignored. |
| <a id="us_marketing_template"></a>`us_marketing_template` | 400 | no | Meta refuses marketing templates to US (+1) WhatsApp numbers; nothing went out. | Use a utility template. Send a utility template here, or the marketing template outside the US. |
| <a id="identify_rejected"></a>`identify_rejected` | 401 | no | The website's visitor identity token was refused (wrong secret, expired or missing user id); the brand's Logs say why. | Fix the token. Fix the identity token on the website. |
| <a id="invalid_session"></a>`invalid_session` | 401 | no | The Shopify app session could not be verified. | Open the app again. Reload the Otobiz app inside Shopify. |
| <a id="not_on_brand"></a>`not_on_brand` | 401 | no | A signed-in person named a brand they are not on (taken off it, or one that does not exist: both answer alike). | Pick a brand. Pick one of your brands (list_brands); ask an owner or admin of that brand to add you. |
| <a id="session_expired"></a>`session_expired` | 401 | no | The chat session ended. | Reload the chat. Reload the chat to continue. |
| <a id="sign_in_again"></a>`sign_in_again` | 401 | no | This action needs a recent sign-in, for safety. | Sign in again. Sign out and sign in again, then repeat it. |
| <a id="unauthorized"></a>`unauthorized` | 401 | no | No valid API key or sign-in came with the request, or it is revoked or expired. OAuth tokens work on /api/v1/mcp only. | Sign in again. Send `Authorization: Bearer otbz_…` with a live key from /apikeys. |
| <a id="channel_limit"></a>`channel_limit` | 402 | no | The plan's channels are all in use. | Upgrade. Disconnect a channel, or upgrade to `details.fix.planName`. |
| <a id="data_source_over_limit"></a>`data_source_over_limit` | 402 | no | A research run would spend more than one request may; `details.limit` is `per_request` (the source alone costs more) or `request_spent` (the share is used). | Raise the limit. Pick a cheaper source (list_research_sources), or ask the owner to raise it. |
| <a id="no_plan"></a>`no_plan` | 402 | no | The brand has no plan (none bought, or it ended): nothing sends and no AI runs. Incoming messages still arrive; automatic sends wait. | Choose a plan. Buy `details.fix.planName` (or any plan) at `details.paymentUrl`. |
| <a id="not_in_plan"></a>`not_in_plan` | 402 | no | The brand's plan does not include this; `details.fix.planName` or `details.upgradeTo` names a plan that does. | Upgrade. Upgrade to `details.fix.planName` at `details.paymentUrl`. |
| <a id="payment_failed"></a>`payment_failed` | 402 | no | The plan's payment failed (`details.fix.kind: update_card`), or the balance is on hold while a payment is checked (`contact_us`). | Update the card. Update the card at `details.paymentUrl`, or contact support while the balance is on hold. |
| <a id="payment_required"></a>`payment_required` | 402 | no | A payment is needed before this action. | Pay. Complete payment at `details.paymentUrl`. |
| <a id="plan_limit_brands"></a>`plan_limit_brands` | 402 | no | The plan's brand limit is reached; a deleted brand's plan stays for the next. | Upgrade. Resend create_brand with `planId` and `interval`: the brand is held. |
| <a id="plan_limit_channels"></a>`plan_limit_channels` | 402 | no | The plan's channel limit is reached; `details.upgradeTo` names a plan that allows more. | Upgrade. Upgrade at `details.paymentUrl` or disconnect a channel. |
| <a id="plan_limit_locations"></a>`plan_limit_locations` | 402 | no | The plan's location limit is reached. | Upgrade. Upgrade at `details.paymentUrl`. |
| <a id="plan_limit_messages"></a>`plan_limit_messages` | 402 | no | This action cannot be paid; `details.reason` says why: `no_plan`, `insufficient`, `wallet_frozen` or `spend_limit`. Incoming messages still arrive. | Fix billing. Follow `details.reason`: pick a plan, add money, or raise the limit. |
| <a id="plan_limit_storage"></a>`plan_limit_storage` | 402 | no | The plan's media storage is used; `details.limit` and `details.current` are in MB. | Upgrade. Delete unused media, or upgrade at `details.paymentUrl`. |
| <a id="plan_limit_team"></a>`plan_limit_team` | 402 | no | The plan's team-size limit is reached. | Upgrade. Upgrade at `details.paymentUrl` or remove a member. |
| <a id="plan_required"></a>`plan_required` | 402 | no | The brand has no active plan, so this action is paused. | Choose a plan. Open `details.paymentUrl` and choose a plan. |
| <a id="spend_limit"></a>`spend_limit` | 402 | no | The monthly spending limit (set with auto top-up) is reached: paid actions wait until `details.fix.until`. Included usage and incoming messages continue. | Raise the limit. Raise the limit (update_billing_settings `autoRecharge`), or wait for the reset. |
| <a id="usage_empty"></a>`usage_empty` | 402 | no | Included usage and the balance are used, so paid actions pause. `details.fix.kind` says why: `upgrade`, `add_money` or `wait` (until `details.fix.until`). | Add money. Follow `details.fix`: upgrade, add money, or raise the location's limit. |
| <a id="ai_apps_off"></a>`ai_apps_off` | 403 | no | AI apps are turned off for this brand, so every MCP call is refused. | Turn them on. Ask an owner or admin to turn AI apps on. |
| <a id="assistant_not_allowed"></a>`assistant_not_allowed` | 403 | no | An AI assistant (an MCP tool call or an Otobiz sign-in) may not do this at all. One-time passcodes are sent by a connection over REST only. | Do it yourself. Send it from your own system over REST with an API key. |
| <a id="billing_change_down"></a>`billing_change_down` | 403 | no | A key or AI app moves a plan up only; a lower plan is person_required. | Sign in. Send the owner to Billing to move down. |
| <a id="billing_identity_blocked"></a>`billing_identity_blocked` | 403 | no | This account cannot start a plan right now. | Contact support. Contact Otobiz support. |
| <a id="billing_not_account_owner"></a>`billing_not_account_owner` | 403 | no | Only the person who pays for the brand's plan may open its billing, change it or cancel it. | Ask the payer. Ask the person who pays for the plan to do this. |
| <a id="bot_check_failed"></a>`bot_check_failed` | 403 | no | The visitor did not pass the bot check (503 when the check could not run). | Reload the chat. Reload the chat and try again. |
| <a id="brand_wide_only"></a>`brand_wide_only` | 403 | no | This read sums the whole brand; the caller is limited to some locations. | Ask an admin. Use a brand-wide key or sign-in, or the per-record lists. |
| <a id="captcha_failed"></a>`captcha_failed` | 403 | now | The form's human check was missing, failed or could not be checked. | Do the check again. Complete the check on the page and send the form again. |
| <a id="demo_brand"></a>`demo_brand` | 403 | no | A demo brand triggers no real action: it cannot add a webhook, buy a plan or top up, or run outside calls. | Use a real brand. Use a brand of your own; the demo never acts. |
| <a id="forbidden"></a>`forbidden` | 403 | no | The caller's role or scopes do not allow this; `details.requiredScope` names it. | Ask an admin. Ask an owner or admin for a key whose role can. |
| <a id="frame_only"></a>`frame_only` | 403 | no | This endpoint answers only the website chat widget. | Use the widget. Call it from the widget, not another site. |
| <a id="identity_required"></a>`identity_required` | 403 | no | The account must verify its identity before this action. | Verify. Complete verification in the Otobiz app. |
| <a id="insufficient_permissions"></a>`insufficient_permissions` | 403 | no | This credential may not make this call; `details.cappedBy` says what capped it. `secret`: an AI app never sends or reads a secret field, named in `param`. | Open Otobiz. Give the person a secure link (create_connect_session) to do it. |
| <a id="insufficient_scope"></a>`insufficient_scope` | 403 | no | The key or sign-in lacks the access in `details.requiredScope`. | Add the access. Reconnect the AI app and allow the scope, or ask an owner. |
| <a id="location_forbidden"></a>`location_forbidden` | 403 | no | A chat or contact is being placed on a location this caller may not place it on (a location the request names outside theirs is 404 not_found). | Use your own location. Act on a location the key or member may reach. |
| <a id="look_only"></a>`look_only` | 403 | no | This sign-in can only look, so it cannot change anything. | Sign in with more access. Sign in again from the AI app and choose Look and act. |
| <a id="no_access"></a>`no_access` | 403 | no | The gift code does not match, or the gift was already used. | Check the code. Check the gift link and code. |
| <a id="no_sends"></a>`no_sends` | 403 | no | The person chose No sends at sign-in, so this AI app cannot reach people, put anything live or move money. | Send it yourself. Draft it for the person, or sign in with Look and act. |
| <a id="other_person"></a>`other_person` | 403 | no | This secure link was made for someone else. | Ask for a new link. Start again from your own AI app. |
| <a id="owner_seat"></a>`owner_seat` | 403 | no | Only the brand's owner may change the owner's seat or owner assignments. | Ask the owner. Ask the owner to make this change. |
| <a id="person_required"></a>`person_required` | 403 | no | Only a signed-in person does this; a key or AI app cannot. | Sign in. Ask the person to do it in Otobiz. |
| <a id="preview_not_allowed"></a>`preview_not_allowed` | 403 | no | A free test reply is not available here. | Use a live chat. Send a normal reply. |
| <a id="reach_too_wide"></a>`reach_too_wide` | 403 | no | A key asked for all brands without an owner or admin role, a brand where its maker may not make one, or too many brands; `param` is `brands`. | Pick fewer brands. Make the key for this brand, or where you are admin. |
| <a id="role_read_only"></a>`role_read_only` | 403 | no | The person behind this sign-in holds the viewer role in the brand. | Ask an admin. Ask an owner or admin to change your role, or only read. |
| <a id="workspace_only"></a>`workspace_only` | 403 | no | The workspace's top-up rule is set by its owner or an admin or Billing manager of every brand. | Ask the owner. Ask the workspace's owner or an admin of every brand. |
| <a id="billing_no_account"></a>`billing_no_account` | 404 | no | No billing account yet; a first payment can take a minute to be recorded. | Choose a plan. Choose a plan first, or try again a minute after paying. |
| <a id="billing_offer_unavailable"></a>`billing_offer_unavailable` | 404 | no | That custom offer is no longer available. | Ask for a new offer. Ask Otobiz for a new offer, or choose a plan from list_billing_plans. |
| <a id="billing_unknown_plan"></a>`billing_unknown_plan` | 404 | no | That plan is not one this brand can choose (an unknown id, or a plan not offered to it). | Pick another plan (call `list_billing_plans`). Use a plan id from list_billing_plans. |
| <a id="brand_not_found"></a>`brand_not_found` | 404 | no | The brand named by `brandId` is not one of the person's (or, for an API key, not one the key reaches). | Pick a brand. Use a brand id from get_current_brand `brands`, or for a key one from the `candidates` of its 409 brand_required. A key that reaches one brand omits brandId. |
| <a id="client_link_invalid"></a>`client_link_invalid` | 404 | no | The client connect link is unknown, used up or expired. | Ask for a new link. Ask the business that sent it for a new link. |
| <a id="draft_not_found"></a>`draft_not_found` | 404 | no | The mailbox draft was sent or deleted in the mail app. | Pick another draft (call `list_email_drafts`). List the mailbox's drafts and pick one that is still there. |
| <a id="not_configured"></a>`not_configured` | 404 | no | The Shopify app is not available right now. | Try again later. Try again later, or contact Otobiz support. |
| <a id="not_found"></a>`not_found` | 404 | no | The resource does not exist or belongs to another brand (the two are never told apart). | Check the id. Check the id. |
| <a id="unknown_preset"></a>`unknown_preset` | 404 | no | The MCP connection URL names a preset that does not exist (a toolset or directory); `details.allowed` lists the valid values. | Use a listed value. Use one of `details.allowed` in the URL, or connect to the bare address. |
| <a id="unknown_tool"></a>`unknown_tool` | 404 | no | No tool by that name exists on this connection (or the toolsets / tools / read-only filter on it leaves it out); `details.didYouMean` names a close match. | Search for the tool. Find the tool with search_tools, then call it by its exact name. |
| <a id="account_in_use"></a>`account_in_use` | 409 | no | Another connected account already uses that page, board or location. | Pick another. Pick another one, or reconnect this account. |
| <a id="ad_account_cannot_pay"></a>`ad_account_cannot_pay` | 409 | no | The Meta ad account has no payment method. | Add one in Meta. Add one in Meta's Billing and payments, then try again. |
| <a id="ad_account_not_selected"></a>`ad_account_not_selected` | 409 | no | The ad account is not selected on the connection, so the network refuses writes to it. | Choose it. Add the ad account on the Connections page, then confirm again. |
| <a id="already_connected"></a>`already_connected` | 409 | no | This connection is already connected for the brand. | See it. Use the connected one, or disconnect it first (disconnect_connection). |
| <a id="already_invited"></a>`already_invited` | 409 | no | The email has an open invitation you may not replace: its sender or the workspace's owner deletes it first. | Ask the sender (call `list_invitations`). Ask the sender or the workspace's owner to delete the open invitation (delete_invitation), then invite again. |
| <a id="already_member"></a>`already_member` | 409 | no | The address is already on the brand's team. | See the team. Nothing to invite; change their roles in the Otobiz app if needed. |
| <a id="already_owner"></a>`already_owner` | 409 | no | That member is already an owner. | See the team. Nothing to transfer; pick another member. |
| <a id="ambiguous_channel"></a>`ambiguous_channel` | 409 | no | The brand has several connections on a channel named by name; `details.candidates` lists them. | Pick a connection (call `list_connections`). Ask the user which connection, then pass its `connectionId` instead of the channel name. |
| <a id="automation_template_limit"></a>`automation_template_limit` | 409 | no | The brand already keeps the most saved templates one brand may, so this one was not saved. | Delete an old template (call `delete_automation_template`). Delete a saved template you no longer use (delete_automation_template), then save again. |
| <a id="billing_already_subscribed"></a>`billing_already_subscribed` | 409 | no | A live plan already covers the brand; a new checkout would charge twice. | Change the plan. Give the owner `details.paymentUrl`: they change the plan on that page. |
| <a id="billing_change_not_supported"></a>`billing_change_not_supported` | 409 | no | This plan cannot be changed or cancelled here: Otobiz manages it directly, or its checkout is still processing. | Contact support. Wait a few minutes after a payment, then contact Otobiz billing. |
| <a id="billing_checkout_in_progress"></a>`billing_checkout_in_progress` | 409 | wait | Another checkout is being opened for this brand at this moment. | Try again shortly. Try again in a moment. |
| <a id="billing_code_not_for_plan"></a>`billing_code_not_for_plan` | 409 | no | The discount code does not cover this plan, term or region; nothing was charged. `message` names the plans it covers when known. | Pick another code. Pick a plan the code covers, or check out without it. |
| <a id="billing_code_refused"></a>`billing_code_refused` | 409 | no | The discount code may not be used by this person or brand (our own checks, the same as applying it); no checkout was opened and nothing was charged. | Pick another code. Start the checkout without the code. |
| <a id="billing_code_unavailable"></a>`billing_code_unavailable` | 409 | no | The discount code has ended or its uses are spent; no checkout was opened and nothing was charged. | Pick another code. Start the checkout without the code. |
| <a id="billing_custom_plan"></a>`billing_custom_plan` | 409 | no | The brand is on a custom plan, which is bought and changed with Otobiz directly. | Contact support. Contact Otobiz billing to change it. |
| <a id="billing_identity_review"></a>`billing_identity_review` | 409 | no | A few details must be checked by the Otobiz team before this plan can start; no checkout was opened. | Wait for the check. Contact Otobiz support. |
| <a id="billing_mandate_exists"></a>`billing_mandate_exists` | 409 | no | A card for automatic top up is already saved. | See your card. Nothing to do; read it with get_billing_settings `mandate`. |
| <a id="billing_manual_account"></a>`billing_manual_account` | 409 | no | The brand is billed by invoice, so there is no card billing to open. | Contact support. Contact Otobiz billing. |
| <a id="billing_offer_invoiced"></a>`billing_offer_invoiced` | 409 | no | That custom offer is paid by invoice, not through checkout. | Contact support. Contact Otobiz billing for the invoice. |
| <a id="billing_owner_not_found"></a>`billing_owner_not_found` | 409 | no | The brand has no owner with an email, so no checkout can be opened and no code claimed for it. | Add an owner email. Give the brand an owner with an email first. |
| <a id="billing_purchase_closed"></a>`billing_purchase_closed` | 409 | no | That top up was reversed or is held for review, so it takes no more payments. | Start a new top up. Start a new top up with a new idempotency key. |
| <a id="billing_purchase_done"></a>`billing_purchase_done` | 409 | no | That top up was already paid and the money is in the balance. | See your balance. Nothing to do; start a new top up for more. |
| <a id="billing_retired_rail"></a>`billing_retired_rail` | 409 | no | The subscription runs on an older payment setup that cannot be changed here. | Contact support. Contact Otobiz billing. |
| <a id="billing_same_plan"></a>`billing_same_plan` | 409 | no | The brand is already on this plan. | See your plan. Nothing to change; pick a different plan to switch. |
| <a id="billing_setup_incomplete"></a>`billing_setup_incomplete` | 409 | no | Billing setup must be finished before this action. | Finish setup (call `get_billing`). Finish billing setup in the Otobiz app. |
| <a id="brand_out_of_reach"></a>`brand_out_of_reach` | 409 | no | The endpoint no longer reaches the business this delivery came from, or the person who made it no longer runs that business. | Add the business (call `update_webhook`). Add the business to `brands` on the endpoint, then replay the delivery. |
| <a id="brand_required"></a>`brand_required` | 409 | no | The operation acts on a brand and this sign-in or key has none chosen for the call. `details.candidates` lists the brands it may name. | Pick a brand (call `get_current_brand`). Pass `brandId` (the `X-Otobiz-Brand` header on REST) or use create_brand. |
| <a id="catalog_not_bound"></a>`catalog_not_bound` | 409 | no | The WhatsApp number has no product catalog linked to it. | Link a catalog. Link a catalog in Otobiz (Commerce → Catalog), then try again. |
| <a id="change_not_staged"></a>`change_not_staged` | 409 | no | The change is no longer staged: it was confirmed or failed. | Stage a new one (call `get_ad_change`). Read it (get_ad_change); stage a new change for another write. |
| <a id="change_outcome_unknown"></a>`change_outcome_unknown` | 409 | check first | A confirm is running, or one started and never reported its end. | Check the ad (call `get_ad_change`). Read the change and the ad in Meta Ads Manager before staging another. |
| <a id="change_partly_applied"></a>`change_partly_applied` | 409 | check first | A write on a list was sent and some items failed. The change ends failed, and `details` holds the result of each item. | Check the ads (call `get_ad_change`). Read `details`, check the ads in Meta Ads Manager, then stage a new change for what is left. |
| <a id="change_target_changed"></a>`change_target_changed` | 409 | no | The ad changed on the network since staging; nothing was written. `details.current` holds its current values. | Refresh the change (call `update_ad_change`). Refresh the change (update_ad_change with no body) and confirm again, or discard it. |
| <a id="channel_not_connected"></a>`channel_not_connected` | 409 | no | The brand has no account connected on the channel this action needs; `details.channel` names it. | Connect it (call `create_connect_session`). Connect the channel (create_connect_session, or `details.connectUrl` on the key lane), then retry. |
| <a id="channel_paused"></a>`channel_paused` | 409 | wait | Sending on this channel is paused for now, by the Otobiz team or the brand. Messages still arrive. | Try again later. Try again when the channel runs again. Scheduled posts wait. |
| <a id="conflict"></a>`conflict` | 409 | no | The change collides with existing state; `details.conflict` says how: `duplicate`, `wrong_state` or `stale` (it changed since you read it). | Read it again. Duplicate: use the existing record. Wrong state: fix it first. Stale: reread. |
| <a id="connect_failed"></a>`connect_failed` | 409 | no | The client pressed a connect link that could not start (the plan, the channel or the platform refused); the business reads why on its Waiting row. | Ask for a new link. Ask the business for a new link. |
| <a id="connect_open"></a>`connect_open` | 409 | wait | The caller's own sign-in for this platform is finishing right now; a teammate's never holds it. `details.waitS` says when to try again. | Try again (call `get_connect_session`). Try again after `details.waitS` seconds. |
| <a id="connection_claimed"></a>`connection_claimed` | 409 | no | That account is already connected to another brand. | Use another account. Disconnect it in the other brand first, then connect it here (create_connect_session). |
| <a id="connection_disabled"></a>`connection_disabled` | 409 | no | The connection is disabled. | Switch it on. Re-enable the connection in the Otobiz app. |
| <a id="contact_exists"></a>`contact_exists` | 409 | no | This person is already a contact (`details.conflict: duplicate`); `details.contactId` names them when they are in your locations. | Open the contact (call `get_contact`). Change them with update_contact, or send `ifExists: "update"`. A contact outside your locations cannot be changed with this key. |
| <a id="control_changed"></a>`control_changed` | 409 | now | Who handles this conversation changed while the request ran; nothing changed. | Read it again. Read the conversation again, then repeat the request if it still applies. |
| <a id="conversion_not_sent"></a>`conversion_not_sent` | 409 | no | The conversion never reached the ad network, so it has nothing to correct. | Leave it. Correct only a conversion whose status is sent. |
| <a id="conversion_not_stored"></a>`conversion_not_stored` | 409 | no | The network has no record of the conversion any more, so it cannot be changed. | Leave it. Nothing to correct; report a new sale if needed. |
| <a id="conversion_retracted"></a>`conversion_retracted` | 409 | no | The conversion was retracted; a retracted one is not restated. | Report the sale again (call `create_ad_conversion`). Report the sale again with create_ad_conversion. |
| <a id="currency_changed"></a>`currency_changed` | 409 | no | The service is priced in an older currency than the one the brand now sells in. | Reprice it. Send the service's prices again in the new currency. |
| <a id="delete_begun"></a>`delete_begun` | 409 | no | The brand has no standing delete request to withdraw: it was never asked, was already cancelled, or its delete has begun. | Close. Nothing to retry. Check list_brands to see if it still exists. |
| <a id="different_account"></a>`different_account` | 409 | no | The sign-in was another account than this connection holds; nothing changed. | Sign in again. Use the held account, or connect the new one via create_connect_session. |
| <a id="draft_pending"></a>`draft_pending` | 409 | no | Its draft has unpublished changes, which a live change would publish too. | Open the draft (call `publish_automation`). Publish or discard the draft, then repeat the request. |
| <a id="dry_run_inconclusive"></a>`dry_run_inconclusive` | 409 | no | The dry run stopped at a step that would record something or lacked its check. | Check and run for real. Check arguments with get_tool_schema, confirm with the person, drop dryRun. |
| <a id="duplicate_content"></a>`duplicate_content` | 409 | no | The platform already has a post with this content. | Change the post. Change the content, then post again. |
| <a id="email_required"></a>`email_required` | 409 | no | The account has no email, so the request cannot be sent. | Add an email. Add an email to the account first. |
| <a id="email_unverified"></a>`email_unverified` | 409 | no | The account's email is not verified (for an approval: the requester's email is not verified now). | Verify the email. Verify the email, then ask again. |
| <a id="endpoint_paused"></a>`endpoint_paused` | 409 | no | The webhook endpoint is paused. | Resume it (call `update_webhook`). Resume the endpoint before testing or rerunning. |
| <a id="event_disabled"></a>`event_disabled` | 409 | no | The webhook event is disabled for this endpoint. | Switch it on. Enable the event on the endpoint. |
| <a id="expired"></a>`expired` | 409 | no | The connect session expired before it finished; nothing was connected. | Start again (call `create_connect_session`). Start again with create_connect_session and finish within the time it gives. |
| <a id="external_id_taken"></a>`external_id_taken` | 409 | no | Another business in the workspace already holds this `externalId`; `details` names it. | Use another id. Pick a client id no other business in the workspace uses. |
| <a id="field_exists"></a>`field_exists` | 409 | no | The `key` is taken by a live or an archived custom field (`details.conflict: duplicate`); `details.fieldId` names it. | Use the field (call `get_custom_field`). Use that field, restore it if archived, or send another key. |
| <a id="finishing"></a>`finishing` | 409 | wait | The client is in the middle of signing in through the link, so it cannot be changed now. | Look again soon (call `list_connections`). Read the connection again in a minute. |
| <a id="first_contact_not_allowed"></a>`first_contact_not_allowed` | 409 | no | This platform lets a business message someone only after they write first (Otobiz never opens a cold conversation. E-C1, DE-23). | Wait for them. Wait for the person to write first. Never retry the same send. |
| <a id="group_disabled"></a>`group_disabled` | 409 | no | The webhook event group is disabled for this endpoint. | Switch it on. Enable the group on the endpoint. |
| <a id="idempotency_conflict"></a>`idempotency_conflict` | 409 | wait | A request with this Idempotency-Key is still in flight. | Wait and retry. Wait for `Retry-After`, then retry with the SAME key. |
| <a id="identity_held"></a>`identity_held` | 409 | no | Another contact already holds this phone or email; `details` names that contact. | Open the contact (call `merge_contacts`). Use that contact, or merge the two first. |
| <a id="instagram_hashtag_search_limit_reached"></a>`instagram_hashtag_search_limit_reached` | 409 | no | Meta lets one Instagram account search at most 30 unique hashtags in a rolling 7 days, and this one has. | Search a used hashtag. Search a hashtag it already searched, or use another account. |
| <a id="instagram_hashtag_search_requires_facebook_login"></a>`instagram_hashtag_search_requires_facebook_login` | 409 | no | Meta serves hashtag search only to an Instagram account connected through Facebook Login; this one was connected with Instagram Login. | Reconnect (call `create_connect_session`). Reconnect the account, choosing Facebook, then search again. |
| <a id="invalid_resource_state"></a>`invalid_resource_state` | 409 | check first | A change kept as its request cannot be edited, and only a failed edit can be staged again. On a confirm: the change was edited while the confirm started, nothing was sent and it is still staged. | Read it again (call `get_ad_change`). Read the change (get_ad_change). After a confirm that raced an edit, confirm again; otherwise discard it and stage the write again. |
| <a id="kind_mismatch"></a>`kind_mismatch` | 409 | no | The `kind` sent does not match the account; `message` names the right one. | Use the right kind. Send the `kind` named in `message`. |
| <a id="last_owner"></a>`last_owner` | 409 | no | The change would leave the brand with no owner. | Add another owner. Keep `owner` in this member's roles. A brand always keeps an owner. |
| <a id="lead_not_written"></a>`lead_not_written` | 409 | now | The lead's reference clashed with another lead twice, so nothing was written. | Try again. Send the request again; a fresh reference is drawn each time. |
| <a id="leads_off"></a>`leads_off` | 409 | no | Find leads is off for this brand, so its history cannot be scanned. | Turn it on. The brand's owner turns on Find leads in the Otobiz app (AI, How it replies, Background AI), then scan. |
| <a id="limit_reached"></a>`limit_reached` | 409 | no | A limit on this brand that no plan change lifts is reached. | Remove something unused. Remove something unused (a member, an invitation, an account), or contact support. |
| <a id="link_replaced"></a>`link_replaced` | 409 | no | The account was connected again since this undo link was sent, so the link no longer applies. | Check the account. Disconnect the account from Connections if that is still wanted. |
| <a id="location_disabled"></a>`location_disabled` | 409 | no | The location is disabled. | Switch it on. Use an active location. |
| <a id="needs_payment"></a>`needs_payment` | 409 | no | The service has a price, and a paid booking is made by the customer through the store. | Send the booking link. Send the customer the booking link, or make the service free. |
| <a id="no_bot"></a>`no_bot` | 409 | no | The brand has no Telegram bot of its own connected. | Connect a bot (call `create_connect_session`). Connect a Telegram bot first (create_connect_session). |
| <a id="no_consent"></a>`no_consent` | 409 | no | The person has no live consent for this kind of message on this channel. | Ask for consent. Do not message them until they opt in. |
| <a id="no_earlier_value"></a>`no_earlier_value` | 409 | no | No logged change of this setting has an earlier value to go back to. | Set the value. Set the value you want with PUT. |
| <a id="no_email"></a>`no_email` | 409 | no | The visitor has left no email, so a copy of the chat cannot be sent. | Ask for an email. Leave an email in the chat first. |
| <a id="no_holder"></a>`no_holder` | 409 | no | No other brand holds this account any more, so there is no one to ask for access. | Connect it yourself. Connect the account again (create_connect_session). |
| <a id="no_reply_address"></a>`no_reply_address` | 409 | no | The account has no email, so support could not reply. | Add an email. Add an email to the account, then send the request again. |
| <a id="no_schedule"></a>`no_schedule` | 409 | no | The service has no availability schedule. | Add a schedule. Give the service a schedule first. |
| <a id="no_series"></a>`no_series` | 409 | no | The service has no package, so only one time can be booked. | Book one time. Book one time, or set up a package on the service. |
| <a id="not_all_brands"></a>`not_all_brands` | 409 | no | Ownership passes only to a person who already reaches every brand of the workspace. | Invite them to all brands. Invite them to all brands, then transfer ownership. |
| <a id="not_bookable"></a>`not_bookable` | 409 | no | The service is archived, a draft, or gone, so it cannot be booked. | Pick another service. Pick a service that is open for booking. |
| <a id="not_completable"></a>`not_completable` | 409 | no | This cash on delivery order cannot be completed; `message` says why. | Read the message. Read the order (get_commerce_order) and act on its current status. |
| <a id="not_connected"></a>`not_connected` | 409 | no | The calendar named is not connected to the brand. | Connect it. Connect a Google or Outlook calendar in Connections first. |
| <a id="not_due"></a>`not_due` | 409 | no | The chat has no form to fill in right now. | Nothing to do. Nothing to send. |
| <a id="not_native"></a>`not_native` | 409 | no | This service takes bookings in another tool, not in Otobiz. | Book there. Book it in the tool it comes from. |
| <a id="not_retryable"></a>`not_retryable` | 409 | no | The store did not refuse this order, so there is nothing to send again. | See the order. Read the order (get_commerce_order) for its status. |
| <a id="nothing_to_open"></a>`nothing_to_open` | 409 | no | The message request has no messages to open. | Refresh. Nothing to open; answer it in the platform's own app if needed. |
| <a id="nothing_to_retry"></a>`nothing_to_retry` | 409 | no | This Assistant chat has no failed answer to retry. | Ask again. Send a new message instead. |
| <a id="opted_out"></a>`opted_out` | 409 | no | The customer sent STOP and has not written since, so a reply to them waits. Automations, broadcasts and follow-ups stay stopped after STOP too. | Wait for them. Wait for the customer to write again, then reply. |
| <a id="owner_must_transfer"></a>`owner_must_transfer` | 409 | no | The owner cannot leave the brand while they are its owner. | Transfer ownership. Transfer ownership to another member first, then leave. |
| <a id="read_only"></a>`read_only` | 409 | no | This news item comes from the Otobiz changelog, so it changes only there. | Change it at the source. Change one of the brand's own items instead. |
| <a id="recharge_not_allowed"></a>`recharge_not_allowed` | 409 | no | Automatic top up is not offered on this brand's plan. | See your plan. Top up by hand (create_billing_checkout kind topup), or change plan. |
| <a id="reconnect_required"></a>`reconnect_required` | 409 | no | The connection's authorisation lapsed, or the channel this send needs is not connected; on the key lane `details.connectUrl` links to the Connections page. | Reconnect (call `create_connect_session`). Reconnect (or connect) the connection at `details.connectUrl`, then retry. |
| <a id="replied_elsewhere"></a>`replied_elsewhere` | 409 | no | The review's answer changed on the platform since it was read. | Read it again (call `get_inbox_review`). Read the review again, then decide. |
| <a id="reply_exists"></a>`reply_exists` | 409 | no | The review already has the brand's answer; the platform keeps one. | See the review. Send `replaces` with the exact text of the current answer to replace it, after the user agrees. |
| <a id="review_gone"></a>`review_gone` | 409 | no | The review no longer exists on the platform. | Refresh the list. Nothing to answer. |
| <a id="runs_on_empty"></a>`runs_on_empty` | 409 | no | The automation's `trigger.runsOn` covers no connection: its picked connections are gone, or the brand has no connection of its channels. | Pick a connection (call `update_automation`). Set `runsOn` with update_automation (a connection from list_connections, or `every` on a channel the brand has), then turn it on. |
| <a id="scan_done"></a>`scan_done` | 409 | no | The brand's last 30 days were already scanned (a brand scans once). | See the leads (call `list_leads`). New messages are checked as they arrive. Read the leads with list_leads. |
| <a id="scan_running"></a>`scan_running` | 409 | wait | The brand's 30-day leads scan is already running. | See its progress. Wait for it to finish; the Leads page shows its progress. |
| <a id="schedule_in_use"></a>`schedule_in_use` | 409 | no | A service still uses this schedule. | Move the service. Move the service to another schedule first, then delete it. |
| <a id="seller_account"></a>`seller_account` | 409 | no | The chat is with a seller's own Telegram account linked to the brand; only a team member replies there, as the seller, from the Inbox. | Reply from the Inbox. A team member replies from the Inbox; a key or automation cannot. |
| <a id="series_no_room"></a>`series_no_room` | 409 | no | There is no free time left for the rest of the package. | Pick a later time. Pick a later first time, or fewer times. |
| <a id="settings_unsupported"></a>`settings_unsupported` | 409 | no | This connected account has no settings to change here. | See the account. Change it on the platform itself. |
| <a id="slot_not_offered"></a>`slot_not_offered` | 409 | no | That time is not open any more. | Pick another time. Read the open times again and pick another. |
| <a id="slot_taken"></a>`slot_taken` | 409 | no | Someone else booked that time first. | Pick another time. Pick another open time. |
| <a id="state_changed"></a>`state_changed` | 409 | no | The booking is no longer in a state that allows this (already cancelled, approved or moved). | Read it again (call `get_booking`). Read the booking again (get_booking) and act on its status. |
| <a id="store_not_catalog_source"></a>`store_not_catalog_source` | 409 | no | That store is not the catalog source for this number. | Pick the store. Leave storeId out, or make that store the catalog source first. |
| <a id="store_not_connected"></a>`store_not_connected` | 409 | no | No connected store sells these products or can take orders. | Connect a store. Connect the store, or pick products a connected store sells. |
| <a id="store_owned"></a>`store_owned` | 409 | no | The connected store manages this order, so its status changes there. | Change it in the store. Change the order in the store; Otobiz follows it. |
| <a id="subscription_paused"></a>`subscription_paused` | 409 | no | The AI app's event subscription is paused after failed deliveries. | Subscribe again. Fix the app, then subscribe again. |
| <a id="suppressed"></a>`suppressed` | 409 | no | The person opted out of messages from this brand (STOP, a block, a bounce, or the suppression list). | Do not message. Do not message them. Only the person opting back in lifts it. |
| <a id="test_required"></a>`test_required` | 409 | no | A ready-made template's copy turns on only once tested or its test is skipped. | Test it. Resend activate_automation with `skipTest: true`, or test first (test_automation). |
| <a id="thread_limit"></a>`thread_limit` | 409 | no | The member has as many Assistant chats as one member may keep. | Delete an old chat. Delete an old chat, then start a new one. |
| <a id="timeout"></a>`timeout` | 409 | now | A run_script script ran past the wall-clock limit and was stopped. | Do less per run. Do less per run: filter, count or aggregate in the script. |
| <a id="tool_call_limit"></a>`tool_call_limit` | 409 | no | A run_script script made more tool calls than one run allows. | Do less per run. Fetch less per run: filter, page, or split the work. |
| <a id="upload_finished"></a>`upload_finished` | 409 | no | update_file `{ upload }` asked for the parts of an upload that is finished, failed or no longer held in storage. | Start a new upload (call `get_file`). Read it with get_file; if not ready, start again with create_file. |
| <a id="upload_incomplete"></a>`upload_incomplete` | 409 | now | Nothing has been uploaded to the upload URL yet. | Finish the upload (call `update_file`). PUT each part to its `upload.parts[].url` with its headers, then call update_file with status ready again. |
| <a id="upload_outdated"></a>`upload_outdated` | 409 | no | update_file `{ upload }` asked for the parts of an upload started as one whole file before uploads came in parts. | Start a new upload (call `create_file`). Start the upload again with create_file and send its parts. |
| <a id="version_conflict"></a>`version_conflict` | 409 | no | The item changed since it was read, so the change was not applied. | Read it again. Read it again and send the change with its current version. |
| <a id="wallet_frozen"></a>`wallet_frozen` | 409 | no | The balance is frozen after a payment dispute, a returned or refunded payment, or a lost chargeback, so money cannot be added. | Contact support. Contact Otobiz support. |
| <a id="wrong_state"></a>`wrong_state` | 409 | no | The item is not in a state this change works on (already settled, never published, or not set up for it); `message` says which. | Read it again. Read the item's current state, then make the change that state allows. |
| <a id="billing_offer_expired"></a>`billing_offer_expired` | 410 | no | That custom offer has expired. | Ask for a new offer. Ask Otobiz to refresh the offer. |
| <a id="link_expired"></a>`link_expired` | 410 | no | The link has expired. | Ask for a new link. Start again from where the link came from. |
| <a id="oauth_request_expired"></a>`oauth_request_expired` | 410 | no | The AI app's sign-in request expired before it was approved. | Start again. Start the sign-in again from the AI app. |
| <a id="draft_conflict"></a>`draft_conflict` | 412 | no | The mailbox draft changed since the `version` given; `details.draft` is the draft as it stands now. | Open the draft again (call `get_email_draft`). Read the current draft from `details.draft`, then repeat with its `version`. |
| <a id="platform_scope_missing"></a>`platform_scope_missing` | 412 | no | The connected platform account lacks a permission this action needs; `details.scope` names it. | Reconnect (call `create_connect_session`). Reconnect the connection in the Otobiz app and grant the permission. |
| <a id="payload_too_large"></a>`payload_too_large` | 413 | no | The request body, or the file it names, exceeds the size limit; `message` states the limit. | Send less. Send a smaller file (the limit is in `message`), or split a bulk request into smaller ones. |
| <a id="response_too_large"></a>`response_too_large` | 413 | no | The answer is too large to mask, so it was not sent. | Ask for less. Ask for a smaller page or a narrower filter. |
| <a id="file_type_not_supported"></a>`file_type_not_supported` | 415 | no | That type of file cannot be sent in the chat; `message` says why. | Send another file. Send a different type of file. |
| <a id="account_action_needed"></a>`account_action_needed` | 422 | no | The connected platform account needs something done on the platform before this works (a payment method, a verification, a setting). | See how to fix. Open the platform's help page named in `fix.url`, finish the step, then try again. |
| <a id="account_not_enabled"></a>`account_not_enabled` | 422 | no | The connected account is not enabled for posting on the platform. | See how to fix. Enable posting for the account on the platform, then post again. |
| <a id="account_not_found"></a>`account_not_found` | 422 | no | The platform does not know the connected account. | Reconnect (call `create_connect_session`). Reconnect the account, then post again. |
| <a id="account_restricted"></a>`account_restricted` | 422 | no | The platform stopped the account's posts after three failed with the same account error: a post due now is refused, a scheduled one is still taken. | See how to fix. Fix the account on the platform and reconnect, or schedule the post. |
| <a id="action_not_supported"></a>`action_not_supported` | 422 | no | The platform does not allow this action (a reply, hide, unhide or delete) on this comment. | Do it on the platform. Do not retry here; pick another action or comment. |
| <a id="audience_delete_refused"></a>`audience_delete_refused` | 422 | no | Meta refused to delete the audience; the record is kept. | Remove it in Meta. Remove it in Meta Ads Manager. |
| <a id="author_unknown"></a>`author_unknown` | 422 | no | A mention whose author is unknown: no opt-out check, so no reply or like. | Do it on the platform. Answer it on the platform, or try again later. |
| <a id="board_not_found"></a>`board_not_found` | 422 | no | That Pinterest board is not one of this account's boards. | Pick a board. Choose one of the account's boards. |
| <a id="bot_not_admin"></a>`bot_not_admin` | 422 | no | The bot is not an admin of the group. | Make it admin. Make the bot an admin who can invite and remove members. |
| <a id="broadcast_not_ready"></a>`broadcast_not_ready` | 422 | no | Not sendable as it is; `details.checks` lists the blocking checks. | Fix the checks (call `send_broadcast`). Fix each check (send_broadcast `dryRun: true` lists them), then send again. |
| <a id="capability_run_failed"></a>`capability_run_failed` | 422 | no | The capability ran and failed; `message` says why. | Read the message. Fix what `message` names and run it again. |
| <a id="chat_not_found"></a>`chat_not_found` | 422 | no | Telegram does not know that group, or the bot is not in it. | Add the bot. Add the bot to the group as an admin, then try again. |
| <a id="connection_required"></a>`connection_required` | 422 | no | The brand has more than one WhatsApp number, so the one to send from must be named. | Pick a number (call `list_connections`). Send `connectionId` with a number from list_connections. |
| <a id="contact_not_on_channel"></a>`contact_not_on_channel` | 422 | no | The contact has no address on the channel or account the request named. | Pick another channel (call `get_contact`). Read the contact's `reachability` (get_contact) and pick a channel it lists. |
| <a id="content_refused"></a>`content_refused` | 422 | no | The platform refused the content of the message or post (its length, media or wording). | Edit the message. Edit the content as the message says, then send again. |
| <a id="currency_mismatch"></a>`currency_mismatch` | 422 | no | The budget is in another currency than the ad account spends in. | Use its currency. Give the budget in the currency `message` names. |
| <a id="edit_refused"></a>`edit_refused` | 422 | no | The platform refused the edit under its own edit rules. | See the post. Change the post on the platform, or delete and post again. |
| <a id="idempotency_key_reused"></a>`idempotency_key_reused` | 422 | no | The Idempotency-Key was used before with a different request body. | Use a new key. Use a new key for a different request. |
| <a id="invalid_ask"></a>`invalid_ask` | 422 | no | The feedback question could not be used; `message` says why. | Rewrite it. Correct the ask and save again. |
| <a id="invalid_days"></a>`invalid_days` | 422 | no | Access days are out of range; `message` gives it. | Fix the days. Send a number of days in range, or null for until refunded. |
| <a id="invalid_event_properties"></a>`invalid_event_properties` | 422 | no | A property the brand declared for this event is missing or of the wrong type; `param` names it. | Fix the property. Send the property named in `param` with the declared type. |
| <a id="invalid_fallback"></a>`invalid_fallback` | 422 | no | The fallback member is not a member of this brand who can reply. | Pick a member (call `list_users`). Set `fallbackUserId` to a user id from list_users whose role can reply (owner, admin or member). |
| <a id="invalid_grace"></a>`invalid_grace` | 422 | no | Grace days are out of range; `message` gives it. | Fix the days. Send a number of days inside the range. |
| <a id="invalid_media"></a>`invalid_media` | 422 | no | A file named for the post is missing, not finished uploading, or not a type posts take. | Pick another file (call `create_file`). Upload it again (create_file, then update_file `ready`) and use the new id. |
| <a id="invalid_member"></a>`invalid_member` | 422 | no | A member named for routing is not a member of this brand, or cannot reply to conversations. | Pick a member (call `list_users`). Use user ids from list_users whose role can reply. |
| <a id="invalid_picture"></a>`invalid_picture` | 422 | no | The picture is not a PNG, JPEG or WebP uploaded to this brand. | Pick another picture. Upload the image first and send its id. |
| <a id="invalid_post"></a>`invalid_post` | 422 | no | The post breaks a platform's rules; `details.problems` lists each one, the first in `param`. | Edit the post. Fix each problem (get_connection include=capabilities), then retry. |
| <a id="invalid_request"></a>`invalid_request` | 422 | no | The connected platform refused a value in the request as invalid; `platformError` carries its reason. | Correct the value. Correct the value the reason names and send again. |
| <a id="invalid_schedule"></a>`invalid_schedule` | 422 | no | The schedule is not valid as sent; `message` lists each problem. | Fix the schedule. Fix each problem in `message` and save again. |
| <a id="invalid_service"></a>`invalid_service` | 422 | no | The service is not valid as sent; `message` lists each problem. | Fix the service. Fix each problem in `message` and save again. |
| <a id="invalid_settings"></a>`invalid_settings` | 422 | no | One or more settings are not valid; `message` lists them. | Fix the settings. Fix each one `message` names and save again. |
| <a id="invalid_target"></a>`invalid_target` | 422 | no | A named account is not connected, cannot publish, or is still connecting. | Pick another account (call `list_connections`). Pick an account from list_connections that is connected. |
| <a id="invalid_time"></a>`invalid_time` | 422 | no | The time is in the past, ends before it starts, or (for the attendee) is not the booking's length. | Pick another time. Pick a future time of the same length. |
| <a id="invalid_timezone"></a>`invalid_timezone` | 422 | no | The time zone is not an IANA time zone name. | Pick a time zone. Send an IANA tz name such as Asia/Kolkata or UTC. |
| <a id="location_not_found"></a>`location_not_found` | 422 | no | That Google Business Profile location is not one of this account's. | Pick a location. Choose one of the account's locations. |
| <a id="no_draft"></a>`no_draft` | 422 | no | Draft a reply wrote nothing the customer could read: there was no customer message for it to answer. | Name the message. Name the message to answer with `replyTo`, or say what to write with `instruction`. |
| <a id="no_time"></a>`no_time` | 422 | no | No new time was named, and the booking has no time requested. | Send a time. Send the new time. |
| <a id="no_times"></a>`no_times` | 422 | no | A custom reschedule offer needs at least one time. | Send a time. Send one or more times. |
| <a id="not_a_chat_ad"></a>`not_a_chat_ad` | 422 | no | Only a chat ad (Click to WhatsApp, Instagram DM or Messenger) is started, paused or budgeted here. | Change it in Meta. Change this ad in Meta Ads Manager. |
| <a id="not_a_group"></a>`not_a_group` | 422 | no | The chat named is a person, not a group or channel. | Pick a group. Pick a group or channel. |
| <a id="not_sold_by_store"></a>`not_sold_by_store` | 422 | no | One of the items is not sold by the store. | Remove the item. Send only items the store sells. |
| <a id="nothing_to_answer"></a>`nothing_to_answer` | 422 | no | The mention or comment has no words to answer. | Skip it. Nothing to draft; answer it by hand if needed. |
| <a id="organization_not_found"></a>`organization_not_found` | 422 | no | That LinkedIn company page is not one this account administers. | Pick a page. Choose a company page the account administers. |
| <a id="platform_refused"></a>`platform_refused` | 422 | no | The connected platform refused the request (a value, the item named or the action itself); `platformError` carries its reason when it gave one. | See the reason. Correct what the reason names and resend, or act on the platform. |
| <a id="playlist_not_found"></a>`playlist_not_found` | 422 | no | The playlist id is not among the YouTube channel's playlists. | Choose a playlist (call `get_connection`). Pick one from get_connection `include=settings`. |
| <a id="recipient"></a>`recipient` | 422 | no | The platform cannot reach this recipient. | Check the contact. Check the recipient, then try again. |
| <a id="recipient_unreachable"></a>`recipient_unreachable` | 422 | no | The platform cannot deliver to this recipient (a wrong, blocked or unreachable address). | Check the contact. Check the recipient's address; do not retry the same one. |
| <a id="reply_too_long"></a>`reply_too_long` | 422 | now | The AI wrote a reply longer than the platform allows on both tries; the call is charged. | Ask again or write it. Ask again for a new draft, or write the reply yourself. |
| <a id="reserved_event_name"></a>`reserved_event_name` | 422 | no | The event is in a namespace only Otobiz emits into (commerce.*, message.*, …). | Rename the event. Name the event in your own namespace, e.g. order.paid. |
| <a id="run_step_failed"></a>`run_step_failed` | 422 | no | A step of the automation run failed and the run ended failed; the run's steps name the step and its detail. | See the run (call `get_automation_run`). Read the run (get_automation_run), fix the step, then replay it (retry_automation_run). |
| <a id="series_size"></a>`series_size` | 422 | no | The package size is out of range; `message` gives the range. | Fix the size. Send a quantity inside the range. |
| <a id="settings_mismatch"></a>`settings_mismatch` | 422 | no | The settings sent are for another kind of account. | Fix the settings. Send `settings.kind` as the connection's own kind (get_connection `kind`). |
| <a id="settings_refused"></a>`settings_refused` | 422 | no | The platform refused the new setting. | Try another value. Check the value and try again. |
| <a id="template_required"></a>`template_required` | 422 | no | The channel's messaging window is closed (WhatsApp: 24 hours since their last message), so free text cannot be sent. | Use a template (call `create_inbox_conversation`). Send an approved template instead (`template` on create_inbox_conversation), or wait for the person to write again. |
| <a id="unknown_field"></a>`unknown_field` | 422 | no | A routing rule tests a field a rule cannot test. | Pick another field. Use a field list_automation_block_options lists. A built-in one, or `contact.<key>` for one of the brand's contact fields. |
| <a id="unknown_queue"></a>`unknown_queue` | 422 | no | A routing rule names a queue this brand does not have. | Pick a queue. Use a queue id from list_routing_queues, or create one with create_routing_queue. |
| <a id="unprocessable_entity"></a>`unprocessable_entity` | 422 | no | The request is well-formed but cannot be applied as sent. | Correct the request. Read `message` and correct the request. |
| <a id="unsupported"></a>`unsupported` | 422 | no | The platform does not allow this action on this item. | Do it on the platform. Do it on the platform instead. |
| <a id="window_closed"></a>`window_closed` | 422 | no | The channel's messaging window with this person is closed and the channel has no templates (e.g. Instagram), so nothing can be sent now. | Use another channel. Wait until the person writes to the brand again, then reply. Do not retry the same send. |
| <a id="discount_check_unavailable"></a>`discount_check_unavailable` | 424 | wait | Whether the code is valid could not be checked right now; nothing was applied. | Try again. Retry after `Retry-After` seconds. |
| <a id="run_ai_failed"></a>`run_ai_failed` | 424 | wait | An AI or translate step of the run could not answer; the run ended failed. | See the run (call `retry_automation_run`). Read the run (get_automation_run), then replay it from the failed step (retry_automation_run). |
| <a id="run_conversion_failed"></a>`run_conversion_failed` | 424 | wait | A report conversion step of the run failed; the run ended failed. | See the run (call `retry_automation_run`). Check the ad account connection, then replay the run (retry_automation_run). |
| <a id="run_order_failed"></a>`run_order_failed` | 424 | wait | A place or update order step of the run failed at the store; the run ended failed. | See the run (call `retry_automation_run`). Check the store connection, then replay the run (retry_automation_run). |
| <a id="run_request_failed"></a>`run_request_failed` | 424 | wait | An API request, tool or capability step of the run failed; the run ended failed. | See the run (call `retry_automation_run`). Check the other system, then replay the run (retry_automation_run). |
| <a id="run_send_failed"></a>`run_send_failed` | 424 | wait | A message, reply or campaign step of the run could not be sent and the platform named no cause; the run ended failed. | See the run (call `retry_automation_run`). Read the run (get_automation_run), then replay it from the failed step (retry_automation_run). |
| <a id="tool_failing"></a>`tool_failing` | 424 | wait | A tool of a connected app failed most of its recent calls; the bell tells the brand once an hour per tool. | See the calls. See the tool's calls in Logs (Type: Tool) and fix the app's connection or the tool. |
| <a id="rate_limited"></a>`rate_limited` | 429 | wait | Too many requests right now. `errorCategory: "platform_rate_limit"` = the connected platform asked to slow down. | Wait and retry. Wait for `Retry-After` and retry with the same Idempotency-Key. |
| <a id="too_many_runs"></a>`too_many_runs` | 429 | wait | Too many run_script scripts are running at once for this caller; `details.retryAfterSeconds` says when to run it again. | Wait and retry. Wait `details.retryAfterSeconds`, then run the script again. |
| <a id="brand_delete_failed"></a>`brand_delete_failed` | 500 | wait | The brand could not be fully deleted, so it was left in place. | Try again. Retry the deletion; quote `requestId` to support if it persists. |
| <a id="internal"></a>`internal` | 500 | wait | An unexpected server error; it was logged with the request id. | Try again. Retry later; quote `requestId` to support if it persists. |
| <a id="knowledge_snapshot_missing"></a>`knowledge_snapshot_missing` | 500 | wait | The knowledge summary could not be read. | Try again. Try again; quote `requestId` to support if it persists. |
| <a id="pii_mask_failed"></a>`pii_mask_failed` | 500 | wait | The answer could not be masked, so it was not sent. | Try again. Retry, or use a key with `contacts:pii`. |
| <a id="ai_failed"></a>`ai_failed` | 502 | wait | The Assistant could not answer this time. | Try again. Try again. |
| <a id="audience_create_failed"></a>`audience_create_failed` | 502 | wait | Meta did not make the audience right now; `platformError` carries its answer. | Try again. Retry in a minute, or first fix the rule `platformError` names (terms, size). |
| <a id="audience_delete_failed"></a>`audience_delete_failed` | 502 | now | The network did not answer the delete; the record is kept, so a retry is safe. | Try again. Send the delete again. |
| <a id="audiences_unavailable"></a>`audiences_unavailable` | 502 | wait | The ad account's audiences could not be read from Meta right now. | Try again. Retry in a minute; reconnect the ad account if it keeps failing. |
| <a id="creation_status_unknown"></a>`creation_status_unknown` | 502 | check first | A write to the platform may or may not have happened. | Check first. Do NOT blindly retry. Read the resource or wait for its webhook. |
| <a id="email_failed"></a>`email_failed` | 502 | check first | The client link email could not be sent, or may not have been; the first send drops the link, a resend keeps it. | Send again. Check the address, then send again. |
| <a id="pass_failed"></a>`pass_failed` | 502 | wait | Meta refused or did not answer the move of an Instagram or Facebook thread to another app; the chat stays with Otobiz. | Try again. Try again; if it keeps failing, check the app id. |
| <a id="platform_error"></a>`platform_error` | 502 | wait | The connected platform refused or failed; `platformError`, when present, is a short reason safe to show. | Try again. Check `errorSource`/`errorCategory`; retry when the source is the platform. |
| <a id="platform_unavailable"></a>`platform_unavailable` | 502 | wait | The platform did not return this message request. | Try again. Try again, or answer it in the platform's own app. |
| <a id="provider_error"></a>`provider_error` | 502 | wait | The platform answered a sign-in address that cannot be opened. | Ask for a new link. Ask for a new link and try again in a moment. |
| <a id="provider_failed"></a>`provider_failed` | 502 | wait | The platform did not answer while the setting was changed. | Try again. Try again in a moment. |
| <a id="remote_missing"></a>`remote_missing` | 502 | no | The published copy could not be found on the platform. | Check the platform. Check the post on the platform. |
| <a id="review_check_failed"></a>`review_check_failed` | 502 | wait | The review platform did not answer the check that comes before a reply. | Try again. Retry in a minute. |
| <a id="storage_unavailable"></a>`storage_unavailable` | 502 | wait | The file could not be stored right now. | Try again. Try again. |
| <a id="take_failed"></a>`take_failed` | 502 | wait | The platform did not hand the conversation over, so who answers did not change. | Try again. Try again in a moment. |
| <a id="translation_failed"></a>`translation_failed` | 502 | wait | The chat's translation failed on the outgoing text, so nothing was sent. | Try again. Retry, or send as written with update_inbox_conversation `autoTranslate: false`. |
| <a id="ads_network_unavailable"></a>`ads_network_unavailable` | 503 | wait | The ad network could not be reached. | Try again. Try again in a minute. |
| <a id="ai_not_configured"></a>`ai_not_configured` | 503 | no | AI is not available right now, so a draft, summary or translation cannot be written. | Try again later. Try again later; tell support if it persists. |
| <a id="billable_disabled"></a>`billable_disabled` | 503 | wait | Otobiz switched this kind of work off for now (an AI step, a scan, research, posting to a platform): it did not start and nothing was charged. | Contact support. Retry later, or ask Otobiz support when it returns. |
| <a id="billing_catalog_mismatch"></a>`billing_catalog_mismatch` | 503 | no | This plan is unavailable for now while its price is checked; nothing was charged. | Try again later. Try again later, or contact Otobiz support. |
| <a id="billing_change_failed"></a>`billing_change_failed` | 503 | wait | The plan change or cancellation could not be made now; nothing changed. | Try again. Try again shortly. |
| <a id="billing_change_unconfirmed"></a>`billing_change_unconfirmed` | 503 | no | The plan change was sent but could not be confirmed yet, so it may have gone through. | Check your plan (call `get_billing`). Read the plan again in a minute (get_billing) before you retry. |
| <a id="billing_checkout_failed"></a>`billing_checkout_failed` | 503 | wait | The checkout could not be opened now; nothing was charged. | Try again. Try again shortly. |
| <a id="billing_mandate_failed"></a>`billing_mandate_failed` | 503 | wait | The card setup could not be opened right now. | Try again. Try again shortly. |
| <a id="billing_mandate_unmapped"></a>`billing_mandate_unmapped` | 503 | no | Automatic top up is not available right now. | Try again later. Try again later, or contact Otobiz support. |
| <a id="billing_not_configured"></a>`billing_not_configured` | 503 | no | Billing is not available on this server right now. | Try again later. Try again later; tell support if it persists. |
| <a id="billing_plan_preview_failed"></a>`billing_plan_preview_failed` | 503 | wait | The price of the plan change could not be worked out; nothing changed. | Try again. Try get_billing_subscription_preview again shortly. |
| <a id="billing_plan_unmapped"></a>`billing_plan_unmapped` | 503 | no | This plan is not ready for checkout or changes yet. | Try again later. Try again later, or contact Otobiz support. |
| <a id="billing_portal_failed"></a>`billing_portal_failed` | 503 | wait | The billing portal could not be opened right now. | Try again. Try again shortly. |
| <a id="billing_purchase_failed"></a>`billing_purchase_failed` | 503 | wait | The top up checkout did not open; nothing was charged. | Try again. Try create_billing_checkout again shortly. |
| <a id="billing_topup_unmapped"></a>`billing_topup_unmapped` | 503 | no | Top ups are not available right now. | Try again later. Try again later, or contact Otobiz support. |
| <a id="billing_unavailable"></a>`billing_unavailable` | 503 | wait | The brand's billing could not be read now, so a paid reply did not start. Nothing was sent. | Try again. Retry in a moment. |
| <a id="brand_create_check_unavailable"></a>`brand_create_check_unavailable` | 503 | wait | The person's plans could not be read now, so a brand cannot be created. | Try again. Retry after `Retry-After` seconds. |
| <a id="brand_setup_incomplete"></a>`brand_setup_incomplete` | 503 | wait | The new brand could not be fully set up, so it was removed again. | Try again. Retry after `Retry-After` seconds. |
| <a id="busy_unknown"></a>`busy_unknown` | 503 | wait | The calendar's busy times could not be read, so open times cannot be trusted. | Try again. Try again in a moment. |
| <a id="capacity"></a>`capacity` | 503 | wait | The API is busy (503), or (create_connect_session, 409) new connections are paused for now. | Try again shortly. On 503, retry with backoff, using `Retry-After` if sent. On 409, stop. |
| <a id="data_source_unavailable"></a>`data_source_unavailable` | 503 | wait | The source was off, busy or silent, so no research data came back. | Try again (call `list_research_sources`). Retry after `Retry-After`, same Idempotency-Key, or pick from list_research_sources. |
| <a id="deletion_preflight_failed"></a>`deletion_preflight_failed` | 503 | wait | The check whether the brand can be deleted failed, so nothing was deleted. | Try again. Retry after `Retry-After` seconds. |
| <a id="identity_check_unavailable"></a>`identity_check_unavailable` | 503 | wait | The account's identity check could not be read now, so a brand cannot be created. | Try again. Retry after `Retry-After` seconds. |
| <a id="media_unconfigured"></a>`media_unconfigured` | 503 | no | File storage is not available right now. | Try again later. Post without media, or contact support. |
| <a id="model_unavailable"></a>`model_unavailable` | 503 | wait | The AI could not write the reply or draft right now. | Try again. Try again in a moment. |
| <a id="publishing_paused"></a>`publishing_paused` | 503 | wait | Publishing is paused for every brand for now; scheduled posts wait and go out when it resumes, unless that is more than a day past their time. | Try again later. Try again later. Nothing needs changing on the brand. |
| <a id="sandbox_unavailable"></a>`sandbox_unavailable` | 503 | wait | The run_script runner could not start on this server. | Try again. Retry after `details.retryAfterSeconds`, or call the tools directly. |
| <a id="scan_not_started"></a>`scan_not_started` | 503 | wait | The scan could not be started. | Try again. Retry shortly. |
| <a id="seat_end_failed"></a>`seat_end_failed` | 503 | wait | A person removed from the workspace still holds a seat in some of its brands, which could not end this time. | Remove them again. Remove them again: the brands that still list them end their seats. |
| <a id="temporarily_unavailable"></a>`temporarily_unavailable` | 503 | wait | This action is unavailable for this brand right now. | Try again later. Retry later, waiting `Retry-After` seconds when the response carries it. |
