# S3 - setting and verifying repo issue

**URL:** <https://discuss.elastic.co/t/s3-setting-and-verifying-repo-issue/286661>\
**Category:** Elasticsearch\
**Tags:** snapshot-and-restore\
**Created:** [October 13, 2021, 8:35pm UTC](https://discuss.elastic.co/t/s3-setting-and-verifying-repo-issue/286661 "2021-10-13T20:35:42Z")\
**Posts on this page:** 1\
**Showing post:** 28

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [October 15, 2021, 6:59pm UTC](https://discuss.elastic.co/t/s3-setting-and-verifying-repo-issue/286661/28 "2021-10-15T18:59:14Z")

</div>

Perhaps try

```
"path_style_access" : true

```

```auto
PUT _snapshot/my_s3_repository
{
  "type": "s3",
  "settings": {
    "bucket": "my-bucket",
    "endpoint" : "hostname:5500",
    "protocol" : "http",
    "path_style_access" : true
  }
}

```

[https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-bucket-intro.html](https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-bucket-intro.html)

---

_[View the full topic](https://discuss.elastic.co/t/s3-setting-and-verifying-repo-issue/286661)._
