An error occurred (InvalidRequest) when calling the ListObjects operation: Missing required header for this request: x-amz-content-sha256

  • c4016675
    (냉장고를사다줘)
  • c4016675's Avatar 이 글의 작성자
  • Offline
  • Junior
  • Junior
더보기
05 Oct 2018 14:36 - 05 Oct 2018 14:39 #3914 작성자: c4016675
c4016675 님의 글: An error occurred (InvalidRequest) when calling the ListObjects operation: Missing required header for this request: x-amz-content-sha256
1. 현상

aws s3 ls s3://버킷명

시에

An error occurred (InvalidRequest) when calling the ListObjects operation: Missing required header for this request: x-amz-content-sha256

에러가 났다.

2. 해결

현재 aws cli 버전 확인

$ aws --version
aws-cli/1.11.13 Python/3.5.2 Linux/4.4.0-1061-aws botocore/1.4.70

aws cli 업그레이드

다시 aws cli 버전 확인

$ aws --version
aws-cli/1.16.27 Python/3.5.2 Linux/4.4.0-1061-aws botocore/1.12.17
Time to create page: 0.048 seconds
Powered by Kunena Forum