Errors
After this page you can look up any error code and know whether to retry, stop or ask a person. Branch on code, never on message: the code is the contract and is never renamed, the message may be reworded. An HTTP error has the shape { "error": { "code", "message", "details" } } and details.next says what to do; over MCP the same sentence follows Next: in the text and sits in _meta.error.next. A code you do not know is to be treated as the HTTP status it came with.
Three rules cover most of them. A 402 and every 409 about a quote or a launch mean nothing was spent. 429 and 503 are safe to repeat with the same idempotencyKey after waiting Retry-After seconds. approval_required is not an error: it is a 202 and nothing was spent.
72 errors
- What it means
- The token is missing, malformed, revoked, belongs to a person who left, or a session cookie was sent beside it.
- What to do
- Stop. The key is wrong, revoked or its maker left. Tell the human to make a new key in the workspace (API access) or sign in again. Do not retry.
- What it means
- The wallet does not cover the reserve. Nothing was spent.
- What to do
- Nothing was spent. Tell the human the shortfall. Live key:
wallet_deposit_request, pay by bank transfer, wait forcredited. Test key:sandbox_fund. Then quote again.
- What it means
- The person who made the token lacks the permission the write needs.
- What to do
- Do not retry. The person who made this key lacks a right the action needs; tell the human to ask a colleague with that right, or to make the key themselves.
- What it means
- Only a signed-in person can do this; a key cannot.
- What to do
- Tell the human to do it in the workspace (API access).
- What it means
- The token lacks the scope this tool needs.
- What to do
- Do not retry. Tell the human which scope the message names and that a person with API-management rights adds it to this key (or makes a new key with it). Meanwhile do the parts of the task that need no such scope.
- What it means
- No working key like that.
- What to do
- Nothing to do: the key is already revoked or never existed. Tell the human if you expected it to work.
- What it means
- No such spending request for this token.
- What to do
- Use the
approvalIdthatcampaign_activate,campaign_budget_addorcampaign_endreturned to THIS key; another key's requests cannot be read.
- What it means
- No campaign with that slug or external reference in this brand.
- What to do
- Call
campaigns_list(statusall) and use a slug orexternalReffrom it; a draft is found by itsexternalRefor bycampaigns_listwith statusdraft.
- What it means
- No clip with that id in this account.
- What to do
- Read the id again from
review_queueorcampaign_clips; never type one from memory. Do not retry the same id.
- What it means
- No such draft.
- What to do
- Call
campaigns_listwith statusdraftand use a slug from it, or save the draft again withcampaign_draft_save.
- What it means
- Nothing here by that identifier.
- What to do
- The identifier is not one this account has. Read it again from
review_queue,campaigns_listorcampaign_clipsinstead of guessing; do not retry the same value.
- What it means
- No such quote for this token.
- What to do
- Quote again with
campaign_quote_issueand use thequoteIdit returns; a quote belongs to the key that asked for it.
- What it means
- No tool has that name.
- What to do
- Pick a name from the tool list in the message (or
tools/list). A tool the message calls a test-space or live-account tool belongs to the other kind of key.
- What it means
- No delivery like that.
- What to do
- Read the delivery log in the workspace (API access) for a valid id, and do not type one from memory.
- What it means
- No webhook endpoint like that.
- What to do
- List the endpoints in the workspace or with
whoami(test space) and use an id from it.
- What it means
- The workspace already holds the most working keys it may.
- What to do
- Tell the human to revoke a key they no longer use in the workspace (API access); a key cannot do that for itself.
- What it means
- The request was already answered.
- What to do
- Read it with
approval_status; nothing more to do.
- What it means
- A person has not answered the spending request for this draft yet.
- What to do
- A person has not answered the request for this draft. Do not ask again: poll
approval_statuswith itsapprovalId, and tell the human it is waiting atapproveAt.
- What it means
- The campaign is not in a state this tool works on (for example pausing one that is not active).
- What to do
- Read the campaign's status in
campaigns_listand use the tool that fits it: pause only an active campaign, resume only a paused one, end an active or paused one.
- What it means
- The launch would pass the token's daily or monthly spending cap, or the key has already decided its day's quota of clips. A refusal, not a question for a person. Nothing was spent or decided.
- What to do
- A refusal, not a question; nothing was spent or decided. Do not retry today. Tell the human which limit was reached (
whoami→limits); only a person changes it, or the count restarts at the next UTC day or month.
- What it means
- The creator appealed this clip; the appeal is answered in the workspace, not through a key.
- What to do
- Leave it. Tell the human the clip is under appeal and waits for them in the workspace.
- What it means
- This key has decided its day's quota of clips.
- What to do
- Stop deciding today. Tell the human; the count restarts at the next UTC day.
- What it means
- Another request was working on the same thing at the same moment and this one was rolled back whole; send it again (
Retry-After). - What to do
- Another request touched the same thing at the same moment and this one was rolled back whole. Wait one second (Retry-After) and retry the identical call with the same key.
- What it means
- A draft that a person was asked about cannot be discarded.
- What to do
- A person was already asked about this draft, so it cannot be discarded through the API. Leave it, or tell the human to remove it in the workspace.
- What it means
- The brand's company has not been verified, which publishing requires.
- What to do
- Nothing was published. The brand's company is not verified yet: read
whoami→readiness; ifcompanyismissing, callcompany_set; ifsubmitted, tell the human there is nothing to send and that launching waits for acceptance.
- What it means
- That idempotency key was used for a different request.
- What to do
- That key already belongs to a different request. Use a NEW key for this intent; reuse a key only to repeat the identical call.
- What it means
- A request with that key is still running; ask again for its answer.
- What to do
- The first attempt with this key is still running. Wait a second and retry the identical call with the same key; do not use a new key.
- What it means
- The campaign has been published; only a draft can be changed or discarded.
- What to do
- The campaign is published, so its text can no longer be saved or discarded here. Use
campaign_set_state,campaign_terms_update(improvements only),campaign_budget_addorcampaign_end, or tell the human.
- What it means
- The clip is not awaiting the brand's decision (already decided, frozen by the platform's checks, or on its way to payment).
- What to do
- Read it with
clip_detail: only a clip withdecidable: truecan be decided. Aheldclip is in the platform's hands and a decided one stays decided; tell the human if it matters.
- What it means
- The quote was closed (its request was answered or cancelled). Nothing was spent.
- What to do
- Nothing was spent. Read
approval_statusfor how the request ended; quote again only if you still need the launch.
- What it means
- The quote lapsed; quote again. Nothing was spent.
- What to do
- Nothing was spent. Quote again with
campaign_quote_issueand launch right away with the newquoteId.
- What it means
- The quote is for adding money to a running campaign, or for launching a draft, and was finished with the other tool. Nothing was spent.
- What to do
- Nothing was spent. A quote made with
addBudgetis finished withcampaign_budget_add; a quote of a draft is finished withcampaign_activate.
- What it means
- The draft changed after it was quoted; quote it again. Nothing was spent.
- What to do
- The draft changed after it was quoted. Nothing was spent. Quote again with
campaign_quote_issue, show the human the new price if it differs, then launch with the newquoteId.
- What it means
- The quote was already used. Nothing further was spent.
- What to do
- Nothing further was spent. Do not launch again: read
approval_statusorevents_list(campaign.activated) to see what the first attempt did.
- What it means
- The platform's own checks found the opposite of that reason.
- What to do
- Do not insist. Read
checksinclip_detail, pick the reason that is true, or approve.
- What it means
- No measurement has flagged what that reason says, so it cannot be used yet.
- What to do
- Wait for a reading (try again later) or refuse for a reason that is true now; if none is, leave the clip for the person.
- What it means
- The person who made the token no longer holds the rights it acts with.
- What to do
- The person who made the key no longer has access to this account, so every write is refused. Tell the human to make a new key.
- What it means
- The token was revoked while the request ran.
- What to do
- The key was revoked while the call ran. Stop; tell the human. Do not retry.
- What it means
- The account already has the most unpaid invoices it may.
- What to do
- Read
wallet_deposit_infoand reuse an open invoice (tell the person to pay it), instead of asking for another.
- What it means
- The brand already has the most spending requests waiting that it may.
- What to do
- Too many requests wait for a person. Do not add more: tell the human to answer or let lapse the waiting ones (
approveAtof each), then retry.
- What it means
- That endpoint already exists.
- What to do
- Use the existing endpoint; read its state in the workspace (API access) instead of creating it again.
- What it means
- The account already has the most webhook endpoints it may.
- What to do
- Tell the human to remove an endpoint they no longer use in the workspace (API access) before adding another.
- What it means
- The request body is larger than the API takes.
- What to do
- Send less in one call: fewer items, shorter text. Do not retry unchanged.
- What it means
- The amount does not cover the minimum commission and leave anything for creators. Nothing was created or added.
- What to do
- Nothing was created. Raise the amount above the minimum the message names and call again.
- What it means
- The test space's clock cannot go further (a year in all).
- What to do
- Call
sandbox_resetwithconfirm: trueto start the space over, or stop here.
- What it means
- The legal details go together.
- What to do
- Send
legalName,countryandregistrationNumberin one call, withoutconfirmfirst to preview.
- What it means
- The draft is missing something it needs before it can be priced or published.
- What to do
- Read the
missinglist in the answer, set each field withcampaign_draft_save(sameexternalRef), then quote again.
- What it means
- The Prefer: dry-run header and the dryRun argument disagree.
- What to do
- Send
dryRunonce, or the same in both the header and the argument.
- What it means
- A dry run is not available for this request (an invoice on a card or crypto rail is opened at the payment provider, which a dry run cannot take back).
- What to do
- A rehearsal is not possible for this request. Ask the human before doing it for real, or choose a rail that supports it (bank transfer).
- What it means
- The Idempotency-Key header and the idempotencyKey argument differ.
- What to do
- Send the key once: either the header or the
idempotencyKeyargument, or the same value in both.
- What it means
- A write needs an idempotency key (the SDK sends one).
- What to do
- Add
idempotencyKey(any unique string for this one intent, for example<verb>-<thing>-1) and call again. AdryRun: truecall needs none.
- What it means
- The amount is not one this API accepts (currency or bounds); the message says which.
- What to do
- Fix the amount as the message says (whole minor units, the account's currency, within the bounds) and call again.
- What it means
- The arguments do not match the tool's input schema; the message says which.
- What to do
- Fix the field the message names (it says what is wrong and what is expected) and call again. Do not retry unchanged.
- What it means
- The pagination cursor is not one this API issued.
- What to do
- Drop
cursorand read the first page again; pass only anextCursorthis API returned, unchanged.
- What it means
- The decision is not valid for this clip (a refusal needs a
codeand anote; an approval takes neither). - What to do
- Approve with
{clipId, decision: "approve"}only. Reject with acodefrom the clip'srejectableForand anoteof enough characters; then call again.
- What it means
- The key's limits are not consistent.
- What to do
- Only a person sets limits, in the workspace; tell the human.
- What it means
- The request itself is malformed (body, header or argument value).
- What to do
- Fix what the message names (body, header or value) and call again. Do not retry unchanged.
- What it means
- Limits only make sense for a key with the spending scope.
- What to do
- Only a person sets limits; tell the human.
- What it means
- The call carried no term to change.
- What to do
- Send at least one of
ratePerThousandMinor,platforms,topics,payableCountries,reviewSlaHours.
- What it means
- The reserve is above the platform's ceiling for one launch via the API. Nothing was spent.
- What to do
- Nothing was spent. The reserve is above the platform's ceiling for one launch through the API. Use a smaller budget, or tell the human to publish this one in the workspace.
- What it means
- The campaign reference names two different campaigns (one's slug is another's externalRef). Nothing was done; name the one you mean by its slug.
- What to do
- Two campaigns match that reference. Nothing was done. Repeat the call naming the one you mean by its slug (from
campaigns_list).
- What it means
- The campaign has no rule behind that reason.
- What to do
- Use a code from
rejectableForinclip_detail: the campaign can only refuse for a rule it set.
- What it means
- A test key cannot hold a scope that sets up the real company or bank.
- What to do
- Make the key with the other scopes; the test space needs none of those.
- What it means
- The test wallet is at its ceiling.
- What to do
- You have enough test money: launch campaigns with it, or
sandbox_reset(withconfirm: true) to start from zero.
- What it means
- That webhook address is not one we may deliver to (not https, not on a public name, or on a port other than 443).
- What to do
- Use a public https address on port 443 that answers on its own name; tell the human if it must be elsewhere.
- What it means
- A person refused the token's last launch; it must wait before asking again (
Retry-After). - What to do
- A person refused your last launch. Do not ask again until
retryAfterSechas passed, and tell the human you were refused; ask them what to change first.
- What it means
- Too many calls in the last minute on this token or network (or too many quotes and launches in the last hour); wait for
Retry-Afterseconds. - What to do
- Wait exactly
retryAfterSecseconds (the Retry-After header; for reads and writes it is seconds, for quotes and launches up to an hour), then retry the same call: the refused call did nothing, so repeating it is safe. Do not send parallel calls meanwhile, and do not change the key or the arguments.
- What it means
- A fault on the server's side; nothing was changed. The message carries a reference to quote to support.
- What to do
- Nothing was changed. Retry once with the same key; if it fails again, tell the human and quote the reference (
cid) from the message.
- What it means
- The test space is working on too many requests.
- What to do
- Wait a few seconds and retry the same call with the same key.
Every error is { error: { code, message, details? } }. Branch on the code, never on the message.