Skip to content

Errors

Errors are JSON with an HTTP status:

{"error": "no_device", "message": "No phone is paired with this workspace. Pair one in the Simline app first."}

Branch on error (stable, machine-readable) and show message (a sentence for people; wording can change). Some errors add fields: optedOutAt on contact_opted_out, id on dispatch_failed, plan/limit/used/upgradeTo/resetsAt on plan limits. 429 and 503 answers carry Retry-After in seconds.

This table is checked against the API’s source code when the docs are built and tested, so it lists every code the API can return.

errorStatusMeaningFix
bad_request400The request body, a query parameter or a from sender is invalid. message says which, e.g. from: unknown SIM +33600000009, or for a number without + a pattern error at ["to"].
Any endpoint
Fix the input and send again. Numbers are E.164 (+ country code, digits only); bodies are 1–1,600 characters; a from must name a SIM that is in the phone and has sending on.
unauthorized401No credentials, or an API key / agent key that is unknown or revoked.
Any authenticated endpoint, POST /mcp
Send Authorization: Bearer sl_live_… (REST) or Bearer sl_agent_… (MCP). Create a new key in the dashboard if this one was revoked.
forbidden403The key is valid but lacks the scope this endpoint needs (send, read, or both for webhooks), or you aren't allowed to act on that workspace.
Any authenticated endpoint
Create a key with the right scopes. Webhook endpoints need a key with both read and send; /v1/keys only works from the dashboard.
not_found404That message, conversation, webhook, delivery or key doesn't exist in your workspace.
Endpoints with an id or contact in the path
Check the id. Contacts in a path must be URL-encoded (%2B12125550142).
method_not_allowed405The path exists, but not with this HTTP method (for example GET /mcp).
Any endpoint
Use the method shown in the API reference. MCP is POST only.
no_device409No paired phone can send this text: none is paired, every SIM has sending turned off, or none can use the channel you asked for.
POST /v1/messages, MCP send_sms
Pair a phone, turn sending back on for a SIM (Devices), or drop channel: "imessage" if you have no iPhone connected through a Mac.
contact_opted_out409The contact texted STOP (or STOPALL, UNSUBSCRIBE, END, QUIT, CANCEL, ARRET, ARRÊT, SAIR, PARAR, CANCELAR, DESCADASTRAR) to your workspace. The body includes optedOutAt.
Every way of sending: API, dashboard, MCP, approvals, AI copilot, Telegram
Don't retry. They opt back in by texting START or UNSTOP.
usage_limit429The workspace's daily cap (10,000 texts per UTC day by default) is reached. Not a per-second rate limit.
POST /v1/messages, MCP send_sms
Wait for midnight UTC: Retry-After gives the seconds left. Queue the text or tell a person rather than retrying in a loop.
dispatch_failed503The message was stored, but the phone's session couldn't take it. It is marked failed with errorCode: DISPATCH_FAILED; the body has its id.
POST /v1/messages
Retry after Retry-After seconds (5) with a new idempotency key: the failed one is final.
device_update_required409The phone named in from runs an app version below the minimum Simline supports, so it can't send until it is updated.
POST /v1/messages with from
Update the Simline app on that phone (or Simline for Mac), or send with from: "auto" to use another phone.
update_required426The app connecting is older than the minimum supported version. The body has minVersionCode and retryAfterSeconds.
The phone's connection (the Simline app or Simline for Mac, not your code)
Update the app. You only see this if you build your own client on the device protocol.
ramp_limit429A new workspace sends a limited number of texts per rolling 24 hours in its first week (50 on day 1, then 200 a day). The body has limit, used, liftsAt, nextLimit, nextStepAt and graduatesAt. Replies to people who texted the workspace first are never refused by it.
Every way of sending
Wait for liftsAt (Retry-After gives the seconds). The cap rises sooner when people reply to your texts. Contact support if you need more on day one.
sending_paused_review403Sending to people who never texted the workspace is paused while we review unusual activity. Replies still go out. The body has supportEmail.
Every way of sending
Reply to the email we sent the workspace owners, or write to supportEmail. Don't retry: it won't lift on its own.
workspace_suspended403The workspace is suspended and can't send any texts, replies included. Received texts are still stored. The body has supportEmail.
Every way of sending
Write to supportEmail.
plan_limit_texts402This calendar month's texts on your plan are used up (Free 300, Pro 10,000, Team 50,000). The body has plan, limit, used, upgradeTo and resetsAt.
Every way of sending
Wait for resetsAt (the 1st of next month, UTC), or upgrade to the plan in upgradeTo. Received texts are never counted.
plan_limit_phones409Your plan's phones are all paired (Free 1, Pro 5, Team 15). Phones already paired keep working.
Pairing a phone
Unpair a phone or upgrade.
plan_limit_members409Your plan's members are all used (Free 1, Pro 3, Team unlimited).
Adding a member to a workspace
Remove a member or upgrade.
plan_limit_ai402This month's AI actions are used up (Free 50, Pro 1,000, Team 5,000).
AI copilot: suggestions, summaries, tests, auto-replies
Wait for resetsAt, upgrade, or on Team add your own Anthropic or OpenAI key (unlimited).
plan_feature_auto_responder402The auto-responder is included in Pro and Team only.
Turning the auto-responder on
Upgrade, or keep using suggested replies, which work on every plan.
phone_number_taken409Another SIM in this workspace already has this number.
Editing a SIM's number
Each number can belong to one SIM. Clear it on the other SIM first.
policy_denied403The agent's policy refuses this text in never mode: a contact it may not text, too many texts this hour, quiet hours, or a SIM it may not use. message lists the reasons.
Agents (MCP send_sms)
Change the agent's policy in the dashboard, or switch it to “Ask outside the rules” so such texts wait for approval instead.
agent_paused403The agent is paused in the dashboard.
Agents (MCP)
Resume it on the agent's page.
approval_closed409Someone already decided (or it expired). The body has its status.
Approving or denying a held text
Nothing to do: only the first decision counts.
ai_not_configured409The selected AI provider can't be used yet (for example Anthropic or OpenAI chosen without a key).
AI copilot
Add the key in AI settings, or switch back to Simline AI.
ai_refused422The model declined to draft a reply for this conversation.
AI copilot
Write this reply yourself.
ai_unavailable502The AI model didn't answer.
AI copilot
Try again in a moment, or check your model settings and key.
telegram_unavailable502Telegram's Bot API didn't answer.
Connecting Telegram
Try again in a moment.
payments_unavailable502The payment provider didn't answer.
Billing: checkout, plan changes, portal
Try again in a moment.
subscription_cancel_failed502A paid plan couldn't be cancelled with the payment provider, so nothing was deleted.
Deleting your account
Try again, or cancel the plan on the Billing page first, then delete.
invalid_code404, 410The pairing code is unknown (404), or already used or expired (410). Codes last 5 minutes and work once.
Pairing a phone or Mac
Make a new code under Devices → Pair device.
rate_limited429Too many attempts from your network in a short time.
Sign-in emails, pairing
Wait for Retry-After seconds.
provider_error502The sign-in provider failed.
Sign-in with email, Google or GitHub
Try again, or use another sign-in method.
unavailable503A dependency is briefly unavailable.
Sign-in, Telegram
Retry after Retry-After seconds.
not_configured500That feature isn't switched on for this server yet.
Features that need a server setting (billing, Telegram, BYO AI keys)
Not something you can fix: tell us at hello@simline.dev if you see it on api.simline.dev.
internal500Something failed on our side. Details are logged, never returned.
Any endpoint
Retry with the same idempotency key. If it persists, email hello@simline.dev with the time and endpoint.

