Skip to content

Search the docs

Jump to any page or section

Reference

Errors

Every error code with its HTTP status, the exact v2 string, what it means and how to fix it.

How errors look

REST API v3 answers with the HTTP status below and this body. Switch on code; doc_url points to the code’s entry on this page.

Response422Unprocessable Content
{
  "error": {
    "code": "quantity_below_minimum",
    "message": "The minimum for this service is 987,654.",
    "param": "quantity",
    "doc_url": "/docs/errors#quantity_below_minimum",
    "request_id": "req_f8xrrISYryqXQcXJ3x"
  }
}

Provider API v2 answers HTTP 200 (429 when rate limited) with just the error string, which panels match on. Several codes share one v2 string, so v2 can’t always tell you as much as v3.

Response200OK
{
  "error": "Quantity less than minimal 50"
}

Placeholders like {min} below stand for the value in the actual response.

All codes at a glance

Error codes
CodeHTTPv2 error string
invalid_api_key401Invalid API key
ip_not_allowed403IP address is not allowed
account_suspended403Account is suspended
insufficient_scope403API key does not have permission for this action
invalid_request400Incorrect request
invalid_action400Incorrect request
too_many_ids400Maximum 100 IDs per request
idempotency_conflict409Idempotency conflict
service_not_found404Incorrect service ID
service_unavailable409Service is temporarily disabled
invalid_link422Incorrect link
invalid_comments422Incorrect comments
invalid_username422Incorrect username
quantity_below_minimum422Quantity less than minimal {min}
quantity_above_maximum422Quantity more than maximum {max}
quantity_step422Quantity must be a multiple of {step}
invalid_dripfeed422{reason}
invalid_option422{reason}
insufficient_funds402Not enough funds on balance
duplicate_active_order409You have active order with this link. Please wait until order being completed.
order_not_found404Incorrect order ID
refill_not_found404Incorrect refill ID
refill_not_available409{reason}
cancel_not_available409{reason}
rate_limited429Too many requests
internal_error500Internal error

Keys and access

Checked before anything else, on every request.

invalid_api_key

401Unauthorized
v2 response
{"error": "Invalid API key"}
v3 message
“The API key is missing, mistyped or revoked. Copy it again from Dashboard → API keys.”
What it means
No key was sent, it doesn’t start with tk_, it doesn’t match any key, or the key was revoked.
How to fix it
Copy the key again from Dashboard → API keys. In v3, send it as Authorization: Bearer tk_live_…; in v2, as the key parameter.

ip_not_allowed

403Forbidden
v2 response
{"error": "IP address is not allowed"}
v3 message
“Requests from {ip} aren’t allowed for this key. Add the address to the key’s IP allowlist or remove the allowlist.”
What it means
The key has an IP allowlist and the request came from an address that isn’t on it. The message names the address we saw.
How to fix it
Add that exact address to the key’s allowlist, or clear the allowlist. Behind a proxy we use the first address in X-Forwarded-For.

account_suspended

403Forbidden
v2 response
{"error": "Account is suspended"}
v3 message
“This account is suspended. Contact support.”
What it means
The account is suspended, so every key on it is refused.
How to fix it
Contact support. Orders already running keep running.

insufficient_scope

403Forbidden
v2 response
{"error": "API key does not have permission for this action"}
v3 message
“This key doesn’t have the {scope} permission. Create a key that includes it.”
What it means
The key is valid but wasn’t created with the scope this action needs.
How to fix it
Create a key that includes the scope named in the message, switch your integration to it, then revoke the old one.

Malformed requests

The request itself is missing something or asks for too much.

invalid_request

400Bad Requestparam quantity
v2 response
{"error": "Incorrect request"}
v3 message
Says exactly what’s wrong, for example “Quantity is required.”
What it means
A required parameter is missing or malformed: no quantity, a quantity that isn’t a whole number above zero, a missing order or refill ID, an unknown status filter, or a v3 body that isn’t JSON. param names the field.
How to fix it
Read message and param, fix the request and send it again.

invalid_action

