# Broken App when selecting index pattern that doesn't have corresponding indices

**URL:** <https://discuss.elastic.co/t/broken-app-when-selecting-index-pattern-that-doesnt-have-corresponding-indices/60937>\
**Category:** Kibana\
**Created:** [September 19, 2016, 7:57pm UTC](https://discuss.elastic.co/t/broken-app-when-selecting-index-pattern-that-doesnt-have-corresponding-indices/60937 "2016-09-19T19:57:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hartfordfive](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hartfordfive/32/44794_2.png) [@hartfordfive](https://discuss.elastic.co/u/hartfordfive)\
**Post date:** [September 19, 2016, 7:57pm UTC](https://discuss.elastic.co/t/broken-app-when-selecting-index-pattern-that-doesnt-have-corresponding-indices/60937/1 "2016-09-19T19:57:00Z")

</div>

I've attempted to automate the creation of a list of index patterns by issuing the same requests as the browser. If you select an index pattern corresponding to indices don't exist, such as " **doesnotexist-** \*", the whole interface ends up broken and unusable unless you refresh the page.

 ![screen shot 2016-09-19 at 3 37 49 pm](https://cloud.githubusercontent.com/assets/3722736/18646655/86ebe188-7e80-11e6-9130-a8d21a116e4e.png)

It would be nice if Kibana simply showed an error and redirected you to the default index pattern.

For references, i'm using Kibana 4.5.3.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [September 20, 2016, 1:03am UTC](https://discuss.elastic.co/t/broken-app-when-selecting-index-pattern-that-doesnt-have-corresponding-indices/60937/2 "2016-09-20T01:03:02Z")

</div>

Would you be willing to raise this on [https://github.com/elastic/kibana/issues](https://github.com/elastic/kibana/issues)?

---

<div class="post-metadata">

**Author:** ![hartfordfive](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hartfordfive/32/44794_2.png) [@hartfordfive](https://discuss.elastic.co/u/hartfordfive)\
**Post date:** [September 20, 2016, 4:45pm UTC](https://discuss.elastic.co/t/broken-app-when-selecting-index-pattern-that-doesnt-have-corresponding-indices/60937/4 "2016-09-20T16:45:18Z")

</div>

I've created the [issue](https://github.com/elastic/kibana/issues/8373) as requested.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:38pm UTC](https://discuss.elastic.co/t/broken-app-when-selecting-index-pattern-that-doesnt-have-corresponding-indices/60937/5 "2017-07-06T13:38:39Z")

</div>


