You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was using the library and was getting 400 Client Error Exception: 400 Client Error: Bad Request for url:http....
I then had to use curl to read what the error was.
I think it would be nice to include the error message returned by Meilisearch for 400 error codes so users do not have to call the API using another library or tool to debug.
Hi! You're totally right, it's not convenient for the moment! We indeed plan to do an error handler (#52) with clear error messages.
I link your issue to the previous one about the error handling 🙂
This will be handled very soon! this is going to significantly improve error handling in the whole MeiliSearch ecosystem, and it will of course improve our SDKs!
I was using the library and was getting 400 Client Error
Exception: 400 Client Error: Bad Request for url:http....
I then had to use
curl
to read what the error was.I think it would be nice to include the error message returned by Meilisearch for 400 error codes so users do not have to call the API using another library or tool to debug.
The relevant piece of code:
meilisearch-python/meilisearch/_httprequests.py
Lines 78 to 86 in b6a48a6
The text was updated successfully, but these errors were encountered: