Rephrase hint message

This commit is contained in:
Louis Dureuil 2023-02-27 13:42:11 +01:00
parent 7ae10abb6b
commit d4d4702f1b
No known key found for this signature in database
2 changed files with 4 additions and 4 deletions

View file

@ -76,7 +76,7 @@ static INVALID_RESPONSE: Lazy<Value> = Lazy::new(|| {
});
static INVALID_METRICS_RESPONSE: Lazy<Value> = Lazy::new(|| {
json!({"message": "The provided API key is invalid. The API key for the `/metrics` route must have no limitation on the indexes.",
json!({"message": "The provided API key is invalid. The API key for the `/metrics` route must allow access to all indexes.",
"code": "invalid_api_key",
"type": "auth",
"link": "https://docs.meilisearch.com/errors#invalid_api_key"