Skip to content
ViceVox
MenuClose
DocumentationErrors and challenges

Errors and challenges

What an action can end with, and what to do next.

Action statuses

queued
Waiting to start.
running
Running in the account's browser.
needs_input
A challenge waits for an answer. See challenge.
succeeded
Done. See result.
failed
Stopped. See error.
canceled
Canceled before it finished.

Error object

A failed action still answers 200 or 202. Read status and error.

Action (trimmed)
{
  "status": "failed",
  "error": { "code": "rate_limited", "message": "..." }
}

Error codes

CodeMeaningDo
signed_outThe account is signed out and no stored credentials could sign it in again.Connect again, or send the owner a sign-in link.
login_failedThe platform refused the username, password or code.Fix credentials with PATCH /v1/accounts/{id}, then connect again.
account_blockedThe platform shows a checkpoint or a suspension on the account.Open a sign-in link and clear the checkpoint in the live browser.
rate_limitedThe platform asked the account to slow down. Try again later.Space out actions on this account.
not_foundThe post, person or conversation does not exist or is not visible to the account.Check the URL, handle or id.
unsupportedThis platform has no such action.Use browser steps, or send feedback.
invalid_inputA parameter is missing or has the wrong shape.Check the parameters in the action reference.
rejectedThe platform refused the action, for example a duplicate post.Read message, change the request, retry.
ui_changedThe page did not look the way the driver expects. We are told and fix it.Retry later.
challenge_timeoutA sign-in challenge was not answered before it expired.Run the action again and answer in time.
browser_unavailableNo browser could be started. It used no usage; try again.Retry with the same Idempotency-Key.
browser_errorThe browser failed while running the action.Retry. If it repeats, send feedback.
subscription_requiredThe organization had no active subscription when the action started. Subscribe in Billing.Tell the person: they subscribe in the web app at /app/billing.
usage_limitThe usage of this period was used up when the action started. Upgrade in Billing, or wait for the reset.Wait for resets_at of GET /v1/usage, or tell the person to upgrade at /app/billing.
outcome_unknownThe write may have taken effect. Check the account before you try again. The usage stays.Read the account (read_profile, read_feed) before you try again.

Challenges

A sign-in step ViceVox cannot finish alone stops the action at needs_input. Answer before expires_at, or the action fails with challenge_timeout.

Action (trimmed)
{
  "status": "needs_input",
  "challenge": {
    "kind": "two_factor_code",
    "message": "Enter the code from your authenticator app.",
    "expires_at": "2026-10-14T09:10:00Z",
    "sign_in_url": "https://vicevox.com/connect/bts_..."
  }
}
KindMeaningAnswer with
two_factor_codeA code from an authenticator app.API or MCP. With a stored totp_secret, ViceVox answers it itself.
email_codeA code the platform sent by email.API or MCP.
sms_codeA code the platform sent by text message.API or MCP.
device_approvalApprove the sign-in on another device.Approve on the other device, or use the live browser.
captchaA puzzle the platform shows to a new sign-in.Live browser.
passcodeA passcode only the owner knows, such as the X Chat passcode. The account stays signed in.API, MCP or live browser.
otherAnything else the page asks for. The message says what.Read message. API, MCP or live browser.

Three ways to answer

APIPOST /v1/actions/{id}/answer with { "answer": "..." }.
MCPThe tool result carries the challenge. Pass the answer back through the server.
Live browserOpen sign_in_url. It works for 30 minutes, without a ViceVox login.

POST/v1/actions/{id}/answer

Request
curl -X POST https://api.vicevox.com/v1/actions/$ACTION_ID/answer \
  -H "Authorization: Bearer $VICEVOX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "answer": "123456" }'

Request errors

A request that fails creates no action and uses no usage.

HTTPMeaning
400The request is malformed, such as bad JSON.
401The API key is missing or not valid.
402Subscription status, usage or the plan does not allow the request. See Payment errors.
403The key may not act on this workspace or account. action_not_allowed: the key's list of action types does not name this type.
404No such account, action or workspace for this key.
409The request conflicts with the current state. subscription_exists: a checkout while the status is trialing, active or past_due.
410link_expired: the sign-in link no longer works.
422A field has the wrong value or shape. channel_ceiling: the organization has 400 accounts, the most it can hold.
429Too many requests. Wait for Retry-After seconds, then retry.

The limits of a key: API keys. Request limits and headers: Rate limits.

Payment errors

A 402 is application/problem+json with one of these codes. upgrade is the URL of /app/billing: send a person there. An agent cannot pay. Do not retry a 402.

CodeMeaningMembers
subscription_requiredSubscription status is none or canceled.upgrade
usage_limitThe usage of the plan for the period is used up.resets_at, upgrade
key_usage_limitThe API key's dailyUsagePercent is used up for today.limit_percent, used_percent (today, queued actions included), resets_at (00:00 UTC)
plan_limitA create past a limit of the plan.limit (accounts, identities, members or workspaces), max, upgrade
plan_featureThe plan does not have the feature.feature (approvals or client_access), upgrade
over_plan_limitThe organization holds more than its plan allows, after a downgrade.limit, max, upgrade

Before ViceVox queues an action, it checks, in this order: subscription_required, over_plan_limit, usage_limit, key_usage_limit. The first that applies refuses the action, and nothing is queued. See Plans and usage.