# Elasticsearch 1.7.4 failed "error":"AmazonS3Exception

**URL:** <https://discuss.elastic.co/t/elasticsearch-1-7-4-failed-error-amazons3exception/41614>\
**Category:** Elasticsearch\
**Created:** [February 12, 2016, 1:26pm UTC](https://discuss.elastic.co/t/elasticsearch-1-7-4-failed-error-amazons3exception/41614 "2016-02-12T13:26:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vishal\_Singh1](https://avatars.discourse-cdn.com/v4/letter/v/439d5e/32.png) [@Vishal\_Singh1](https://discuss.elastic.co/u/Vishal_Singh1)\
**Post date:** [February 12, 2016, 1:26pm UTC](https://discuss.elastic.co/t/elasticsearch-1-7-4-failed-error-amazons3exception/41614/1 "2016-02-12T13:26:52Z")

</div>

curl -XPUT '[http://localhost:9200/\_snapshot/my\_cluster1\_repository](http://localhost:9200/_snapshot/my_cluster1_repository)' -d '{  
"type": "s3",  
"settings": {  
"bucket": "my-backup",  
"region": "us-east",  
"base\_path": "my\_backup/",  
"compress": true,  
"access\_key": "",  
"secret\_key": ""  
}  
}'

I do not have delete permission and I cannot get it also. Is there anyway to set the policy with only readonly option? I will really appreciate any help.

I get this error

Access Denied (Service: Amazon S3; Status Code: 403; Error Code: AccessDenied; =  
at com.amazonaws.http.AmazonHttpClient.handleErrorResponse(AmazonHttpClient.java:1182)  
at com.amazonaws.http.AmazonHttpClient.executeOneRequest(AmazonHttpClient.java:770)  
at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:489)  
at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:310)  
at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:3604)  
at com.amazonaws.services.s3.AmazonS3Client.deleteObject(AmazonS3Client.java:1729)  
at com.amazonaws.services.s3.AmazonS3Client.deleteObject(AmazonS3Client.java:1716)  
at org.elasticsearch.cloud.aws.blobstore.S3BlobContainer.deleteBlob(S3BlobContainer.java:73)  
at org.elasticsearch.common.blobstore.support.AbstractBlobContainer.deleteBlobsByPrefix(AbstractBlobContainer.java:49)  
at org.elasticsearch.repositories.blobstore.BlobStoreRepository.endVerification(BlobStoreRepository.java:701)  
at org.elasticsearch.repositories.RepositoriesService$3.onResponse(RepositoriesService.java:221)  
at org.elasticsearch.repositories.RepositoriesService$3.onResponse(RepositoriesService.java:217)  
at org.elasticsearch.repositories.VerifyNodeRepositoryAction.finishVerification(VerifyNodeRepositoryAction.java:116)  
at org.elasticsearch.repositories.VerifyNodeRepositoryAction.verify(VerifyNodeRepositoryAction.java:92)  
at org.elasticsearch.repositories.RepositoriesService.verifyRepository(RepositoriesService.java:217)  
at org.elasticsearch.repositories.RepositoriesService$VerifyingRegisterRepositoryListener.onResponse(RepositoriesService.java:439)  
at org.elasticsearch.repositories.RepositoriesService$VerifyingRegisterRepositoryListener.onResponse(RepositoriesService.java:424)  
at org.elasticsearch.cluster.AckedClusterStateUpdateTask.onAllNodesAcked(AckedClusterStateUpdateTask.java:58)  
at org.elasticsearch.cluster.service.InternalClusterService$AckCountDownListener.onNodeAck(InternalClusterService.java:758)  
at org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.run(InternalClusterService.java:507)  
at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:204)  
at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:167)  
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)  
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)  
at java.lang.Thread.run(Thread.java:745)

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [February 12, 2016, 4:36pm UTC](https://discuss.elastic.co/t/elasticsearch-1-7-4-failed-error-amazons3exception/41614/2 "2016-02-12T16:36:22Z")

</div>

It's somehow the same question you asked at [Create repository with ES 1.7.4 with with no delete access to IAMCONSOLE?](https://discuss.elastic.co/t/create-repository-with-es-1-7-4-with-with-no-delete-access-to-iamconsole/41631) right?

---

<div class="post-metadata">

**Author:** ![Vishal\_Singh1](https://avatars.discourse-cdn.com/v4/letter/v/439d5e/32.png) [@Vishal\_Singh1](https://discuss.elastic.co/u/Vishal_Singh1)\
**Post date:** [February 12, 2016, 4:41pm UTC](https://discuss.elastic.co/t/elasticsearch-1-7-4-failed-error-amazons3exception/41614/3 "2016-02-12T16:41:25Z")

</div>

Yes, I am sorry. I wanted to explain more. I will link the topics.

---

<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:** [July 5, 2017, 11:16pm UTC](https://discuss.elastic.co/t/elasticsearch-1-7-4-failed-error-amazons3exception/41614/4 "2017-07-05T23:16:48Z")

</div>


