Valid primary key is refused #4696
Labels
bug
Something isn't working as expected
error handler
Issues related to the returned errors in Meilisearch
Milestone
Describe the bug
When sending a document with a valid primary key I get a message saying my primary key is invalid.
To Reproduce
Steps to reproduce the behavior:
echo '{ "id": 14630868576586246730, "name": "tamo" }' | mieli d a
14630868576586246730
is invalid. A document identifier can be of type integer or string, only composed of alphanumeric characters (a-z A-Z 0-9), hyphens (-) and underscores (_).Expected behavior
It works or returns a better error message
The text was updated successfully, but these errors were encountered: