# Failed to complete action: snapshot. \<class 'KeyError'\>: 'indices'

**URL:** <https://discuss.elastic.co/t/failed-to-complete-action-snapshot-class-keyerror-indices/361109>\
**Category:** Elasticsearch\
**Tags:** snapshot-and-restore\
**Created:** [June 9, 2024, 2:50pm UTC](https://discuss.elastic.co/t/failed-to-complete-action-snapshot-class-keyerror-indices/361109 "2024-06-09T14:50:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mayank\_Kumar2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mayank_kumar2/32/135022_2.png) [@Mayank\_Kumar2](https://discuss.elastic.co/u/Mayank_Kumar2)\
**Post date:** [June 9, 2024, 2:50pm UTC](https://discuss.elastic.co/t/failed-to-complete-action-snapshot-class-keyerror-indices/361109/1 "2024-06-09T14:50:40Z")

</div>

Hello,  
I am stucked here, so I have configured curator to take snapshots on tha daily basis. but it fails with the error "Failed to complete action: snapshot. \<class 'KeyError'\>: 'indices'"  
when I manually ran the curator command to take the snapshot it worked fine.  
"curator --config /etc/curator/config.yaml /etc/curator/actions/cmx-daily.yaml"  
curator, version 5.7.6  
~[elasticsearch-7.9.2.jar:7.9.2]

log---\> 2024-06-09 04:00:02,179 INFO Preparing Action ID: 1, "snapshot"  
2024-06-09 04:00:02,186 INFO Trying Action ID: 1, "snapshot": Create a daily snapshot of current month  
2024-06-09 04:00:03,888 ERROR Failed to complete action: snapshot. \<class 'KeyError'\>: 'indices'

Thanks  
Mayank kumar

---

<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:** [June 10, 2024, 3:13am UTC](https://discuss.elastic.co/t/failed-to-complete-action-snapshot-class-keyerror-indices/361109/2 "2024-06-10T03:13:00Z")

</div>

Curator 5.7.6 is very old and has not been updated in quite some time (nor will it be).

Curator versions 6, 7, and 8 are out, each designed to work with their respective versions of Elasticsearch. Please pick one of those and let me know if things are still not working as expected.

---

<div class="post-metadata">

**Author:** ![Mayank\_Kumar2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mayank_kumar2/32/135022_2.png) [@Mayank\_Kumar2](https://discuss.elastic.co/u/Mayank_Kumar2)\
**Post date:** [June 12, 2024, 5:51am UTC](https://discuss.elastic.co/t/failed-to-complete-action-snapshot-class-keyerror-indices/361109/3 "2024-06-12T05:51:56Z")

</div>

Hi thanks for the reply, do we have rpm for curator 7 ?

---

<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:** [June 12, 2024, 1:17pm UTC](https://discuss.elastic.co/t/failed-to-complete-action-snapshot-class-keyerror-indices/361109/4 "2024-06-12T13:17:45Z")

</div>

No. RPM distribution was discontinued due to compatibility issues.
