Creating index pattern with Saved Objects API before matching indices exists throws misleading/vague error. #57645
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Data Views
Data Views code and UI - index patterns before 8.0
impact:low
Addressing this issue will have a low level of impact on the quality/strength of our product.
loe:small
Small Level of Effort
Team:DataDiscovery
Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.
triage_needed
Kibana version: 7.6.0 and previous
Elasticsearch version: 7.6.0 and previous
Browser version: Chrome Version 79.0.3945.130 (Official Build) (64-bit)
Browser OS version: Windows 10
Original install method (e.g. download page, yum, from source, etc.): unpacked tarball
Describe the bug:
Vague/misleading error is thrown when index pattern created through the saved objects API matches no indices.
Steps to reproduce:
Go to Discover tab and choose the newly created index pattern.
Unable to fetch fields error is generated.
Expected behavior:
Error message says something like: No indices exist that match the index pattern.
Screenshots (if relevant):
The text was updated successfully, but these errors were encountered: