> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mixpeek.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Errors

> Every error code, what it means and what to do next

Every error response carries `error.code` and `error.help_url`, which
links to the code's entry below. Branch on `code`. `details` carries the
values an entry refers to, and `details.request_id` identifies the request
for support.

```json theme={null}
{
  "success": false,
  "status": 404,
  "error": {
    "message": "bucket not found",
    "type": "NotFoundError",
    "code": "not_found_error",
    "help_url": "https://mixpeek.com/docs/resources/errors#not-found-error",
    "details": {"request_id": "..."}
  }
}
```

An entry marked **Ask a person** needs a decision an agent cannot make
alone, such as spending money, choosing a plan or deleting data.

## Specific codes

### `dedicated_infrastructure_required` (403)

**Needs a dedicated deployment.** Uploading and deploying your own plugin code runs only on dedicated Enterprise deployments, not on the shared API.

**What to do:** Use one of the alternatives `message` lists: a registry-backed extractor through `POST /v1/extractors/submissions/uploads`, or model weights through `POST /v1/models/uploads`. For a dedicated deployment, a person contacts Mixpeek.

### `free_tier_limit_exceeded` (400)

**Free tier used up.** The free tier's credits are used up. `details.available_credits` is what remains and `details.required_credits` what this request needs.

**What to do:** Add a payment method in Studio under Settings > Billing, or send less work. An agent stops and asks. **Ask a person.**

### `monthly_object_cap_reached` (403)

**Monthly object limit reached.** The organization has processed its plan's objects for this period (`details.objects_processed` of `details.object_cap`). Reads and search keep working.

**What to do:** Upgrade the plan (`details.upgrade_plan`) or wait for the next period. Upgrading spends money: an agent stops and asks. **Ask a person.**

### `namespace_budget_exceeded` (403)

**Namespace budget reached.** The namespace has spent its daily or monthly budget, or this batch's estimate would take it past. Nothing was started. `details.period` says which budget and `details.resets_at` when it resets.

**What to do:** Raise the namespace's budget with `PATCH /v1/namespaces/{namespace_id}` `{"spend_budget": {"daily_usd": N}}` (the field is in `details.action.field`), then submit again. Raising a budget spends money: an agent asks the account owner first, or waits for `details.resets_at`. **Ask a person.**

### `namespace_busy` (409)

**Namespace has work in progress.** The namespace cannot be deleted while batches or tasks are running. `details.active_batch_ids` and `details.active_task_ids` list them.

**What to do:** Wait for them to finish, cancel them, or delete with `force=true`, which cancels this namespace's unfinished batches first. Cancelling someone's work is a person's call: an agent asks before using force.

### `namespace_delete_in_progress` (409)

**Namespace is already being deleted.** An earlier DELETE for this namespace is still running.

**What to do:** Poll the task the first DELETE returned. Do not send DELETE again.

### `no_face_detected` (422)

**No face in the query image.** A face search got an image in which the face model found no face, so there is nothing to match.

**What to do:** Send an image with a clearly visible face, or search with a model that embeds the whole image.

### `org_budget_exceeded` (403)

**Organization budget reached.** The organization has spent its budget for the period in `details.period` (`details.spent_usd` of `details.limit_usd`). Raising a namespace budget will not help.

**What to do:** An organization admin raises the limit (`details.how_to_raise`), or the work waits for the next period. An agent stops and asks. **Ask a person.**

### `plane_budget_exceeded` (403)

**Dedicated deployment budget reached.** This dedicated deployment has spent its monthly budget, which Mixpeek sets. Search and existing results keep working.

**What to do:** Contact Mixpeek support to raise it. An agent stops and asks. **Ask a person.**

### `restore_point_beyond_retention` (422)

**Restore point too old.** A restore reaches back 7 days at most, and the point asked for is older. `details.oldest_restorable_at` is the oldest instant allowed now; the point is never moved into the window for you.

**What to do:** Restore to an instant at or after `details.oldest_restorable_at`.

### `restore_point_seq_unsupported` (422)

**Restore point must be an instant.** On this namespace a WAL seq names no instant, so its age can't be checked against the 7-day limit.

