Skip to content
Skip to content

Errors

Every error has a code, a message and what to do next.

The shape

JSON
{
"error": {
"code": "asset_not_licensed",
"message": "Your pack license does not include asset ex12-video; no download link was issued.",
"requestId": "req_...",
"retryable": false,
"nextAction": "Use an owned exercise, or buy this one."
}
}

When to retry

On 429 rate_limit_exceeded and on 503, wait for Retry-After plus a little jitter, then retry. Any other 429 is a download limit, so stop and read nextAction, as you would for anything else.

Common codes

Status
401
Code
invalid_api_key
What to do
Check MOVEKIT_API_KEY, or create a new key on your purchases page. To use the sample, send no key at all.
Status
401
Code
authentication_required
What to do
This route describes an account, so it needs a key.
Status
403
Code
purchase_required
What to do
This account has no completed order yet.
Status
403
Code
asset_not_licensed
What to do
You don't own this exercise, or it is not in the sample. error.purchase says where to buy it.
Status
404
Code
not_found
What to do
Check the id or path.
Status
429
Code
rate_limit_exceeded
What to do
Wait for Retry-After.
Status
503
Code
asset_not_available
What to do
The file isn't ready yet. Retry later, or use your purchases page.
Status
410
Code
delivery_expired
What to do
The link expired. Ask for a new one.
Status
429
Code
delivery_limit_exceeded
What to do
This link is used up. Ask for a new one.
Status
429
Code
sync_limit_exceeded
What to do
This version of the file reached its download limit for the month. Use the copy you have until downloads start again at 00:00 UTC on the 1st of each month, or contact support.
Status
429
Code
daily_request_limit
What to do
This account reached its media requests for today. Delivery resumes at 00:00 UTC; Retry-After says when.
Status
429
Code
sample_busy
What to do
The keyless sample is used up for today. Send your API key, or try again after 00:00 UTC.
Status
429
Code
link_limit_exceeded
What to do
One file had its 200 download links for today; error.assetId names it. Ask for the other files without it, and for that one after 00:00 UTC.

The OpenAPI document lists every code for every endpoint.