index_creation_failed

    index_already_exists

    An index with this UID already exists, check out our guide on

    index_not_found

    An index with this UID was not found, check out our guide on

    invalid_index_uid

    There is an error in the provided index format, check out our guide on

    index_not_accessible

    An internal error occurred while trying to access the requested index.

    invalid_state

    An error that occurs when the database is in an invalid state. Deleting the database and re-indexing should solve the problem.

    missing_primary_key

    All documents must be identified with a unique key. MeiliSearch will try to infer the document field to use it as a primary key. If it can’t infer it, the primary key must be specified manually, and this error is returned. See our .

    primary_key_already_present

    This error is thrown when trying to modify the primary key of an index, when it has been already set. See .

    missing_document_id

    A document does not contain any value for the required primary key, and is thus invalid. Check documents in the current addition for the invalid ones.

    invalid_facet

    The facet provided with the search is invalid. Check our to troubleshoot.

    invalid_filter

    The filter provided with the search is invalid. Check our to troubleshoot.

    bad_parameter

    The request contains invalid parameters, check the error message for more information.

    bad_request

    The request is invalid, check the error message for more information.

    document_not_found

    The requested document can’t be retrieved. Either it doesn’t exist, or the database was left in an inconsistent state.

    internal

    MeiliSearch experienced an internal error. Check the error message, and open an issue if necessary.

    invalid_token

    missing_authorization_header

    The requested resources are protected with an API key, that was not provided in the request header. Check our guide on authenticationErrors - 图9 (opens new window) for more information.

    missing_header

    A header is missing in the HTTP request.

    not_found

    The requested resources could not be found.

    payload_too_large

    The payload sent to the server was too large. Check out this guide (opens new window) to customize the maximum payload size accepted by MeiliSearch.

    unretrievable_document

    The document exists in store, but there was an error retrieving it. This probably comes from an inconsistent state in the database.

    search_error

    There was an error in the search.

    unsupported_media_type

    The payload content type is not supported by MeiliSearch. Currently, MeiliSearch supports only JSON payloads.

    dump_already_in_progress

    An error occured during dump creation process, task aborted.