Errors
Every error has a code, a message and what to do next.
The shape
{ "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 | Code | What to do |
|---|---|---|
| 401 | invalid_api_key | Check MOVEKIT_API_KEY, or create a new key on your purchases page. To use the sample, send no key at all. |
| 401 | authentication_required | This route describes an account, so it needs a key. |
| 403 | purchase_required | This account has no completed order yet. |
| 403 | asset_not_licensed | You don't own this exercise, or it is not in the sample. error.purchase says where to buy it. |
| 404 | not_found | Check the id or path. |
| 429 | rate_limit_exceeded | Wait for Retry-After. |
| 503 | asset_not_available | The file isn't ready yet. Retry later, or use your purchases page. |
| 410 | delivery_expired | The link expired. Ask for a new one. |
| 429 | delivery_limit_exceeded | This link is used up. Ask for a new one. |
| 429 | sync_limit_exceeded | 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. |
| 429 | daily_request_limit | This account reached its media requests for today. Delivery resumes at 00:00 UTC; Retry-After says when. |
| 429 | sample_busy | The keyless sample is used up for today. Send your API key, or try again after 00:00 UTC. |
| 429 | link_limit_exceeded | 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. |
- 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.purchasesays 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-Aftersays 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.assetIdnames 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.