autocomplete service returns 500 internal server error when given indexes that do not exist #104974
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Filters
Feature:KQL
KQL
impact:medium
Addressing this issue will have a medium level of impact on the quality/strength of our product.
loe:medium
Medium Level of Effort
v7.14.0
Describe the bug:
When you hit the autocomplete service within Kibana using either
kibana.yml
strategies of:or the newer default one (from #100174)
You get back a 500 internal service error:
Steps to reproduce:
Use a CURL script to hit the service with a non-existent index such as:
Expected behavior:
Errors from Elasticsearch such as 404 not found would be bubbled up as nice REST API semantics of a wrapped 404 error and that REST services do not return 500 internal server errors.
Kibana version:
7.14.0 BC-1, 8.0.0
Elasticsearch version:
7.14.0 BC-1, 8.0.0
The text was updated successfully, but these errors were encountered: