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
Expected behavior
When datasourceid is empty or datasouce context is empty and there is no opernsearch hosts specified, then the request is invalid and should return 400 error code
OpenSearch Version
2.12
Dashboards Version
Please list the version of OpenSearch Dashboards being used.
Plugins
DataSource
Screenshots
N/A
Host/Environment (please complete the following information):
OS: [e.g. iOS]
Browser and version [e.g. 22]
Additional context
N/A
The text was updated successfully, but these errors were encountered:
Describe the bug
When datasource id is empty the search returns 500 error which is unexpected since this is more of input error.
To Reproduce
Steps to reproduce the behavior:
curl 'localhost:5601/internal/search/opensearch' --data '{"params": {"index":"movies*","body":{},"preference":1697624613679}}' -H 'x-amzn-aosd-app-id:random' -H 'osd-xsrf:osd-fetch' -H 'Content-Type:application/json'
Expected behavior
When datasourceid is empty or datasouce context is empty and there is no opernsearch hosts specified, then the request is invalid and should return 400 error code
OpenSearch Version
2.12
Dashboards Version
Please list the version of OpenSearch Dashboards being used.
Plugins
DataSource
Screenshots
N/A
Host/Environment (please complete the following information):
Additional context
N/A
The text was updated successfully, but these errors were encountered: