Upload failure to ONTAP S3 Bucket using AWS CLI – InvalidArgument Error
Applies to
- ONTAP 9
- ONTAP S3
- AWS CLI
Issue
- When attempting to upload an object to an ONTAP S3 bucket using the AWS CLI from a Windows or Linux client, the following error is encountered, despite the bucket having full ONTAP S3 permissions granted
PS> aws s3 cp Downloads/xxxxxxx.txt s3://<mybucket>/ --endpoint-url https://<custom endpoint>upload failed: Downloads\xxxxxxx.txt to s3://<mybucket>/xxxxxxx.txt An error occurred (InvalidArgument) when calling the PutObject operation: x-amz-content-sha256 must be UNSIGNED-PAYLOAD, STREAMING-AWS4-HMAC-SHA256-PAYLOAD or a valid sha256 value.
