# AWS authentication requires a valid Date or x-amz-date header

**URL:** <https://discuss.elastic.co/t/aws-authentication-requires-a-valid-date-or-x-amz-date-header/43330>\
**Category:** Elasticsearch\
**Created:** [March 3, 2016, 2:39am UTC](https://discuss.elastic.co/t/aws-authentication-requires-a-valid-date-or-x-amz-date-header/43330 "2016-03-03T02:39:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Azman\_Ahmad](https://avatars.discourse-cdn.com/v4/letter/a/e495f1/32.png) [@Azman\_Ahmad](https://discuss.elastic.co/u/Azman_Ahmad)\
**Post date:** [March 3, 2016, 2:39am UTC](https://discuss.elastic.co/t/aws-authentication-requires-a-valid-date-or-x-amz-date-header/43330/1 "2016-03-03T02:39:48Z")

</div>

when I snapshots to AWS S3. Has 3 data nodes & 3 master nodes. all 6 nodes yml config aws plugin & aws s3 keys. Thanks in advance.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [March 3, 2016, 9:39am UTC](https://discuss.elastic.co/t/aws-authentication-requires-a-valid-date-or-x-amz-date-header/43330/2 "2016-03-03T09:39:03Z")

</div>

Is this an error or something that you are seeing?

---

<div class="post-metadata">

**Author:** ![Azman\_Ahmad](https://avatars.discourse-cdn.com/v4/letter/a/e495f1/32.png) [@Azman\_Ahmad](https://discuss.elastic.co/u/Azman_Ahmad)\
**Post date:** [March 7, 2016, 2:08am UTC](https://discuss.elastic.co/t/aws-authentication-requires-a-valid-date-or-x-amz-date-header/43330/3 "2016-03-07T02:08:27Z")

</div>

yes . it is an error. not able to backup es to S3 due to this. My current environment as below ;

1. java version "1.8.0\_66"
2. ES 1.5.1
3. 4xClients, 3xMaster nodes & 4xdata nodes
4. yml config to all nodes  
cloud.aws.access\_key: "xxxx"  
cloud.aws.secret\_key: "xxx"  
cloud.aws.region: "ap-southeast-1"  
plugin.mandatory: "cloud-aws" = v2.5.1  
cloud.aws.bucket: "xxxxxxxxxx"

Thanks.

---

<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:10pm UTC](https://discuss.elastic.co/t/aws-authentication-requires-a-valid-date-or-x-amz-date-header/43330/4 "2017-07-05T23:10:53Z")

</div>


