我有一个具有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' –