API errors
Every error of the API is one JSON object: {"error": {"code", "message", "doc_url", "request_id"}}. The code never changes; doc_url brings you to its entry here.
bad_request HTTP 400
Bad request
- What it means
- Something in the request is off: an unknown chain, an address that does not fit the chain, an unknown field or group, a group the chain does not serve, a bad option (interval, limit, cursor, fields), an address we do not serve (burn, router, wrapped coin, exchange), or a webhook body that is not a JSON object of valid text.
- How to fix it
- Fix the request: GET /v1/chains lists the chains, groups and fields; the message names what was wrong.
- Charged
- No.
- Retry
- Not as is: fix the cause first.
unauthorized HTTP 401
Missing or invalid key
- What it means
- No API key was sent, or the key is not valid (typo, revoked, malformed).
- How to fix it
- Send the key as
Authorization: Bearer ttfk_...orX-API-Key: ttfk_.... Create or copy a key in the dashboard. - Charged
- No.
- Retry
- Not as is: fix the cause first.
payment_required HTTP 402
Subscription ended
- What it means
- The subscription behind this key has run out.
- How to fix it
- Renew the plan in the dashboard; the same key works again right after.
- Charged
- No.
- Retry
- Not as is: fix the cause first.
forbidden HTTP 403
Not included in your plan
- What it means
- The key is valid but may not do this: its plan does not include the asked group, the account has no developer plan, the key is locked to other IP addresses, or it does not have the webhook permission the route needs.
- How to fix it
- Upgrade the plan (GET /v1/chains shows which groups exist), drop the group from
fields, add this IP to the key's allow-list, or create a key with webhook access (read or write) in the dashboard. - Charged
- No.
- Retry
- Not as is: fix the cause first.
quota_exceeded HTTP 403
Plan limit reached
- What it means
- Your plan's number of webhook endpoints, webhook rules or watched wallet addresses is used up, or this month's delivery quota is.
- How to fix it
- Delete something you no longer need or move to a larger plan;
error.limitis the limit that was reached. - Charged
- No.
- Retry
- Not as is: fix the cause first.
account_suspended HTTP 403
Account suspended
- What it means
- The account behind this key is suspended, so nothing can be changed.
- How to fix it
- Contact support and quote the request_id.
- Charged
- No.
- Retry
- Not as is: fix the cause first.
plan_required HTTP 403
Plan group needed
- What it means
- Your plan does not include the data a webhook rule of this type delivers.
- How to fix it
- Move to a plan that includes the group named in
error.group, or use another rule type. - Charged
- No.
- Retry
- Not as is: fix the cause first.
not_found HTTP 404
Not found
- What it means
- No data for this token (no market lists it, no holders, no price history, unknown deployer), your account has no webhook endpoint or rule with that id (never charged), the route does not exist, or the API is switched off.
- How to fix it
- Check the chain and the address (GET /v1/resolve finds where a token trades), or list your endpoints and rules for their ids. A brand-new token may simply not be listed yet.
- Charged
- The 1 credit attempt fee.
- Retry
- Not as is: fix the cause first.
method_not_allowed HTTP 405
Method not allowed
- What it means
- The route exists but not with this HTTP method. Every data route is GET; the /v1/webhooks routes also take POST, PATCH and DELETE, each as its page says.
- How to fix it
- Use the method the route's page shows.
- Charged
- No.
- Retry
- Not as is: fix the cause first.
request_timeout HTTP 408
Body not received
- What it means
- The body of a webhook request did not arrive in time; nothing was changed.
- How to fix it
- Send the whole body at once with a correct Content-Length, then repeat the call.
- Charged
- No.
- Retry
- Not as is: fix the cause first.
duplicate_url HTTP 409
URL already used
- What it means
- This account already has a webhook endpoint with that URL.
- How to fix it
- Use the existing endpoint (GET /v1/webhooks/endpoints) or choose another URL.
- Charged
- No.
- Retry
- Not as is: fix the cause first.
types_in_use HTTP 409
Event types in use
- What it means
- Rules of this endpoint use an event type the change would remove.
- How to fix it
- Delete those rules first, or keep the event type.
- Charged
- No.
- Retry
- Not as is: fix the cause first.
endpoint_paused HTTP 409
Endpoint paused
- What it means
- The endpoint is paused or disabled, so it gets nothing, not even a test.
- How to fix it
- Switch it on first (PATCH the endpoint with
enabledtrue). - Charged
- No.
- Retry
- Not as is: fix the cause first.
over_limit HTTP 409
Endpoint over the plan limit
- What it means
- This endpoint is above your plan's number of endpoints, so it is paused.
- How to fix it
- Delete other endpoints or move to a larger plan.
- Charged
- No.
- Retry
- Not as is: fix the cause first.
conflict HTTP 409
Changed meanwhile
- What it means
- The same webhook secret was changed by another request at the same moment; this one changed nothing.
- How to fix it
- Read the endpoint again, then repeat the change only if it is still needed.
- Charged
- No.
- Retry
- Not as is: fix the cause first.
too_large HTTP 413
Body too large
- What it means
- The request body is larger than the route accepts (8 KB for an endpoint, 256 KB for a rule).
- How to fix it
- Send a smaller body; split a very long watchlist into more rules.
- Charged
- No.
- Retry
- Not as is: fix the cause first.
unsupported_media_type HTTP 415
Send JSON
- What it means
- A webhook route that takes a body got one that is not declared as JSON.
- How to fix it
- Send the header
Content-Type: application/jsonand a JSON object. - Charged
- No.
- Retry
- Not as is: fix the cause first.
refused HTTP 422
Token cannot be scanned
- What it means
- The address is a contract we cannot scan (for example a proxy, or not a token contract at all).
- How to fix it
- Nothing to retry: this is a property of the address. Check you used the token address, not a pair or a wallet.
- Charged
- The 1 credit attempt fee.
- Retry
- Not as is: fix the cause first.
url_not_allowed HTTP 422
Webhook URL refused
- What it means
- The webhook URL cannot be used: it must be a public https address with a host name that resolves.
- How to fix it
- Use a public https URL on port 443 or 8443, without a user name or password.
- Charged
- No.
- Retry
- Not as is: fix the cause first.
invalid_rule HTTP 422
Invalid rule
- What it means
- A setting of the webhook rule is missing, unknown or out of range.
- How to fix it
- Fix the setting named in
error.field(GET /v1/webhooks/schema lists every rule type and its limits). - Charged
- No.
- Retry
- Not as is: fix the cause first.
type_not_subscribed HTTP 422
Event type not subscribed
- What it means
- The endpoint does not receive the event type this rule sends.
- How to fix it
- Add the type to the endpoint's
event_typesfirst, or pick another endpoint. - Charged
- No.
- Retry
- Not as is: fix the cause first.
rate_limited HTTP 429
Slow down
- What it means
- Too many requests per second, too many at once, the credits of the minute / day / month (or of this key) are used up, too many webhook reads or changes for your account, or too many invalid keys came from your network.
- How to fix it
- Wait the Retry-After seconds, then retry. Watch X-RateLimit-Remaining; upgrade the plan for more credits.
- Charged
- No.
- Retry
- Yes: wait the Retry-After seconds.
capacity HTTP 503
At capacity
- What it means
- The API's shared capacity for today is full (free and trial keys pause first).
- How to fix it
- Retry after Retry-After, or later today. Paid plans are served first.
- Charged
- No.
- Retry
- Yes: wait the Retry-After seconds.
busy HTTP 503
Busy
- What it means
- The API or its data providers are busy right now (nothing was asked from a provider), or another change of your wallet rules is still in progress.
- How to fix it
- Retry after Retry-After (usually a couple of seconds).
- Charged
- No.
- Retry
- Yes: wait the Retry-After seconds.
not_configured HTTP 503
Webhooks not set up
- What it means
- Webhooks cannot be created or delivered on this server right now; nothing was changed.
- How to fix it
- Try again later (Retry-After). If it lasts, contact support.
- Charged
- No.
- Retry
- Yes: wait the Retry-After seconds.
upstream HTTP 502
Provider did not answer
- What it means
- A data provider behind the answer failed or returned nothing usable.
- How to fix it
- Retry in a moment. The attempt fee (1 credit) applies to core and the paid-provider groups.
- Charged
- The 1 credit attempt fee.
- Retry
- Not as is: fix the cause first.
timeout HTTP 504
Took too long
- What it means
- The data did not arrive in time (a slow scan or provider).
- How to fix it
- Retry in a moment: a slow security scan often finishes in the background and the next call is a cache hit.
- Charged
- The 1 credit attempt fee.
- Retry
- Not as is: fix the cause first.
internal HTTP 500
Internal error
- What it means
- An unexpected error on our side.
- How to fix it
- Retry; if it repeats, contact support and quote the request_id.
- Charged
- No.
- Retry
- Not as is: fix the cause first.
error any status
Request refused
- What it means
- Any other refusal of the HTTP layer (the status says which); rare.
- How to fix it
- Read the message and the status; quote the request_id if you contact support.
- Charged
- No.
- Retry
- Not as is: fix the cause first.
The full reference with a try-it form on every endpoint: API reference (free account or API key).