400Bad Requestparam action
v2 response
{"error": "Incorrect request"}
v3 message
“Unknown action "{action}". Use services, add, status, refill, refill_status, cancel or balance.”
What it means
v2 only: action is missing or isn’t one of services, add, status, refill, refill_status, cancel or balance.
How to fix it
Check the spelling. Actions are lower case; refill_status has an underscore.

too_many_ids

400Bad Requestparam orders
v2 response
{"error": "Maximum 100 IDs per request"}
v3 message
“Send at most 100 IDs per request.”
What it means
More than 100 IDs in one request (orders, refills or ids).
How to fix it
Split the list into batches of 100.

idempotency_conflict

409Conflict
v2 response
{"error": "Idempotency conflict"}
v3 message
“This Idempotency-Key was already used with a different request body. Use a new key for a new request.”
What it means
v3 only: this Idempotency-Key was already used on this account with a different request body.
How to fix it
Use a new key for a new order. Reuse a key only to retry the exact same request.

Placing orders

Returned by action=add and POST /orders, in the order they’re checked.

service_not_found

404Not Foundparam service
v2 response
{"error": "Incorrect service ID"}
v3 message
“No service with that ID. Call action=services (or GET /services) for the current list.”
What it means
No visible service has that ID. Disabled services are hidden and return this too.
How to fix it
Re-sync your service list (action=services or GET /services) and map orders to the current IDs.

service_unavailable

409Conflictparam service
v2 response
{"error": "Service is temporarily disabled"}
v3 message
“{service} isn’t accepting new orders right now. {status note, if any}”
What it means
The service is paused and not taking new orders. The message includes the status note when there is one.
How to fix it
Pick another service or try again later. The status page and GET /status show when it resumes.
422Unprocessable Contentparam link
v2 response
{"error": "Incorrect link"}
v3 message
Says exactly what’s wrong, for example “This service needs a profile link (tiktok.com/@name), not a video link.”
What it means
The link isn’t a TikTok link we can parse, or it’s a video link on a profile service (or the other way round). The message says which.
How to fix it
See Services and links for every accepted format and the exact rejection messages.

invalid_comments

422Unprocessable Contentparam comments
v2 response
{"error": "Incorrect comments"}
v3 message
Says exactly what’s wrong, for example “Add at least one comment, one per line.”
What it means
Custom Comments only: no non-blank lines were sent, or one or more lines are longer than 150 characters (the message lists up to five line numbers).
How to fix it
Send one comment per line and shorten the lines named in the message.

invalid_username

422Unprocessable Contentparam username
v2 response
{"error": "Incorrect username"}
v3 message
Says exactly what’s wrong, for example “Add the username of the person who wrote the comment.”
What it means
Comment Likes only: username is missing or isn’t a valid TikTok username (2–24 letters, numbers, underscores or periods).
How to fix it
Send the comment author’s username, with or without the @.

quantity_below_minimum

422Unprocessable Contentparam quantity
v2 response
{"error": "Quantity less than minimal {min}"}
v3 message
“The minimum for this service is {min}.”
What it means
The quantity is below the service minimum. With drip-feed, the minimum applies per run.
How to fix it
Raise the quantity to at least min from the service list.

quantity_above_maximum

422Unprocessable Contentparam quantity
v2 response
{"error": "Quantity more than maximum {max}"}
v3 message
“The maximum for this service is {max}.”
What it means
The quantity is above the service maximum. With drip-feed, the maximum applies per run.
How to fix it
Lower the quantity, split it into several orders after each finishes, or use drip-feed.

quantity_step

422Unprocessable Contentparam quantityReserved
v2 response
{"error": "Quantity must be a multiple of {step}"}
v3 message
“Quantity must be a multiple of {step}.”
What it means
Reserved. Quantities aren’t checked against a service’s step today, so no endpoint returns this code.
How to fix it
Nothing to do now. If it’s ever enforced, round the quantity to a multiple of step.

invalid_dripfeed

422Unprocessable Contentparam runs
v2 response
{"error": "{reason}"}The v2 string is the message itself.
v3 message
Says exactly what’s wrong, for example “Runs must be a whole number from 2 to 100.”
What it means
runs or interval was sent on a service without drip-feed, only one of the two was sent, or a value is out of range (runs 2–100, interval 1–1,440 minutes). param is runs or interval.
How to fix it
Send both, as whole numbers in range — or neither for a normal order.

