From 3019900831df835c787526fd9c911eeb1a4bd404 Mon Sep 17 00:00:00 2001 From: gui machiavelli Date: Tue, 6 Sep 2022 16:30:09 +0200 Subject: [PATCH] update `invalid_geo_field` error description --- reference/api/error_codes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/api/error_codes.md b/reference/api/error_codes.md index b8e1e53bf0..b8dfd923cc 100644 --- a/reference/api/error_codes.md +++ b/reference/api/error_codes.md @@ -111,7 +111,7 @@ The provided ranking rules are invalid. This may be due to syntax errors in your ### `invalid_geo_field` -The provided `_geo` field of one or more documents is invalid. Read more about `_geo` and how to troubleshoot it in [our dedicated guide](/learn/advanced/geosearch.md). +The provided `_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 number. Read more about `_geo` and how to troubleshoot it in [our dedicated guide](/learn/advanced/geosearch.md). ### `invalid_api_key`