# Issue with restoring S3 snapshots - 403 InvalidObjectState

**URL:** <https://discuss.elastic.co/t/issue-with-restoring-s3-snapshots-403-invalidobjectstate/304608>\
**Category:** Elasticsearch\
**Tags:** snapshot-and-restore\
**Created:** [May 12, 2022, 4:34pm UTC](https://discuss.elastic.co/t/issue-with-restoring-s3-snapshots-403-invalidobjectstate/304608 "2022-05-12T16:34:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![leftyk](https://avatars.discourse-cdn.com/v4/letter/l/71c47a/32.png) [@leftyk](https://discuss.elastic.co/u/leftyk)\
**Post date:** [May 12, 2022, 4:34pm UTC](https://discuss.elastic.co/t/issue-with-restoring-s3-snapshots-403-invalidobjectstate/304608/1 "2022-05-12T16:34:58Z")

</div>

We are taking snapshots on a Hitach S3 compatible Storage system - lately we are receiving multple errors for missing snapshots the root cause being:

com.amazonaws.services.s3.model.AmazonS3Exception: The operation is not valid for the current state of the object. (Service: Amazon S3; Status Code: 403; Error  
Code: InvalidObjectState; Request ID: 1652336376002; S3 Extended Request ID: ZmFsYWgtaGNwLmV0aXNhbGF0LmNvcnAuYWU6MTEy)

What does InvalidObjectState mean? and how can we fix it?  
We had reached 100% storage capacity and snapshots had failed - since then we deleted multiple snapshots but still are getting issues. In addition even though the snapshots were deleted and we did a muanual cleanup of the repository the storage was not freed

---

<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:** [June 9, 2022, 4:35pm UTC](https://discuss.elastic.co/t/issue-with-restoring-s3-snapshots-403-invalidobjectstate/304608/2 "2022-06-09T16:35:55Z")

</div>

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