Consult this page for an exhaustive list of errors you may encounter when using the Meilisearch API.
api_key_already_exists
uid
already exists.
api_key_not_found
bad_request
batch_not_found
uid
.
database_size_limit_reached
document_fields_limit_reached
document_not_found
dump_process_failed
facet_search_disabled
/facet-search
route has been queried while the facetSearch
index setting is set to false
.
feature_not_enabled
immutable_api_key_actions
actions
field of an API key cannot be modified.
immutable_api_key_created_at
createdAt
field of an API key cannot be modified.
immutable_api_key_expires_at
expiresAt
field of an API key cannot be modified.
immutable_api_key_indexes
indexes
field of an API key cannot be modified.
immutable_api_key_key
key
field of an API key cannot be modified.
immutable_api_key_uid
uid
field of an API key cannot be modified.
immutable_api_key_updated_at
updatedAt
field of an API key cannot be modified.
immutable_index_uid
uid
field of an index cannot be modified.
immutable_index_updated_at
updatedAt
field of an index cannot be modified.
index_already_exists
uid
already exists, check out our guide on index creation.
index_creation_failed
index_not_found
uid
was not found, check out our guide on index creation.
index_primary_key_already_exists
index_primary_key_multiple_candidates_found
id
. Use the update index endpoint to manually set a primary key.
internal
invalid_api_key
invalid_api_key_actions
actions
field for the provided API key resource is invalid. It should be an array of strings representing action names.
invalid_api_key_description
description
field for the provided API key resource is invalid. It should either be a string or set to null
.
invalid_api_key_expires_at
expiresAt
field for the provided API key resource is invalid. It should either show a future date or datetime in the RFC 3339 format or be set to null
.
invalid_api_key_indexes
indexes
field for the provided API key resource is invalid. It should be an array of strings representing index names.
invalid_api_key_limit
limit
parameter is invalid. It should be an integer.
invalid_api_key_name
name
is invalid. It should either be a string or set to null
.
invalid_api_key_offset
offset
parameter is invalid. It should be an integer.
invalid_api_key_uid
uid
is invalid. The uid
must follow the uuid v4 format.
invalid_search_attributes_to_search_on
attributesToSearchOn
is invalid. attributesToSearchOn
accepts an array of strings indicating document attributes. Attributes given to attributesToSearchOn
must be present in the searchableAttributes
list.
invalid_content_type
invalid_document_csv_delimiter
csvDelimiter
parameter is invalid. It should either be a string or a single ASCII character.
invalid_document_id
invalid_document_fields
fields
parameter is invalid. It should be a string.
invalid_document_filter
filter
parameter is invalid
filterableAttributes
listinvalid_document_limit
limit
parameter is invalid. It should be an integer.
invalid_document_offset
offset
parameter is invalid. It should be an integer.
invalid_document_geo_field
_geo
field of one or more documents is invalid. Meilisearch expects _geo
to be an object with two fields, lat
and lng
, each containing geographic coordinates expressed as a string or floating point number. Read more about _geo
and how to troubleshoot it in our dedicated guide.
invalid_facet_search_facet_name
facetName
field is either not a string or not defined in the filterableAttributes
list.
invalid_facet_search_facet_query
facetQuery
is invalid. It should either be a string or null
.
invalid_index_limit
limit
parameter is invalid. It should be an integer.
invalid_index_offset
offset
parameter is invalid. It should be an integer.
invalid_index_uid
invalid_index_primary_key
primaryKey
field is invalid. It should either be a string or set to null
.
invalid_multi_search_query_federated
federationOptions
but the top-level federation
object is null
or missing.
invalid_multi_search_query_pagination
page
, hitsPerPage
, limit
or offset
, but the top-level federation object is not null
.
invalid_multi_search_query_position
federationOptions.queryPosition
is not a positive integer.
invalid_multi_search_weight
federated.weight
.
invalid_multi_search_queries_ranking_rules
invalid_multi_search_facets
federation.facetsByIndex.<INDEX_NAME>
contains a value that is not in the filterable attributes list.
invalid_multi_search_sort_facet_values_by
federation.mergeFacets.sortFacetValuesBy
is not a string or doesn’t have one of the allowed values.
invalid_multi_search_query_facets
facets
when federation is present and non-null
.
invalid_multi_search_merge_facets
federation.mergeFacets
is not an object or contains unexpected fields.
invalid_multi_search_max_values_per_facet
federation.mergeFacets.maxValuesPerFacet
is not a positive integer.
invalid_multi_search_facet_order
faceting.sortFacetValuesBy
for the same requested facet.
invalid_multi_search_facets_by_index
facetsByIndex
is not an object or contains unknown fields.
invalid_multi_search_remote
federationOptions.remote
is not network.self
and is not a key in network.remotes
.
invalid_network_self
self
that is not a string or null
.
invalid_network_remotes
remotes
that is not an object or null
.
invalid_network_url
url
that is not a string.
invalid_network_search_api_key
searchApiKey
that is not a string or null
.
invalid_search_attributes_to_crop
attributesToCrop
parameter is invalid. It should be an array of strings, a string, or set to null
.
invalid_search_attributes_to_highlight
attributesToHighlight
parameter is invalid. It should be an array of strings, a string, or set to null
.
invalid_search_attributes_to_retrieve
attributesToRetrieve
parameter is invalid. It should be an array of strings, a string, or set to null
.
invalid_search_crop_length
cropLength
parameter is invalid. It should be an integer.
invalid_search_crop_marker
cropMarker
parameter is invalid. It should be a string or set to null
.
invalid_search_embedder
embedder
is invalid. It should be a string corresponding to the name of a configured embedder.
invalid_search_facets
facets
parameter is invalid. It should be an array of strings, a string, or set to null
filterableAttributes
listinvalid_search_filter
filter
parameter is invalidfilterableAttributes
list_geo
, _geoDistance
, or _geoPoint
is used as a filterinvalid_search_highlight_post_tag
highlightPostTag
parameter is invalid. It should be a string.
invalid_search_highlight_pre_tag
highlightPreTag
parameter is invalid. It should be a string.
invalid_search_hits_per_page
hitsPerPage
parameter is invalid. It should be an integer.
invalid_search_hybrid_query
hybrid
parameter is neither null
nor an object, or it is an object with unknown keys.
invalid_search_limit
limit
parameter is invalid. It should be an integer.
invalid_search_locales
locales
parameter is invalid.
invalid_settings_embedder
embedders
index setting value is invalid.
invalid_settings_facet_search
facetSearch
index setting value is invalid.
invalid_settings_localized_attributes
localizedAttributes
index setting value is invalid.
invalid_search_matching_strategy
matchingStrategy
parameter is invalid. It should either be set to last
or all
.
invalid_search_offset
offset
parameter is invalid. It should be an integer.
invalid_settings_prefix_search
prefixSearch
index setting value is invalid.
invalid_search_page
page
parameter is invalid. It should be an integer.
invalid_search_q
q
parameter is invalid. It should be a string or set to null
invalid_search_ranking_score_threshold
rankingScoreThreshold
in a search or multi-search request is not a number between 0.0
and 1.0
.
invalid_search_show_matches_position
showMatchesPosition
parameter is invalid. It should either be a boolean or set to null
.
invalid_search_sort
sort
parameter is invalidsortableAttributes
list or the sort
ranking rule is missing from the settings_geo
, _geoDistance
, _geoRadius
, or _geoBoundingBox
is used as a filterinvalid_settings_displayed_attributes
null
.
invalid_settings_distinct_attribute
null
.
invalid_settings_faceting_sort_facet_values_by
sortFacetValuesBy
object is incorrect. The accepted values are alpha
or count
.
invalid_settings_faceting_max_values_per_facet
maxValuesPerFacet
field is invalid. It should either be an integer or set to null
.
invalid_settings_filterable_attributes
null
.
invalid_settings_pagination
maxTotalHits
field is invalid. It should either be an integer or set to null
.
invalid_settings_ranking_rules
_geo
, _geoDistance
, _geoRadius
, _geoBoundingBox
, or _geoPoint
is used as a custom ranking ruleinvalid_settings_searchable_attributes
null
.
invalid_settings_search_cutoff_ms
invalid_settings_sortable_attributes
null
.
invalid_settings_stop_words
null
.
invalid_settings_synonyms
null
.
invalid_settings_typo_tolerance
enabled
field is invalid. It should either be a boolean or set to null
disableOnAttributes
field is invalid. It should either be an array of strings or set to null
disableOnWords
field is invalid. It should either be an array of strings or set to null
minWordSizeForTypos
field is invalid. It should either be an integer or set to null
oneTypo
or twoTypos
is invalid. It should either be an integer or set to null
invalid_similar_id
not_found_similar_id
invalid_similar_attributes_to_retrieve
attributesToRetrieve
is invalid. It should be an array of strings, a string, or set to null.
invalid_similar_embedder
embedder
is invalid. It should be a string corresponding to the name of a configured embedder.
invalid_similar_filter
filter
is invalid or contains a filter expression with a missing or invalid operator. Filter expressions must be a string, array of strings, or array of array of strings for the POST endpoint. It must be a string for the GET endpoint.
Meilisearch also throws this error if the attribute used for filtering is not defined in the filterableAttributes
list.
invalid_similar_limit
limit
is invalid. It should be an integer.
invalid_similar_offset
offset
is invalid. It should be an integer.
invalid_similar_show_ranking_score
ranking_score
is invalid. It should be a boolean.
invalid_similar_show_ranking_score_details
ranking_score_details
is invalid. It should be a boolean.
invalid_similar_ranking_score_threshold
rankingScoreThreshold
in a similar documents request is not a number between 0.0
and 1.0
.
invalid_state
invalid_store_file
data.ms
folder is in an invalid state. Your b
file is corrupted or the data.ms
folder has been replaced by a file.
invalid_swap_duplicate_index_found
indexes
array for a swap index request have been declared multiple times. You must declare each index only once.
invalid_swap_indexes
uids
for a swap operationindexes
arrayinvalid_task_after_enqueued_at
afterEnqueuedAt
query parameter is invalid.
invalid_task_after_finished_at
afterFinishedAt
query parameter is invalid.
invalid_task_after_started_at
afterStartedAt
query parameter is invalid.
invalid_task_before_enqueued_at
beforeEnqueuedAt
query parameter is invalid.
invalid_task_before_finished_at
beforeFinishedAt
query parameter is invalid.
invalid_task_before_started_at
beforeStartedAt
query parameter is invalid.
invalid_task_canceled_by
canceledBy
query parameter is invalid. It should be an integer. Multiple uid
s should be separated by commas (,
).
invalid_task_index_uids
indexUids
query parameter contains an invalid index uid.
invalid_task_limit
limit
parameter is invalid. It must be an integer.
invalid_task_statuses
invalid_task_types
invalid_task_uids
uids
query parameter is invalid.
io_error
index_primary_key_no_candidate_found
id
. Manually designate the primary key, or add some field ending with id
to your documents.
malformed_payload
missing_api_key_actions
actions
field is missing from payload.
missing_api_key_expires_at
expiresAt
field is missing from payload.
missing_api_key_indexes
indexes
field is missing from payload.
missing_authorization_header
X-MEILI-API-KEY: apiKey
, whereas v0.25 and above use Authorization: Bearer apiKey
missing_content_type
missing_document_filter
filter
field.
missing_document_id
missing_index_uid
uid
field.
missing_facet_search_facet_name
facetName
parameter is required.
missing_master_key
/keys
route. Read more about setting a master key at launch in our security tutorial.
missing_network_url
url
field.
missing_payload
missing_swap_indexes
indexes
object.
missing_task_filters
no_space_left_on_device
not_found
payload_too_large
task_not_found
uid
.
too_many_open_files
too_many_open_files
error. Use ulimit
or a similar tool to increase resource consumption limits before running Meilisearch. For example, call ulimit -Sn 3000
in a UNIX environment to raise the number of allowed open file descriptors to 3000.
too_many_search_requests
--experimental-search-queue-size
.
unretrievable_document
vector_embedding_error
remote_bad_response
remote_bad_request
400 BAD REQUEST
.
remote_could_not_send_request
remote_invalid_api_key
403 FORBIDDEN
or 401 UNAUTHORIZED
to this instance’s request. The configured search API key is either missing, invalid, or lacks the required search permission.
remote_remote_error
500 INTERNAL ERROR
.
remote_timeout