-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] ExplainRequest does not work properly #281
Comments
The empty error body is caused by a 404 without a error body. The request returns following instead of an expected error response:
Need to check if this is wanted from opensearch and if so fix the error handling to return the non-parsed error. |
The incorrect error response is fixed but the test added by #285 is not working correctly. |
Yes, it turns out I didn’t report it, I even tried to update the indexes before calling, it doesn’t help |
Should no longer be relevant with #421 merged. Please reopen if the issue sill persists. |
What is the bug?
ExplainRequest return error with empty structure without details.
How can one reproduce the bug?
Now, I am writing test cases to the document APIs #280 and found this problem. However I can not identify it.
To reproduce bug, create index, create document with id "2" and request Explain API
I got this:
What is the expected behavior?
At least details of error, even better successfully found document
What is your host/environment?
MacOS Ventura
Do you have any screenshots?
The text was updated successfully, but these errors were encountered: