Errors
Format
REST answers application/problem+json (RFC 9457). MCP returns the same object as an error result, in structuredContent. Each has type (a link to its section below), title, status, detail and, when a call was opened, call_id.
401 Sign in to SnowAI
unauthenticated. The request had no valid token or API key. Connect again, or send Authorization: Bearer <key>.
400 Invalid request
invalid-request. An argument is missing or wrong; detail names it. Fix the call and send it again.
404 Not found
not-found. The tool, page or article does not exist, or is not in this organization. detail says which.
402 Insufficient funds
insufficient-funds. The wallet cannot cover this call. needed_credits and available_credits (and their _usd twins) say by how much. Tell the user, then retry with the same idempotency_key.
403 Forbidden
forbidden. The call is not allowed as asked, for example reading Search Console before Google is connected. detail says what is missing and may include a link for the user.
403 Spend cap reached
spend-cap-reached. The call would pass the wallet's monthly cap or the API key's cap. The user can raise the wallet's cap at limits_url; a key's cap is set when the key is made.
403 Account closed
account-closed. The account was closed, usually after 90 days unused without ever buying credits. Contact support to reopen it.
403 Account suspended
account-suspended. The wallet is frozen while a payment is reviewed. Contact support.
409 Idempotency key reused with different arguments
idempotency-conflict. Each idempotency_key belongs to one set of arguments. Use a new key for a different call.
422 max_credits is too low for this call
max-cost-too-low. minimum_credits is the least a useful call can cost (1,000 credits = $1). Raise max_credits or ask for less.
428 Approval required
approval-required. The call may cost more than the wallet's approval threshold. Ask the user, then call again with the same arguments and the confirmation_token.
429 Rate limited
rate-limited. Too many requests. Wait for Retry-After seconds, then retry.
502 Upstream error
upstream-error. The data source behind the tool failed. Nothing was charged. Retry later.
504 The source was too slow
upstream-timeout. The data source did not answer before the deadline. Nothing was charged. Retry, or ask for less (a smaller limit or depth).
500 Internal error
internal. Something broke on our side. Retry, and contact support with the call_id if it keeps happening.