invalid_option

422Unprocessable Contentparam duration_minutes
v2 response
{"error": "{reason}"}The v2 string is the message itself.
v3 message
Says exactly what’s wrong, for example “Duration must be one of 15, 30, 60, 90, 120, 180, 360 minutes.”
What it means
An order option is out of range, or the service doesn’t take it: geo on a service without regions or a region it doesn’t cover, duration_minutes off LIVE viewers, comment_id off Comment Likes, AI or thread settings on other services. param names the option.
How to fix it
Send only the options listed for the service in Create an order, with a value from its list.

insufficient_funds

402Payment Required
v2 response
{"error": "Not enough funds on balance"}
v3 message
“Your balance doesn’t cover this order. Add funds and try again.”details: required, balance
What it means
Your balance doesn’t cover the charge. details.required and details.balance are integer micro-dollars (1 USD = 1,000,000).
How to fix it
Add funds, or lower the quantity. Nothing was charged.

duplicate_active_order

409Conflictparam link
v2 response
{"error": "You have active order with this link. Please wait until order being completed."}
v3 message
“Order {order} for this link and service is still running. Wait for it to finish — two orders on one link make start counts unreliable.”details: order
What it means
An order for the same service and the same link is still pending, processing or in progress. Two orders on one link make start counts unreliable, so we refuse the second. details.order is the running order.
How to fix it
Wait for that order to finish, then order again. Links are compared after normalization, so URL variants of the same profile or video count as the same link.

Orders, refills and cancellations

Looking up, refilling and canceling existing orders.

order_not_found

404Not Foundparam order
v2 response
{"error": "Incorrect order ID"}
v3 message
“No order with that ID on this account.”
What it means
No order with that ID belongs to this account. Orders on other accounts are reported the same way.
How to fix it
Check the ID. In v2 multi-status, this appears per order instead of failing the request.

refill_not_found

404Not Foundparam refill
v2 response
{"error": "Incorrect refill ID"}
v3 message
“No refill with that ID on this account.”
What it means
No refill with that ID belongs to this account.
How to fix it
Use the ID returned by action=refill or POST /orders/{id}/refills.

refill_not_available

409Conflict
v2 response
{"error": "{reason}"}The v2 string is the reason itself.
v3 message
Says exactly what’s wrong, for example “A refill is already running for this order.”
What it means
The order can’t be refilled right now. The reason is one of the eligibility rules: no refill on the service, not finished yet, canceled, window closed, a refill already running, or the 24-hour limit.
How to fix it
See Refills and cancellations for every rule and its exact text. order.refill.reason shows the same text before you try.

cancel_not_available

409Conflict
v2 response
{"error": "{reason}"}The v2 string is the reason itself.
v3 message
Says exactly what’s wrong, for example “The order is already completed.”
What it means
The order can’t be canceled: the service doesn’t allow it, a cancellation is already under way, or the order is already final.
How to fix it
order.cancel.reason shows the same text before you try.

Limits and failures

Back off and retry.

rate_limited

429Too Many Requests
v2 response
{"error": "Too many requests"}
v3 message
“Too many requests. Retry after {seconds}s.”details: retry_after
What it means
The key has used up its burst and is over the sustained rate. details.retry_after and the Retry-After header say how many seconds to wait. v2 answers with HTTP 429 here — the only v2 failure that isn’t HTTP 200.
How to fix it
Wait Retry-After seconds, then retry. Batch status checks (100 IDs per call) instead of polling orders one by one.

internal_error

500Internal Server Error
v2 response
{"error": "Internal error"}
v3 message
“Something failed on our side. The request wasn’t applied; retry with the same Idempotency-Key.”
What it means
Something failed on our side and the request wasn’t applied.
How to fix it
Retry. For POST /orders, retry with the same Idempotency-Key so a request that did go through isn’t placed twice. Quote request_id if it keeps happening.

Still stuck? Every request is in Dashboard → Request logs with what you sent and what we answered. Search for the request_id.

Something unclear or out of date? Write to [email protected] and quote the page.