# Error i\_o\_exception on s3 repository

**URL:** <https://discuss.elastic.co/t/error-i-o-exception-on-s3-repository/288128>\
**Category:** Elasticsearch\
**Tags:** snapshot-and-restore\
**Created:** [November 1, 2021, 10:40am UTC](https://discuss.elastic.co/t/error-i-o-exception-on-s3-repository/288128 "2021-11-01T10:40:00Z")\
**Posts on this page:** 1\
**Showing post:** 6

<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:** [November 2, 2021, 3:59pm UTC](https://discuss.elastic.co/t/error-i-o-exception-on-s3-repository/288128/6 "2021-11-02T15:59:16Z")

</div>

Hi @alfianaf

[Here](https://discuss.elastic.co/t/s3-setting-and-verifying-repo-issue/286661/28) is rather a lengthy thread on S3 On Prem perhaps there will some help

In the End it was the `s3.client.default.path_style_access` parameter that needed to be set.

---

_[View the full topic](https://discuss.elastic.co/t/error-i-o-exception-on-s3-repository/288128)._
