我有一個具有AmazonS3FullAccess
策略權限的用戶,我的存儲桶名稱爲abcxyzchristest
。AWS s3 cp命令返回:調用ListObjects操作時發生錯誤(InvalidRequest)
我已經用上述用戶配置了AWS cli。
當運行aws s3 cp --region eu s3://abcxyzchristest/ abcxyz
我得到:
fatal error: An error occurred (InvalidRequest) when calling the ListObjects operation: Missing required header for this request: x-amz-content-sha256
什麼是錯誤的原因是什麼?
可能是'eu'不是地區?例如,它應該是'eu-west-1'。你可以插入你的完整區域,然後再試一次嗎? –
如何確定我的存儲桶位於哪個區域?它只是在S3控制檯上說'歐盟(法蘭克福)' –
請點擊此處:http://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region法蘭克福是'eu-central-1' –