**What to do:** Pass an RFC 3339 instant at or after `details.oldest_restorable_at`.

### `spend_paused` (403)

**New paid work is paused.** A spend safety breaker has paused new work for the scope in `details.scope_kind` and `details.scope_id`: one model provider (for example gemini), this organization, or this namespace. Search and existing results keep working.

**What to do:** Nothing in the request to change. Work that does not use the paused scope runs. The pause lifts when Mixpeek reviews the spend; for a provider pause, try again later. An agent tells a person rather than retrying in a loop.

### `spending_cap_reached` (400)

**Monthly spending cap reached.** The organization's monthly hard spending cap is reached, so new paid work is refused. `details.current_cost_usd` and `details.hard_cap_usd` say where it stands.

**What to do:** An admin raises or removes the hard cap in Studio under Settings > Billing. An agent stops and asks. **Ask a person.**

### `stage_failed` (502)

**Video not sent to the model.** A video over the inline size limit is copied to storage so the model can read it, and that copy failed, so the video never reached the model. `details.media` names the input.

**What to do:** Retry the request. If it fails again, send a smaller video or a link the model can read directly.

## Codes by error type

### `actionable_validation_error` (422)

**Validation error with a fix.** A field value is invalid and the error says how to correct it.

**What to do:** Apply the correction in `details` and send again.

### `already_exists_error` (409)

**Already exists.** A resource with this name or ID already exists.

**What to do:** Use the existing resource, or pick another name.

### `authentication_error` (401)

**Authentication failed.** The API key is missing, malformed, or revoked.

**What to do:** Send `Authorization: Bearer <key>` with a valid key. If the key was revoked, a person issues a new one. **Ask a person.**

### `bad_gateway_error` (502)

**Upstream error.** A service Mixpeek depends on returned an error.

**What to do:** Retry after a short wait.

### `bad_request_error` (400)

**Bad request.** The request is malformed or names something that cannot be used here. `message` says what.

**What to do:** Correct the request as `message` and `details` describe, then send it again.

### `conflict_error` (409)

**Conflict.** The resource's current state does not allow this change. `details` says what blocks it.

**What to do:** Resolve what `details` names, then retry.

### `database_query_timeout_error` (504)

**Query timed out.** A database query took too long.

**What to do:** Narrow the filter or page size and retry.

### `dependency_unavailable` (503)

**Dependency unavailable.** A store the request needed could not be reached. Nothing was changed. `details.resource` names it.

**What to do:** Retry after the `Retry-After` header's seconds.

### `feature_extraction_error` (500)

**Extraction failed.** An extractor failed on the content.

**What to do:** Read the batch's failure details, fix the input, and resubmit.

### `forbidden_error` (403)

**Forbidden.** The key does not have permission for this action.

**What to do:** Use a key with the permission, or ask an admin to grant it. **Ask a person.**

### `held_error` (409)

**Held.** The resource is held by another operation.

**What to do:** Wait for that operation (`details`), then retry.

### `inference_service_unavailable_error` (503)

**Model unavailable.** A model the request needs did not answer in time.

**What to do:** When `details.retryable` is true, retry after `details.retry_after_seconds`.

### `internal_server_error` (500)

**Internal error.** Mixpeek failed to handle the request.

**What to do:** Retry once. If it repeats, report `details.request_id` to support.

### `mime_type_error` (400)

**Unsupported file type.** The file's type is not supported by the extractor that would process it.

**What to do:** Send a supported type, or use a collection whose extractor takes this one.

### `mongo_d_b_error` (500)

**Database error.** The database failed the request.

**What to do:** Retry. If it repeats, report `details.request_id`.

### `not_enabled_error` (403)

**Not enabled.** The feature is not enabled for this organization.

**What to do:** A person asks Mixpeek to enable it. An agent stops and asks. **Ask a person.**

### `not_found_error` (404)

**Not found.** The resource does not exist in this namespace.

**What to do:** Check the ID and the `X-Namespace` header. List the resources to find the right ID.

### `not_implemented_error` (501)

**Not implemented.** This operation is not available.

**What to do:** Use another operation. Do not retry.

### `payment_required_error` (402)

**Paid work is held.** Mixpeek's spending stop is holding new paid work. Search keeps working.

