Developers

API error codes

Every error from /api/* has the same shape. Branch on code, show message to a person, and follow docs_url to the entry below. The older error field carries the same code, so integrations written against it keep working.

HTTP/1.1 404 Not Found
Content-Type: application/json

{
  "error": "not_found",
  "code": "not_found",
  "message": "No such resource on this account.",
  "docs_url": "https://smsnet.net/docs/errors#not_found"
}

193 codes

  • ai_not_configured

    HTTP 400 Link
    What it means
    AI features are off for this account.
    How to fix it
    AI runs on your own Anthropic key: add one in Settings, AI.
  • bad_request

    HTTP 400 Link
    What it means
    The request is not valid.
    How to fix it
    Check the request body against the API reference.
  • body_required

    HTTP 400 Link
    What it means
    The message body is required.
    How to fix it
    Send a non-empty body (or a template_id).
  • body_too_long

    HTTP 400 Link
    What it means
    The message body is too long.
    How to fix it
    At most 1600 characters.
  • cannot_revoke_self

    HTTP 400 Link
    What it means
    A key cannot revoke itself.
    How to fix it
    Use another key or the portal.
  • feedback_message_required

    HTTP 400 Link
    What it means
    Write a few words about what happened.
    How to fix it
    Send a non-empty message, up to 5000 characters.
  • hook_payload_invalid

    HTTP 400 Link
    What it means
    The payload cannot be turned into a message.
    How to fix it
    Send one JSON object (or a form), and use a template that produces some text.
  • invalid_action

    HTTP 400 Link
    What it means
    That action is not one of the accepted values.
    How to fix it
    The error text lists the accepted values.
  • invalid_ai_key

    HTTP 400 Link
    What it means
    The AI key was not accepted.
    How to fix it
    Paste an Anthropic API key, which starts with sk-ant-, from console.anthropic.com, with credit on that account.
  • invalid_allowed_countries

    HTTP 400 Link
    What it means
    allowed_countries is not valid.
    How to fix it
    An array of ISO country codes, such as US or GB.
  • invalid_app_hash

    HTTP 400 Link
    What it means
    app_hash is not valid.
    How to fix it
    The 11-character hash of your Android app.
  • invalid_client_ref

    HTTP 400 Link
    What it means
    client_ref is not valid.
    How to fix it
    A string of at most 128 characters.
  • invalid_code

    HTTP 400 Link
    What it means
    The code is not in the right format.
    How to fix it
    4 to 8 digits.
  • invalid_controls

    HTTP 400 Link
    What it means
    A line control is not valid.
    How to fix it
    See the message for the field.
  • invalid_coupon

    HTTP 400 Link
    What it means
    That coupon is not valid, or it has already been used.
    How to fix it
    Check the code, or ask whoever sent it.
  • invalid_daily_budget

    HTTP 400 Link
    What it means
    daily_budget is not valid.
    How to fix it
    A whole number from 1 to 100000, or null.
  • invalid_dial_code

    HTTP 400 Link
    What it means
    The dial code is not valid.
    How to fix it
    1 to 4 digits, without a plus.
  • invalid_email

    HTTP 400 Link
    What it means
    That email address is not valid.
    How to fix it
    Send a full address such as name@example.com.
  • invalid_events

    HTTP 400 Link
    What it means
    Unknown event type.
    How to fix it
    GET /api/v1/webhooks lists the event types.
  • invalid_expires_at

    HTTP 400 Link
    What it means
    expires_at is not valid.
    How to fix it
    Use a time after send_at (ISO-8601 or epoch ms).
  • invalid_fallback

    HTTP 400 Link
    What it means
    The fallback provider settings are not valid.
    How to fix it
    See the message for the field.
  • invalid_filter

    HTTP 400 Link
    What it means
    The inbound privacy filter setting is not valid.
    How to fix it
    mode is all, texted, allowlist or private; days is 7 to 3650.
  • invalid_grant

    HTTP 400 Link
    What it means
    The OAuth code or refresh token is not valid.
    How to fix it
    Start the authorization again.
  • invalid_hook

    HTTP 400 Link
    What it means
    The hook settings are not valid.
    How to fix it
    Send name, phone_field (a path such as customer.phone) and template (text with {{field}} placeholders, at most 480 characters).
  • invalid_idempotency_key

    HTTP 400 Link
    What it means
    The Idempotency-Key header is not valid.
    How to fix it
    1 to 255 characters.
  • invalid_length

    HTTP 400 Link
    What it means
    length is not valid.
    How to fix it
    6 to 8.
  • invalid_mode

    HTTP 400 Link
    What it means
    mode must be "live" or "test".
    How to fix it
    test keys send sandbox messages only.
  • invalid_number

    HTTP 400 Link
    What it means
    The number looks wrong for its country, and this account is set not to send such numbers.
    How to fix it
    Check the number, or set number_check to warn or off in Settings, Sending and safety.
  • invalid_otp_domain

    HTTP 400 Link
    What it means
    domain is not valid.
    How to fix it
    A host name such as app.example.com, with no scheme or port.
  • invalid_otp_preset

    HTTP 400 Link
    What it means
    That preset is not one of the accepted values.
    How to fix it
    Use sms_retriever, webotp or ios_domain.
  • invalid_payload

    HTTP 400 Link
    What it means
    The request body could not be read.
    How to fix it
    Send valid JSON with Content-Type: application/json.
  • invalid_phone

    HTTP 400 Link
    What it means
    That is not a usable phone number.
    How to fix it
    Use E.164, e.g. +972501234567.
  • invalid_phrase

    HTTP 400 Link
    What it means
    That phrase has no letters or digits in it.
    How to fix it
    Use a word or number.
  • invalid_plan

    HTTP 400 Link
    What it means
    That is not one of the paid plans.
    How to fix it
    GET /api/v1/plans lists them.
  • invalid_redirect_uri

    HTTP 400 Link
    What it means
    The redirect URI is not allowed.
    How to fix it
    Use https, http on loopback, or an app scheme.
  • invalid_request

    HTTP 400 Link
    What it means
    The OAuth request is not valid.
    How to fix it
    See error_description.
  • invalid_rollout

    HTTP 400 Link
    What it means
    The rollout settings are not valid.
    How to fix it
    rollout_percent is an integer 0-100; halted is a boolean.
  • invalid_route_mode

    HTTP 400 Link
    What it means
    route_mode is not valid.
    How to fix it
    "prefer" or "strict", and only together with sim_id.
  • invalid_scopes

    HTTP 400 Link
    What it means
    Unknown scope.
    How to fix it
    Scopes are read, send and manage.
  • invalid_send_at

    HTTP 400 Link
    What it means
    send_at is not a valid time.
    How to fix it
    Use an ISO-8601 string or epoch milliseconds.
  • invalid_signature

    HTTP 400 Link
    What it means
    The request signature does not match.
    How to fix it
    Sign the raw body with the shared secret.
  • invalid_source

    HTTP 400 Link
    What it means
    That source name is reserved.
    How to fix it
    Pick another source.
  • invalid_template

    HTTP 400 Link
    What it means
    The OTP template is not valid.
    How to fix it
    Include {code}; at most 480 characters.
  • invalid_to

    HTTP 400 Link
    What it means
    The recipient is not a usable phone number.
    How to fix it
    Use E.164, e.g. +972501234567.
  • invalid_ttl

    HTTP 400 Link
    What it means
    ttl_s is not valid.
    How to fix it
    An integer from 60 to 900.
  • invalid_url

    HTTP 400 Link
    What it means
    The URL is not acceptable.
    How to fix it
    A public https URL; private and loopback hosts are refused.
  • invalid_value

    HTTP 400 Link
    What it means
    A field has a value that is not accepted.
    How to fix it
    The error text names the field and what it accepts.
  • invalid_verification

    HTTP 400 Link
    What it means
    The verification form is incomplete.
    How to fix it
    Send business_name, website (or a social profile link), country, use_case and accept_aup: true.
  • learn_blocked_host

    HTTP 400 Link
    What it means
    That address cannot be read.
    How to fix it
    Use the public address of your website, for example https://example.co.il. Local, internal and numeric addresses are refused.
  • legacy_key

    HTTP 400 Link
    What it means
    The account key is rotated, not deleted.
    How to fix it
    Rotate it from Developers in the portal.
  • missing_fields

    HTTP 400 Link
    What it means
    A required field is missing.
    How to fix it
    The error text names the field.
  • name_required

    HTTP 400 Link
    What it means
    The key needs a name.
    How to fix it
    e.g. 'n8n production'.
  • no_device

    HTTP 400 Link
    What it means
    No phone is available to send from.
    How to fix it
    Pair an Android phone, and make sure it is online.
  • no_subscription

    HTTP 400 Link
    What it means
    There is no subscription on this account yet.
    How to fix it
    Subscribe from Billing first.
  • no_test_destination

    HTTP 400 Link
    What it means
    No test destination is set.
    How to fix it
    Add one in platform settings first.
  • no_valid_recipients

    HTTP 400 Link
    What it means
    None of the recipients is usable.
    How to fix it
    Check the numbers and opt-outs.
  • note_required

    HTTP 400 Link
    What it means
    A note needs something in it.
    How to fix it
    Write the note text.
  • optout_placeholder_invalid

    HTTP 400 Link
    What it means
    The opt-out placeholder in this text would not turn into a link.
    How to fix it
    Write it as {{unsubscribe}}.
  • otp_id_or_to_required

    HTTP 400 Link
    What it means
    Send otp_id or to.
    How to fix it
    Either identifies the code to verify.
  • otp_length_too_short

    HTTP 400 Link
    What it means
    Codes of 4 or 5 digits are too easy to guess.
    How to fix it
    Use a length of 6 to 8.
  • otp_template_too_long

    HTTP 400 Link
    What it means
    The message is over 140 bytes, so SMS Retriever will not read it.
    How to fix it
    Shorten the text. In Hebrew 140 bytes is about 70 characters, hash and domain line included.
  • send_at_too_far

    HTTP 400 Link
    What it means
    send_at is too far ahead.
    How to fix it
    At most 20 days ahead.
  • step_up_invalid

    HTTP 400 Link
    What it means
    The email code is wrong, expired or used.
    How to fix it
    Request a new one with POST /api/auth/step-up. Nothing was changed.
  • support_fields_required

    HTTP 400 Link
    What it means
    A subject and a description are both needed.
    How to fix it
    Fill in both.
  • to_required

    HTTP 400 Link
    What it means
    The recipient is required.
    How to fix it
    Send `to` as an E.164 number.
  • unsupported_grant_type

    HTTP 400 Link
    What it means
    That grant type is not supported.
    How to fix it
    Use authorization_code or refresh_token.
  • weak_password

    HTTP 400 Link
    What it means
    The password is too short.
    How to fix it
    Use at least 8 characters.
  • webhook_not_set

    HTTP 400 Link
    What it means
    No webhook URL is set.
    How to fix it
    Set one first with PUT /api/v1/webhooks.
  • websocket_required

    HTTP 400 Link
    What it means
    This address only accepts a WebSocket upgrade.
    How to fix it
    Connect with Upgrade: websocket and X-Agent-Secret (ADR 0023).
  • invalid_agent_secret

    HTTP 401 Link
    What it means
    The agent secret is not valid.
    How to fix it
    Pair the phone again.
  • invalid_credentials

    HTTP 401 Link
    What it means
    The email or password is wrong.
    How to fix it
    Check both, or reset the password.
  • invalid_pairing_code

    HTTP 401 Link
    What it means
    The pairing code is invalid or expired.
    How to fix it
    Generate a new code in the portal.
  • invite_sign_in

    HTTP 401 Link
    What it means
    Sign in with the invited email address to accept.
    How to fix it
    An account already exists for this address. Sign in, then open the link again.
  • missing_agent_secret

    HTTP 401 Link
    What it means
    The X-Agent-Secret header is missing.
    How to fix it
    Pair the phone again if it lost its secret.
  • missing_credentials

    HTTP 401 Link
    What it means
    No credentials were sent.
    How to fix it
    Send X-API-Key, Authorization: Bearer <key>, or a portal session.
  • not_signed_in

    HTTP 401 Link
    What it means
    You are not signed in.
    How to fix it
    Sign in to the portal again.
  • too_many_attempts

    HTTP 401 Link
    What it means
    Too many attempts on this code.
    How to fix it
    Generate a new code in the portal.
  • unauthorized

    HTTP 401 Link
    What it means
    The request is not authenticated.
    How to fix it
    Send a valid API key in X-API-Key (or Authorization: Bearer) or a portal session.
  • history_window

    HTTP 402 Link
    What it means
    This record is outside your visible history window.
    How to fix it
    Upgrade to see older history.
  • payment_required

    HTTP 402 Link
    What it means
    This needs a higher plan.
    How to fix it
    Upgrade the account from Billing in the portal.
  • sim_limit_reached

    HTTP 402 Link
    What it means
    The plan's line limit is reached.
    How to fix it
    Upgrade to add capacity.
  • subaccount_limit_reached

    HTTP 402 Link
    What it means
    The sub-account limit is reached.
    How to fix it
    Contact support to raise it.
  • account_not_available

    HTTP 403 Link
    What it means
    You are not a member of that account.
    How to fix it
    List your accounts with GET /api/team/accounts.
  • account_suspended

    HTTP 403 Link
    What it means
    The account is suspended.
    How to fix it
    Contact support.
  • account_unavailable

    HTTP 403 Link
    What it means
    The account is not available.
    How to fix it
    Contact support.
  • admin_geo

    HTTP 403 Link
    What it means
    Operator sign-in is allowed only from Israel.
    How to fix it
    Sign in from an Israeli network, or ask the operator about access from abroad.
  • admin_only

    HTTP 403 Link
    What it means
    Only a platform operator can do this.
    How to fix it
    Sign in with an operator account.
  • agent_key_mcp_only

    HTTP 403 Link
    What it means
    An agent key works on MCP only.
    How to fix it
    Use it at /mcp, or mint a non-agent key for REST.
  • browser_key_not_allowed

    HTTP 403 Link
    What it means
    A browser extension key cannot do this.
    How to fix it
    It reads the inbox and sends to one recipient. Use an API key for anything else.
  • device_removed

    HTTP 403 Link
    What it means
    This phone was removed from the account.
    How to fix it
    Pair it again to reconnect.
  • forbidden

    HTTP 403 Link
    What it means
    You are not allowed to do this.
    How to fix it
    Check the key's scopes and the account role.
  • forbidden_device

    HTTP 403 Link
    What it means
    That line is not on this phone.
    How to fix it
    Use a sim_id this device reported in /sims/sync.
  • hook_premium_blocked

    HTTP 403 Link
    What it means
    This number is in a premium-rate range, so nothing is sent to it.
    How to fix it
    Premium ranges cannot be allowed for an account.
  • insufficient_scope

    HTTP 403 Link
    What it means
    The API key lacks the scope this route needs.
    How to fix it
    The `required` field names the scope; mint a key that holds it.
  • member_forbidden

    HTTP 403 Link
    What it means
    Your role on this account does not allow this.
    How to fix it
    Agents work the inbox. Ask the account owner or an admin.
  • missing_csrf_header

    HTTP 403 Link
    What it means
    The X-Requested-With header is missing.
    How to fix it
    Send X-Requested-With: smsnet on every state-changing portal request.
  • opted_out

    HTTP 403 Link
    What it means
    The recipient has opted out.
    How to fix it
    They can only be messaged again if they opt back in.
  • otp_country_not_allowed

    HTTP 403 Link
    What it means
    Codes go to your line's own country unless you allow another one.
    How to fix it
    Add the country to allowed_countries with PUT /api/v1/otp/settings.
  • otp_premium_blocked

    HTTP 403 Link
    What it means
    This number is in a premium-rate range, so no code is sent to it.
    How to fix it
    Premium ranges cannot be allowed for an account.
  • owner_only

    HTTP 403 Link
    What it means
    Only the account owner can do this.
    How to fix it
    Ask the owner, or sign in as them.
  • owner_protected

    HTTP 403 Link
    What it means
    The account owner cannot be changed or removed here.
    How to fix it
    An owner stays on their own account.
  • owner_session_required

    HTTP 403 Link
    What it means
    Connecting a calendar needs you signed in to the portal (an API key cannot).
    How to fix it
    Do this from the SMSNET portal as the account owner.
  • plan_not_eligible

    HTTP 403 Link
    What it means
    The plan does not include this.
    How to fix it
    Sub-accounts need a reseller or business plan.
  • sandbox_only

    HTTP 403 Link
    What it means
    This works only with a test key on a sandbox verification.
    How to fix it
    Use an sn_test_ key.
  • session_required

    HTTP 403 Link
    What it means
    This needs a person signed in to the portal; an API key cannot do it.
    How to fix it
    Do it from the portal while signed in as the owner.
  • step_up_required

    HTTP 403 Link
    What it means
    This needs a fresh code from your email.
    How to fix it
    Request one with POST /api/auth/step-up, then repeat the request with step_up_code.
  • support_only

    HTTP 403 Link
    What it means
    Only the support desk can do this.
    How to fix it
    Sign in with a support account.
  • terms_acceptance_required

    HTTP 403 Link
    What it means
    Please accept the current Terms of Service and Privacy Policy to continue.
    How to fix it
    Sign in to the portal and agree to the current Terms. API keys and phones keep working meanwhile.
  • test_key_read_only_on_live

    HTTP 403 Link
    What it means
    A test (sn_test_) key cannot change the live account.
    How to fix it
    Use a live key with the manage scope.
  • verification_required

    HTTP 403 Link
    What it means
    This new account is limited until it is verified: 1 phone, at most 5 different recipients and 10 messages a day.
    How to fix it
    Verify the business in the portal (Settings, Verification) or with POST /api/v1/account/verification. Most accounts are verified instantly. A paid plan is never limited.
  • verification_session_mismatch

    HTTP 403 Link
    What it means
    This verification belongs to another session.
    How to fix it
    Send the session_id used at start, or returned by it.
  • account_not_found

    HTTP 404 Link
    What it means
    No such account.
    How to fix it
    The key or session points at an account that does not exist.
  • appointment_not_found

    HTTP 404 Link
    What it means
    Appointment not found
    How to fix it
    Ids come from GET /api/v1/appointments.
  • calendar_connection_not_found

    HTTP 404 Link
    What it means
    Calendar connection not found
    How to fix it
    List connections with GET /api/v1/appointments/setup.
  • campaign_not_found

    HTTP 404 Link
    What it means
    No such campaign.
    How to fix it
    List campaigns with GET /api/v1/campaigns.
  • client_not_found

    HTTP 404 Link
    What it means
    No such MCP client.
    How to fix it
    List clients from Developers in the portal.
  • contact_not_found

    HTTP 404 Link
    What it means
    No such contact.
    How to fix it
    Look it up with GET /api/v1/contacts?phone=+E164.
  • conversation_not_found

    HTTP 404 Link
    What it means
    No such conversation.
    How to fix it
    List conversations with GET /api/v1/conversations.
  • delivery_not_found

    HTTP 404 Link
    What it means
    No such webhook delivery.
    How to fix it
    List deliveries with GET /api/v1/webhooks/deliveries.
  • device_not_found

    HTTP 404 Link
    What it means
    No such phone on this account.
    How to fix it
    List phones with GET /api/v1/devices.
  • draft_not_found

    HTTP 404 Link
    What it means
    Draft not found
    How to fix it
    List drafts with GET /api/v1/agent/drafts.
  • hook_not_found

    HTTP 404 Link
    What it means
    No such hook.
    How to fix it
    The URL is wrong, or the hook was deleted or switched off. List hooks with GET /api/v1/hooks/inbound.
  • invite_not_found

    HTTP 404 Link
    What it means
    No such invitation.
    How to fix it
    List pending invitations with GET /api/v1/team.
  • key_not_found

    HTTP 404 Link
    What it means
    No such key.
    How to fix it
    List keys with GET /api/v1/keys.
  • member_not_found

    HTTP 404 Link
    What it means
    No such team member.
    How to fix it
    List the team with GET /api/v1/team.
  • no_release

    HTTP 404 Link
    What it means
    No app release has been published yet.
    How to fix it
    Publish one with ops/release.mjs.
  • not_available

    HTTP 404 Link
    What it means
    Not available on this deployment.
    How to fix it
    Test levers exist only where ENABLE_TEST_ROUTES is set.
  • not_found

    HTTP 404 Link
    What it means
    Nothing was found at that address or with that id.
    How to fix it
    Check the path and the id; ids are account-scoped.
  • release_not_found

    HTTP 404 Link
    What it means
    No such release.
    How to fix it
    Check version_code against the published releases.
  • rule_not_found

    HTTP 404 Link
    What it means
    No such rule.
    How to fix it
    List rules with GET /api/v1/suppression/rules.
  • sim_not_found

    HTTP 404 Link
    What it means
    No such line on this account.
    How to fix it
    List lines with GET /api/v1/sims.
  • user_not_found

    HTTP 404 Link
    What it means
    No user with that email.
    How to fix it
    Check the address.
  • method_not_allowed

    HTTP 405 Link
    What it means
    That HTTP method is not supported here.
    How to fix it
    See the API reference for the methods this path accepts.
  • admin_exists

    HTTP 409 Link
    What it means
    An operator account already exists.
    How to fix it
    Bootstrap is closed; sign in as the existing operator.
  • already_decided

    HTTP 409 Link
    What it means
    This was already decided.
    How to fix it
    Read its current state.
  • already_member

    HTTP 409 Link
    What it means
    This person is already on the team.
    How to fix it
    Change their role or lines on the Team page.
  • assignee_no_access

    HTTP 409 Link
    What it means
    That team member cannot see this conversation.
    How to fix it
    Give them the line first, or assign someone else.
  • conflict

    HTTP 409 Link
    What it means
    The request conflicts with the current state.
    How to fix it
    Read the resource again and retry with the current state.
  • draft_already_handled

    HTTP 409 Link
    What it means
    This draft was already handled.
    How to fix it
    Refresh the drafts list.
  • duplicate_rule

    HTTP 409 Link
    What it means
    You already have a rule for that phrase.
    How to fix it
    Edit the existing rule instead.
  • endpoint_limit

    HTTP 409 Link
    What it means
    The account has the maximum number of webhook endpoints.
    How to fix it
    Delete one first.
  • hook_limit_reached

    HTTP 409 Link
    What it means
    The account already has the most inbound hooks it can have.
    How to fix it
    Delete one you no longer use, or reuse a hook with a template that fits.
  • idempotency_in_flight

    HTTP 409 Link
    What it means
    A request with this Idempotency-Key is still running.
    How to fix it
    Retry shortly.
  • no_line_available

    HTTP 409 Link
    What it means
    No line is online right now to receive this.
    How to fix it
    Check that the phone is on and connected, then start again.
  • no_lines_granted

    HTTP 409 Link
    What it means
    You have no line to reply from.
    How to fix it
    Ask the account owner or an admin to give you access to this line.
  • sim_private

    HTTP 409 Link
    What it means
    This line is private: it does not send or upload business messages.
    How to fix it
    Choose another line, or change the line's inbound privacy in Numbers.
  • terms_version_mismatch

    HTTP 409 Link
    What it means
    That is not the current version of the Terms.
    How to fix it
    Read current_version from GET /api/v1/account/terms and send it as version.
  • too_many_keys

    HTTP 409 Link
    What it means
    The account holds the maximum number of active keys.
    How to fix it
    Revoke one first.
  • expired

    HTTP 410 Link
    What it means
    This has expired.
    How to fix it
    Start again to get a fresh one.
  • gone

    HTTP 410 Link
    What it means
    This is no longer available.
    How to fix it
    Start the flow again to get a fresh one.
  • invite_invalid

    HTTP 410 Link
    What it means
    This invitation is no longer valid.
    How to fix it
    It expired, was withdrawn or was already used. Ask for a new one.
  • payload_too_large

    HTTP 413 Link
    What it means
    The request body is too large.
    How to fix it
    Bodies are capped at 64 KB (1 MB for contact import and campaigns); limit_bytes says which.
  • hook_phone_missing

    HTTP 422 Link
    What it means
    The payload has no single usable phone number in the mapped field.
    How to fix it
    One recipient per call. Check phone_field, and send an Israeli mobile or a number with a country code.
  • idempotency_mismatch

    HTTP 422 Link
    What it means
    This Idempotency-Key was used with a different body.
    How to fix it
    Use a new key for a different request.
  • learn_blocked_robots

    HTTP 422 Link
    What it means
    The website asks automated readers to stay out (robots.txt).
    How to fix it
    Paste the text yourself, or allow SMSNETBot in robots.txt.
  • learn_no_text

    HTTP 422 Link
    What it means
    The website has no readable text.
    How to fix it
    Some sites build their pages in the browser and show nothing to a reader. Paste the text yourself.
  • unprocessable

    HTTP 422 Link
    What it means
    The request was understood but cannot be processed.
    How to fix it
    Check the values in the body.
  • app_update_required

    HTTP 426 Link
    What it means
    This app build has been withdrawn.
    How to fix it
    Install the update at update_url.
  • upgrade_required

    HTTP 426 Link
    What it means
    A newer client version is required.
    How to fix it
    Update the app or client library.
  • abuse_ceiling

    HTTP 429 Link
    What it means
    The account hit the new-account sending ceiling.
    How to fix it
    Contact support, or move to a paid plan.
  • ai_quota_exceeded

    HTTP 429 Link
    What it means
    AI features are not available on this account right now.
    How to fix it
    AI runs on your own Anthropic key: add or fix it in Settings, AI.
  • code_rate_limited

    HTTP 429 Link
    What it means
    A code was requested too recently.
    How to fix it
    Wait a minute before asking for another code.
  • crash_rate_limited

    HTTP 429 Link
    What it means
    This phone sent too many crash reports today.
    How to fix it
    At most 50 per device per day.
  • hook_rate_limited

    HTTP 429 Link
    What it means
    This hook is receiving too many calls.
    How to fix it
    At most 60 a minute and 1,000 a day per hook. A hook sends one message per call and is not for bulk sending.
  • invite_rate_limited

    HTTP 429 Link
    What it means
    This account has sent too many invitations today.
    How to fix it
    Try again tomorrow.
  • key_budget_exceeded

    HTTP 429 Link
    What it means
    This key has used its daily budget.
    How to fix it
    Raise it under Developers, or wait.
  • otp_paused

    HTTP 429 Link
    What it means
    One-time codes are paused on this account: too few of the codes sent were verified.
    How to fix it
    Check the form that asks for codes for abuse. Sending resumes after retry_after_s, or call POST /api/v1/otp/settings/resume.
  • otp_rate_limited

    HTTP 429 Link
    What it means
    Too many active codes for this number.
    How to fix it
    Wait retry_after_s seconds.
  • otp_resend_too_soon

    HTTP 429 Link
    What it means
    A code went to this number moments ago.
    How to fix it
    Resends wait 30, 60, then 120 seconds. Wait retry_after_s seconds.
  • otp_verify_rate_limited

    HTTP 429 Link
    What it means
    Too many verification attempts for this number.
    How to fix it
    Wait retry_after_s seconds.
  • quota_exceeded

    HTTP 429 Link
    What it means
    The plan's message allowance is used up.
    How to fix it
    Upgrade, or wait for the allowance to reset.
  • rate_limited

    HTTP 429 Link
    What it means
    Too many requests.
    How to fix it
    Wait and retry with backoff; honour retry_after_s when present.
  • reverse_fair_use_exceeded

    HTTP 429 Link
    What it means
    This account has used its reverse verifications for the month.
    How to fix it
    The count starts again on the 1st (UTC).
  • reverse_rate_limited

    HTTP 429 Link
    What it means
    Too many reverse verifications started in the last minute.
    How to fix it
    Wait retry_after_s seconds.
  • slow_down

    HTTP 429 Link
    What it means
    Too many OAuth requests.
    How to fix it
    Wait and try again.
  • internal_error

    HTTP 500 Link
    What it means
    Something went wrong on our side.
    How to fix it
    Retry later. If it persists, contact support with the ray id.
  • payload_unreadable

    HTTP 500 Link
    What it means
    The stored request could not be read.
    How to fix it
    Send the message again.
  • undecryptable

    HTTP 500 Link
    What it means
    A stored payload could not be decrypted.
    How to fix it
    Contact support.
  • ai_request_failed

    HTTP 502 Link
    What it means
    The AI request failed.
    How to fix it
    Retry shortly.
  • learn_fetch_failed

    HTTP 502 Link
    What it means
    The website could not be read.
    How to fix it
    Check that the address opens in a browser and is not behind a login, then try again.
  • learn_model_failed

    HTTP 502 Link
    What it means
    The draft could not be written.
    How to fix it
    Try again in a few minutes. Nothing was used from your AI allowance.
  • payment_provider_unreachable

    HTTP 502 Link
    What it means
    Could not reach the payment provider.
    How to fix it
    Try again shortly.
  • upstream_error

    HTTP 502 Link
    What it means
    A provider we depend on did not answer properly.
    How to fix it
    Retry shortly.
  • agent_not_configured

    HTTP 503 Link
    What it means
    The SMS agent is being switched on. Check back soon.
    How to fix it
    The operator has not configured the model key yet.
  • calendar_not_configured

    HTTP 503 Link
    What it means
    Google Calendar connection is being set up. Check back soon.
    How to fix it
    The operator has not configured Google OAuth yet; nothing to do on your side.
  • google_signin_not_configured

    HTTP 503 Link
    What it means
    Sign in with Google is not switched on yet. Use your email and password.
    How to fix it
    The operator has not configured the Google sign-in client yet; email and password work as before.
  • not_configured

    HTTP 503 Link
    What it means
    Payments are not configured.
    How to fix it
    The operator has not switched payments on yet.
  • payments_not_enabled

    HTTP 503 Link
    What it means
    Card payment is not switched on yet.
    How to fix it
    Your choice was recorded; someone will set it up with you.
  • service_unavailable

    HTTP 503 Link
    What it means
    The service is temporarily unavailable.
    How to fix it
    Retry shortly.
  • stream_disabled

    HTTP 503 Link
    What it means
    The phone stream is switched off right now.
    How to fix it
    Keep using GET /api/agent/dispatch (long-poll). /ping offers stream_url again when it is back.
  • learn_timeout

    HTTP 504 Link
    What it means
    Reading the website took too long.
    How to fix it
    Try again, or paste the text yourself.

Status codes at a glance

StatusMeaning
400The request itself is wrong: a missing or malformed field. Fix the request; retrying it unchanged fails the same way.
401No valid credentials: the API key or session is missing, revoked or mistyped.
402The plan does not cover this, or the account is out of quota.
403The credentials are valid but not allowed to do this (a key without the scope, a test key on live data, a role).
404The thing does not exist, or belongs to another account.
405The path exists but does not accept this HTTP method.
409It conflicts with the current state: a duplicate, a limit, or something already decided.
410It existed but is gone for good, such as an expired link.
413The request body is too large.
422The request is well formed but cannot be carried out as asked.
426The client is too old. Update the app or SDK.
429Too many requests. Wait for the time in Retry-After, then try again.
500Something failed on our side. Retry with the same Idempotency-Key; it is safe.
502A provider SMSNET called on your behalf (such as your own Twilio fallback) failed or answered badly.
503A dependency is down or the service is degraded. Retry with backoff.

See also the changelog, the OpenAPI document and the service status.