# Elasticsearch snapshot\_missing\_exception in fetching all snapshots

**URL:** <https://discuss.elastic.co/t/elasticsearch-snapshot-missing-exception-in-fetching-all-snapshots/138722>\
**Category:** Elasticsearch\
**Created:** [July 5, 2018, 1:19pm UTC](https://discuss.elastic.co/t/elasticsearch-snapshot-missing-exception-in-fetching-all-snapshots/138722 "2018-07-05T13:19:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vaidabhishek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vaidabhishek/32/22766_2.png) [@vaidabhishek](https://discuss.elastic.co/u/vaidabhishek)\
**Post date:** [July 5, 2018, 1:19pm UTC](https://discuss.elastic.co/t/elasticsearch-snapshot-missing-exception-in-fetching-all-snapshots/138722/1 "2018-07-05T13:19:39Z")

</div>

- I accidentally deleted folder from S3 directory where ES was storing its snapshots. There are still valid snapshots and their folders but running a command `GET /_cat/snapshots/elk?v&s=id` gives back:

```auto
{
  "error": {
    "root_cause": [
      {
        "type": "snapshot_missing_exception",
        "reason": "[elk:uc_daily_snapshot_2018-05-01/iNHSOW4JQjO0ivbqDMyWSw] is missing"
      }
    ],
    "type": "snapshot_exception",
    "reason": "[elk:uc_daily_snapshot_2018-05-01/iNHSOW4JQjO0ivbqDMyWSw] Snapshot could not be read",
    "caused_by": {
      "type": "snapshot_missing_exception",
      "reason": "[elk:uc_daily_snapshot_2018-05-01/iNHSOW4JQjO0ivbqDMyWSw] is missing",
      "caused_by": {
        "type": "no_such_file_exception",
        "reason": "Blob object [snap-iNHSOW4JQjO0ivbqDMyWSw.dat] not found: The specified key does not exist. (Service: Amazon S3; Status Code: 404; Error Code: NoSuchKey; Request ID: 708A5FA214BEEABE; S3 Extended Request ID: jG/mqlkEF1N7uWEkN8OF3lnSqN48JlyKWT7roS6hyS/nNBFV5hf56NWzcchYeP99e6bLntbm65c=)"
      }
    }
  },
  "status": 500
}

```

- Basically, I want to purge missing snapshots which are externally deleted without ES Snapshot API.

---

<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:** [August 2, 2018, 1:19pm UTC](https://discuss.elastic.co/t/elasticsearch-snapshot-missing-exception-in-fetching-all-snapshots/138722/2 "2018-08-02T13:19:41Z")

</div>

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