1

I am trying to run this command aws s3 sync images/ s3://mybucket/myfolder I get an error

A client error (InvalidRequest) occurred when calling the ListObjects operation: The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256

How to fix it?

Thank you.

Sumith S Nair
  • 141
  • 1
  • 11

1 Answers1

0

This is happening because your region must be supporting the new AWS4-HMAC-SHA256 and your AWS CLI version must be old. Upgrade your AWS CLI version and that error will go.

error2007s
  • 12,666
  • 5
  • 31
  • 47