# Shield "index not found exception"

**URL:** <https://discuss.elastic.co/t/shield-index-not-found-exception/39011>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security\
**Created:** [January 12, 2016, 5:01pm UTC](https://discuss.elastic.co/t/shield-index-not-found-exception/39011 "2016-01-12T17:01:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![avibh](https://avatars.discourse-cdn.com/v4/letter/a/9fc29f/32.png) [@avibh](https://discuss.elastic.co/u/avibh)\
**Post date:** [January 12, 2016, 5:01pm UTC](https://discuss.elastic.co/t/shield-index-not-found-exception/39011/1 "2016-01-12T17:01:35Z")

</div>

Hi,

when calling search on an empty ES there's a different behavior if shield is enabled or not -  
no shield - no exception  
with shield - an "index not found" exception is thrown.

off course the empty ES is just an easy example, this issue is relevant for any search where the index is not found...

I dont think that shield should change the original api's behavior, the response should be the same regardless.

---

<div class="post-metadata">

**Author:** ![dfaropennetwork](https://avatars.discourse-cdn.com/v4/letter/d/9fc29f/32.png) [@dfaropennetwork](https://discuss.elastic.co/u/dfaropennetwork)\
**Post date:** [March 19, 2016, 1:34am UTC](https://discuss.elastic.co/t/shield-index-not-found-exception/39011/2 "2016-03-19T01:34:22Z")

</div>

i've the same problem, please help us

---

<div class="post-metadata">

**Author:** ![avibh](https://avatars.discourse-cdn.com/v4/letter/a/9fc29f/32.png) [@avibh](https://discuss.elastic.co/u/avibh)\
**Post date:** [March 20, 2016, 3:20pm UTC](https://discuss.elastic.co/t/shield-index-not-found-exception/39011/3 "2016-03-20T15:20:11Z")

</div>

according to ES support it should be part of a future major release.

---

<div class="post-metadata">

**Author:** ![sqpdln](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sqpdln/32/644_2.png) [@sqpdln](https://discuss.elastic.co/u/sqpdln)\
**Post date:** [June 1, 2016, 1:07pm UTC](https://discuss.elastic.co/t/shield-index-not-found-exception/39011/4 "2016-06-01T13:07:46Z")

</div>

Hi, are there any updates on this? Or workarounds?

---

<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:44pm UTC](https://discuss.elastic.co/t/shield-index-not-found-exception/39011/5 "2017-07-06T13:44:20Z")

</div>