**What to do:** Nothing to change on your side; it lifts on `details.lifts_on` or when Mixpeek lifts it.

### `plan_required_error` (403)

**Choose a plan.** The workspace has not picked a plan, so billable work is held.

**What to do:** A person chooses a plan in Studio. An agent stops and asks. **Ask a person.**

### `prefect_error` (500)

**Pipeline failed.** A processing pipeline step failed.

**What to do:** Resubmit. If it repeats, report `details.request_id`.

### `processing_error` (500)

**Processing failed.** Processing the content failed.

**What to do:** Read the task's details for the failure, fix the input, and resubmit.

### `quota_exceeded_error` (403)

**Quota or budget reached.** A plan quota or a spend budget refused the request. `details` names which.

**What to do:** Follow `details` (`how_to_raise`, `how_to_set_budget`). Raising a limit spends money: an agent stops and asks. **Ask a person.**

### `rate_limit_exceeded_error` (429)

**Rate limit exceeded.** The request rate is over the limit.

**What to do:** Back off and retry after the `Retry-After` header's seconds.

### `ray_submission_error` (500)

**Job submission failed.** Processing could not be started.

**What to do:** Resubmit after a short wait. If it repeats, report `details.request_id`.

### `s3_storage_error` (500)

**Storage error.** Reading or writing S3-compatible storage failed.

**What to do:** Check the storage connection's credentials and the object's URL, then retry.

### `schema_validation_error` (422)

**Schema validation error.** Extracted or supplied data does not match the collection's schema.

**What to do:** Match the schema named in `details`, or change the collection's schema.

### `security_error` (403)

**Refused for security.** The request was refused by a security check (`message` says which).

**What to do:** Change the request as `message` says. Do not retry it unchanged.

### `service_unavailable_error` (503)

**Unavailable.** The service cannot take the request now.

**What to do:** Retry after the `Retry-After` header's seconds.

### `storage_error` (500)

**Storage error.** Reading or writing object storage failed.

**What to do:** Check the storage connection and the object's URL, then retry.

### `store_unreachable_error` (503)

**Store unreachable.** A store the request needs could not be reached. Nothing was changed.

**What to do:** Retry after the `Retry-After` header's seconds.

### `timeout_error` (504)

**Timed out.** The request took too long.

**What to do:** Retry, or narrow the request (fewer items, a smaller page).

### `too_many_requests_error` (429)

**Too many requests.** The request rate is over the limit.

**What to do:** Back off and retry after the `Retry-After` header's seconds.

### `unauthorized_error` (403)

**Not allowed.** The key is valid but this request is not allowed: often a missing or wrong `X-Namespace` header.

**What to do:** Send the `X-Namespace` of the resource you are calling. If it is right, the key lacks the permission: ask a person. **Ask a person.**

### `unavailable_error` (503)

**Unavailable.** The service cannot take the request now.

**What to do:** Retry after a short wait.

### `user_notification_error` (500)

**Notification failed.** A notification could not be sent.

**What to do:** Retry. The underlying change was not undone.

### `validation_error` (422)

**Validation error.** A field is missing, has the wrong type, or is not a field of this request. `details.validation_errors` lists each one.

**What to do:** Fix each listed field. For an unknown key, `accepted_keys` lists what the body takes.

### `vector_store_error` (500)

**Vector store error.** The vector store failed the request.

**What to do:** Retry. If it repeats, report `details.request_id`.

### `web_socket_authentication_error` (401)

**WebSocket authentication failed.** The WebSocket connection carried no valid key.

**What to do:** Reconnect with a valid key.

### `web_socket_error` (400)

**WebSocket error.** The WebSocket message could not be handled.

**What to do:** Check the message format and reconnect.

### `web_socket_internal_error` (500)

**WebSocket internal error.** The WebSocket handler failed.

**What to do:** Reconnect. If it repeats, report `details.request_id`.

### `web_socket_task_not_found_error` (404)

**Task not found.** The task named on the WebSocket does not exist.

**What to do:** Check the task ID.

### `error`

**Other errors.** An error without a more specific entry.

**What to do:** Read `message` and `details`. If they do not say what to do, report `details.request_id` to support.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.