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.
{
"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.
{
"error": "Quantity less than minimal 50"
}Placeholders like {min} below stand for the value in the actual response.
All codes at a glance
| Code | HTTP | v2 error string |
|---|---|---|
| invalid_api_key | 401 | Invalid API key |
| ip_not_allowed | 403 | IP address is not allowed |
| account_suspended | 403 | Account is suspended |
| insufficient_scope | 403 | API key does not have permission for this action |
| invalid_request | 400 | Incorrect request |
| invalid_action | 400 | Incorrect request |
| too_many_ids | 400 | Maximum 100 IDs per request |
| idempotency_conflict | 409 | Idempotency conflict |
| service_not_found | 404 | Incorrect service ID |
| service_unavailable | 409 | Service is temporarily disabled |
| invalid_link | 422 | Incorrect link |
| invalid_comments | 422 | Incorrect comments |
| invalid_username | 422 | Incorrect username |
| quantity_below_minimum | 422 | Quantity less than minimal {min} |
| quantity_above_maximum | 422 | Quantity more than maximum {max} |
| quantity_step | 422 | Quantity must be a multiple of {step} |
| invalid_dripfeed | 422 | {reason} |
| invalid_option | 422 | {reason} |
| insufficient_funds | 402 | Not enough funds on balance |
| duplicate_active_order | 409 | You have active order with this link. Please wait until order being completed. |
| order_not_found | 404 | Incorrect order ID |
| refill_not_found | 404 | Incorrect refill ID |
| refill_not_available | 409 | {reason} |
| cancel_not_available | 409 | {reason} |
| rate_limited | 429 | Too many requests |
| internal_error | 500 | Internal error |
Keys and access
Checked before anything else, on every request.
invalid_api_key
- 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 thekeyparameter.
ip_not_allowed
- 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
- 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
- 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
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 missingorderorrefillID, an unknownstatusfilter, or a v3 body that isn’t JSON.paramnames the field. - How to fix it
- Read
messageandparam, fix the request and send it again.
invalid_action
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:
actionis 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_statushas an underscore.
too_many_ids
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,refillsorids). - How to fix it
- Split the list into batches of 100.
idempotency_conflict
- 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
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=servicesorGET /services) and map orders to the current IDs.
service_unavailable
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 /statusshow when it resumes.
invalid_link
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
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
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:
usernameis 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
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
minfrom the service list.
quantity_above_maximum
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
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
steptoday, 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
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
runsorintervalwas 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).paramisrunsorinterval.- How to fix it
- Send both, as whole numbers in range — or neither for a normal order.
invalid_option
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:
geoon a service without regions or a region it doesn’t cover,duration_minutesoff LIVE viewers,comment_idoff Comment Likes, AI or thread settings on other services.paramnames 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
- 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.requiredanddetails.balanceare integer micro-dollars (1 USD = 1,000,000). - How to fix it
- Add funds, or lower the quantity. Nothing was charged.
duplicate_active_order
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.orderis 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
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
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=refillorPOST /orders/{id}/refills.
refill_not_available
- 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.reasonshows the same text before you try.
cancel_not_available
- 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.reasonshows the same text before you try.
Limits and failures
Back off and retry.
rate_limited
- 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_afterand 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
- 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. Quoterequest_idif 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.