Errors
Stable error codes, HTTP statuses, the error envelope, retry guidance and send pacing.
Every /v1 error uses one envelope with a stable code. This page lists every code the API returns, with its HTTP status and whether a retry can help, then how to retry safely and how send pacing works.
{
"error": {
"code": "insufficient_balance",
"message": "Available balance $0.02 is below the $0.05 this run reserves. Add $20 by card: https://api.routergrowth.com/v1/pay/... (each link opens a secure checkout, no sign-in needed).",
"request_id": "req_1f2e...",
"details": {"add_funds": {"amount": "20.00", "url": "https://api.routergrowth.com/v1/pay/..."}}
}
}
Branch on code, show message to humans. request_id is also sent as the X-Request-Id header, and details carries structured context for some codes. Over MCP, a tool error carries the same envelope in a result marked isError. An error the message does not explain is worth a feedback report with its request_id (free); every error response carries Link: </feedback>; rel="agent-feedback" to point agents there. People can write to hello@routergrowth.com.
Errors and run outcomes
POST /v1/run answers with an error envelope when the call is refused before any provider runs: an invalid input, no provider within max_cost, a short balance, a workspace control. Once a provider has run, the answer is the run itself, HTTP 200: its status says how it ended, and a run that did not succeed carries an error with one of the codes below. A run you poll with GET /v1/runs/{id} always comes back as the run, so a refusal that happened after a 202 shows up there, as the error of a failed or blocked run. In the table, on the run marks a code that only arrives that way.
Codes
| Code | HTTP | Meaning | Retry? |
|---|---|---|---|
invalid_ |
400 | malformed body, or a missing or invalid value; when the body does not match the route's schema, details. names each field. Also an unknown run, key or connected app id |
fix the request |
invalid_ |
400 | a people. cursor that does not parse or came from other filters; nothing is charged |
pass next_ unchanged with the same filters, or drop it |
invalid_ |
401 | missing, malformed, revoked or expired key, dashboard session or connected app token | no |
forbidden |
403 | the credential cannot do this: an account action that needs a dashboard session (minting keys, auto top-up, plans, invoices, connecting accounts), a route a connected app cannot reach, or a table route, record or into while tables are off |
no |
email_ |
403 | the workspace was created with an email and password that was never verified: no call runs (the refused run is blocked) until the owner verifies the email from the dashboard or the workspace adds funds |
after verifying |
not_ |
404 | no such route, or no such watch, webhook, table or invoice in this workspace | no |
method_ |
405 | the route exists but not with this HTTP method | no |
capability_ |
404 | unknown capability slug | no; discover first |
endpoint_ |
404 | unknown raw endpoint for that provider | no; list / |
payload_ |
413 | request body above 1 MB (8 MB on POST / and /), or a write that would pass a table limit |
with a smaller body or fewer rows |
conflict |
409 | the target is busy or taken: a watch already refreshing, a table name in use, the webhook limit, two writers adding the same rows, an x402 payment already used or still settling | read message; retry a concurrent table write |
insufficient_ |
402 | the available balance does not cover the call; details. and, on pay per call, details. carry checkout links a person can open without signing in |
after a top-up |
cost_ |
402 | the call's price is above your max_ (nothing runs), or its hold exceeds the workspace's per-run ceiling (the run is blocked) |
raise max_ to what inspect quotes (waterfall. on a capability) or lower the call; raise the ceiling at / |
budget_ |
402 | the daily spend guard would be breached; the run is blocked |
after the UTC reset, or raise the cap |
payment_ |
502 | an x402 top-up went out for settlement and its outcome is not known; details. names it |
no: do not pay again; the credit lands once the transfer confirms |
suppressed |
403 | a recipient of the send is on the workspace's suppression list; the run is blocked, nothing charged |
do not send; remove the suppression only if the person asked to hear from you again |
opted_ |
403 | the recipient of the send opted out with RouterGrowth itself (privacy policy); binds every workspace; the run is blocked, nothing charged |
no |
repeat_ |
409 | a new conversation with someone contacted on the same channel inside the repeat window; the run is blocked, nothing charged |
reply in the existing thread, or pass routing. with the user's say-so |
paced |
429 | a send from a connected account inside its minimum gap or over its day's ceiling (send pacing); the run is blocked, nothing charged |
after details. seconds |
provider_ |
409 | no live provider can take the call: the capability is coming soon, no provider serves the input's platform, its providers' monthly credits are spent, a raw endpoint's provider account is not open yet, or the provider you named is unknown or does not serve it (as a capability or as raw endpoints) |
later, or with another provider |
rate_ |
429 | too many requests from your client (counted per key, with a wider cap shared by every key on one IP; per IP for calls without a key, and tighter on sign-in, code requests and OAuth registration); Retry-After and details. say when |
after Retry-After |
provider_ |
on the run | the upstream provider throttled us; the run is failed, nothing charged |
with backoff |
provider_ |
502, or on the run | the upstream provider (Stripe, the x402 facilitator, a data provider) failed; nothing charged | yes, with an Idempotency-Key |
provider_ |
on the run | the upstream provider timed out; the run is timed_, nothing charged |
yes, with an Idempotency-Key |
no_ |
on the run | providers answered authoritatively: no result | not with the same input |
no_ |
on the run | no result from the providers that answered, but at least one errored or timed out; see coverage. |
yes, later |
internal_ |
500, or on the run | our fault; nothing charged without settlement | yes, with an Idempotency-Key |
interrupted |
on the run | the router restarted while the run was executing; the run is failed and its hold released |
yes, with a new Idempotency-Key |
cancelled |
on the run | the run was cancelled while queued; nothing charged |
no |
duplicate_ |
on the run | a concurrent request with the same Idempotency-Key ran instead; this run was withdrawn (cancelled) and its request got the other run's answer |
no |
The dashboard's sign-in routes (/v1/auth/*) add a few codes an integration with a key never sees:
| Code | HTTP | Meaning | Retry? |
|---|---|---|---|
invalid_ |
401 | wrong email or password | no |
code_ |
400 | the emailed code is wrong, expired or used up (five wrong tries) | with a new code |
org_ |
400 | first sign-in: send organization_ to create the workspace |
with the name; the code stays valid |
account_ |
409 | an email and password signup for an address that already has an account | sign in instead |
email_ |
502 | the email could not be sent | in a minute |
email_ |
503 | account emails are unavailable on this environment | later |
A request for an emailed code (sign-in or email verification) also answers 429 rate_limited once one address passes its caps: one code a minute, five an hour, twenty a day, counting the codes still open and the ones guessed out. That answer carries no Retry-After: use the last code you received, or try later.
POST /feedback answers in the Agent Feedback Protocol's own error shape, described on Feedback. POST /v1/wallet/topups/x402 answers a payment it still needs, or cannot take, with 402 and the x402 terms instead of the envelope (USDC top-ups). The website's own forms (the free tools under /v1/tools, the privacy opt-out) use a few codes of their own that are not part of the API.
Retrying safely
Retry provider_error, provider_timeout, internal_error and both rate limits with exponential backoff. When the answer was lost (a timeout, a dropped connection), resend the same Idempotency-Key: a retry that races a completed run gets the original run back (Idempotent-Replay: true) instead of a second charge. A key stays with the run it started, so after a run that failed at a provider, or a blocked run, retry with a new key: the old one can replay that run. A run refused before any provider was called (status failed, no attempts, nothing charged) does not hold its key (idempotency).
On auto routing, most provider failures never reach you: the waterfall tries the next provider before returning an error, and some providers' rate limits and server errors are retried once after a short wait. When max_cost kept a fallback from running, the error message names it and the cap that admits it: raise the cap once rather than resubmitting the same call.
Send pacing
Sends from a connected account (linkedin.invite, linkedin.message, linkedin.comment, instagram.message) keep a minimum gap and a daily ceiling on RouterGrowth's side, whatever the agent asks for. A day here is the UTC calendar day: the count starts again at 00:00 UTC, and the whole allowance comes back at once. A send inside the gap, or past the ceiling, ends as a blocked run with error paced: nothing is reserved, nothing reaches the network. details.retry_after says how many seconds to wait (with jitter, so the next send does not land on a fixed interval either), and details.sent_today / daily_cap (with resets_at, the next 00:00 UTC) or sent_this_week / weekly_cap say which ceiling held. The week is the last 7 days, rolling. Runs still in flight count as sent, so a parallel burst is refused from its second call.
| Capability | Gap | Per day, reset at 00:00 UTC (account connected under 7 days / under 30 / older) | Per 7 days |
|---|---|---|---|
linkedin. |
60 s | 20 / 30 / 30 | 180 |
linkedin. |
15 s | 40 / 80 / 150 | none |
linkedin. |
120 s | 10 / 20 / 20 | none |
instagram. |
30 s | 20 / 50 / 100 | none |
These sit under LinkedIn's and Instagram's own limits, which are unpublished and tighten on a freshly connected or bursting account. A second top-level linkedin.comment from one account under the same post within 90 days is blocked with repeat_touch instead; a reply in a thread (comment_id) is not counted. The ceilings count sends made through RouterGrowth; what the account sends elsewhere still counts for the network.
Reading this as an agent? This page as markdown: /docs/api/errors.md · every page: /docs/llms.txt