A message with status: "failed" has an errorCode saying why. It comes from the phone (Android’s own result names), from Simline for Mac, or from the server.

errorCodeMeaningFix
RESULT_ERROR_NO_SERVICENo signal: the phone had no network when it tried.Move the phone or check the SIM; send again.
RESULT_ERROR_RADIO_OFFThe phone's radio is off (airplane mode).Turn airplane mode off.
RESULT_ERROR_GENERIC_FAILUREThe carrier or the phone refused the text.Check the SIM has credit and can send SMS to this number; try again later.
RESULT_ERROR_NULL_PDUAndroid couldn't encode the text.Rare. Try removing unusual characters.
RESULT_ERROR_LIMIT_EXCEEDEDAndroid's own SMS sending limit on the phone was reached.Send fewer texts per minute from this phone, or spread them over more phones.
RESULT_ERROR_SHORT_CODE_NOT_ALLOWED / _NEVER_ALLOWEDAndroid blocked a text to a premium short code.Simline can't text short codes.
RESULT_ERROR_UNKNOWN (and other RESULT_ERROR_*)Another error reported by Android.Try again; if it repeats, test-send from the Simline app on the phone.
RADIO_EXCEPTION_*Android threw an error while handing the text to the radio.Try again; restart the phone if it repeats.
RADIO_RESULT_TIMEOUT / RADIO_RESULT_LOSTThe phone never got Android's confirmation that the text left (for example after a restart mid-send). It is not resent, to avoid duplicates.Check with the recipient before sending again.
DELIVERY_FAILED / TP_STATUS_*The text left the phone, but the carrier's delivery report says it didn't arrive.Check the number; the recipient's phone may be off or unable to receive.
SIM_DISABLEDSending is turned off for that SIM (refused on the phone without touching the radio).Turn “Send from this SIM” back on, or send from another SIM.
SIM_UNAVAILABLEThe requested SIM isn't in the phone or isn't ready.Reinsert the SIM or pick another sender.
EXPIREDThe phone didn't pick the text up in time (it was off or unreachable).See Phone reliability. If the phone later reports it sent, the status moves forward.
DISPATCH_FAILEDThe phone's session couldn't take the message when you sent it (the API answered 503).Send again with a new idempotency key.
CANCELLEDThe text was cancelled before the phone handed it to the radio.Send it again if it should still go out.
BODY_TOO_LONG / EMPTY_BODYThe phone refused the body.Keep bodies between 1 and 1,600 characters.
NO_SMS_ACCOUNTSimline for Mac: Messages has no text message account.Turn on Text Message Forwarding for the Mac on your iPhone.
NO_IMESSAGE_ACCOUNTSimline for Mac: Messages isn't signed in to iMessage.Sign in to iMessage on the Mac, or send with channel: "sms".
AUTOMATION_DENIEDSimline for Mac isn't allowed to control Messages.System Settings → Privacy & Security → Automation.
INVALID_RECIPIENTSimline for Mac: Messages couldn't find that number or address.Check the number.
MESSAGES_ERROR_<n>Simline for Mac: Messages marked the text as not sent with its own error number.Try again; check the iPhone is on and near the Mac.
SEND_TIMEOUTSimline for Mac: the text didn't show as sent in Messages in time.Check the iPhone is on and in reach of the Mac.
CHAT_DB_UNAVAILABLESimline for Mac: Full Disk Access is missing, so the outcome couldn't be checked; the text was not sent.Grant Full Disk Access (run simline-mac doctor).

In a webhook’s delivery log, a failed attempt has either an HTTP statusCode from your server or one of these error values.

errorMeaning
timeoutYour endpoint didn't answer within 10 seconds.
networkSimline couldn't connect (DNS, TLS, connection refused).
redirectYour endpoint answered with a redirect, which isn't followed. Use the final URL.
blocked_urlThe URL resolves to a private, loopback or reserved address, which Simline never calls.
endpoint_disabledThe endpoint was disabled when the attempt was due.

POST /mcp answers protocol problems with JSON-RPC errors. Problems an agent should act on (bad arguments, a policy refusal, a paused agent, no phone) are tool results with isError: true and an explanation instead, so the model can tell you what happened. A missing or invalid agent key is HTTP 401 with {"error": "unauthorized", …}.

JSON-RPC codeMeaning
-32700Parse error: the body isn't JSON (HTTP 400).
-32600Invalid request: not a JSON-RPC 2.0 message, or a batch (batches aren't supported) (HTTP 400).
-32601Method not found. Supported: initialize, notifications/initialized, ping, tools/list, tools/call.
-32602Invalid params: unknown tool, or tools/call without { name, arguments }.
-32603Internal error.