# Snapshort backups Failed to complete action: snapshot. \<type 'exceptions.KeyError'\>: 'indices'

**URL:** <https://discuss.elastic.co/t/snapshort-backups-failed-to-complete-action-snapshot-type-exceptions-keyerror-indices/162125>\
**Category:** Elasticsearch\
**Created:** [December 26, 2018, 10:27am UTC](https://discuss.elastic.co/t/snapshort-backups-failed-to-complete-action-snapshot-type-exceptions-keyerror-indices/162125 "2018-12-26T10:27:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![prabhakar\_talari](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/prabhakar_talari/32/46469_2.png) [@prabhakar\_talari](https://discuss.elastic.co/u/prabhakar_talari)\
**Post date:** [December 26, 2018, 10:27am UTC](https://discuss.elastic.co/t/snapshort-backups-failed-to-complete-action-snapshot-type-exceptions-keyerror-indices/162125/1 "2018-12-26T10:27:50Z")

</div>

Hi Team,

My snapshot backups were failing with below error few times and when i enable debug mode it is getting success and not able to find out what is causing the issue.

Failed to complete action: snapshot. \<type 'exceptions.KeyError'\>: 'indices'

could any one suggest is there any solution to avoid this error

Thanks

---

<div class="post-metadata">

**Author:** ![Igor\_Motov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/igor_motov/32/45193_2.png) [@Igor\_Motov](https://discuss.elastic.co/u/Igor_Motov)\
**Post date:** [December 26, 2018, 4:42pm UTC](https://discuss.elastic.co/t/snapshort-backups-failed-to-complete-action-snapshot-type-exceptions-keyerror-indices/162125/2 "2018-12-26T16:42:32Z")

</div>

Which version of elasticsearch and curator are you using? Do you see any error messages in the logs on the master node of elasticsearch?

---

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [December 26, 2018, 4:55pm UTC](https://discuss.elastic.co/t/snapshort-backups-failed-to-complete-action-snapshot-type-exceptions-keyerror-indices/162125/3 "2018-12-26T16:55:22Z")

</div>

This error suggests that no indices were found based on the filters in place, or something along those lines. Without more of the surrounding log lines I can’t offer more certainty.

---

<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:** [January 23, 2019, 4:55pm UTC](https://discuss.elastic.co/t/snapshort-backups-failed-to-complete-action-snapshot-type-exceptions-keyerror-indices/162125/4 "2019-01-23T16:55:25Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
