# Failed Snapshot using S3 Repository

**URL:** <https://discuss.elastic.co/t/failed-snapshot-using-s3-repository/348682>\
**Category:** Elasticsearch\
**Tags:** snapshot-and-restore\
**Created:** [December 5, 2023, 9:18pm UTC](https://discuss.elastic.co/t/failed-snapshot-using-s3-repository/348682 "2023-12-05T21:18:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![iTiago](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/itiago/32/142800_2.png) [@iTiago](https://discuss.elastic.co/u/iTiago)\
**Post date:** [December 5, 2023, 9:18pm UTC](https://discuss.elastic.co/t/failed-snapshot-using-s3-repository/348682/1 "2023-12-05T21:18:24Z")

</div>

Guys, I am trying to take a snapshot of all my indexes in an S3 repository, I already checked the credentials and so on at the time of creating it and there was no problem, the problem occurs at the time of taking the snapshot.

```auto
PUT _snapshot/s3_bucket/snapshot12052023?wait_for_completion=false
{
  "indices": "_all",
  "ignore_unavailable": true,
  "include_global_state": false
}

```

When I run it I get this

```auto
{
  "error" : {
    "root_cause" : [
      {
        "type" : "repository_exception",
        "reason" : "[s3_bucket] Unexpected exception when loading repository data"
      }
    ],
    "type" : "repository_exception",
    "reason" : "[s3_bucket] Unexpected exception when loading repository data",
    "caused_by" : {
      "type" : "illegal_argument_exception",
      "reason" : "the version needs to contain major, minor, and revision, and optionally the build: 8100299"
    }
  },
  "status" : 500
}

```

I've tried searching through different forums and haven't found anything about it, any idea?

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [December 6, 2023, 3:13pm UTC](https://discuss.elastic.co/t/failed-snapshot-using-s3-repository/348682/2 "2023-12-06T15:13:32Z")

</div>

This is the known issue described in the [release notes](https://www.elastic.co/guide/en/elasticsearch/reference/current/release-notes-8.10.2.html).

---

<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 3, 2024, 3:14pm UTC](https://discuss.elastic.co/t/failed-snapshot-using-s3-repository/348682/3 "2024-01-03T15:14:19Z")

</div>

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