ONTAP S3 PUT fails when the key includes special characters
Applies to
ONTAP S3
Issue
- The ONTAP S3 server responds with error
404 Bad Request
- From the AWS client we might see the following:
~/test$ aws s3 cp ./file-test.txt s3://bucket-test --endpoint-url https://my.url --ca-bundle ./my-cert.pem
upload:
./file-test.txt to s3://bucket-test/file-test.txt
~/test$ aws s3 cp ./file:test.txt s3://bucket-test --endpoint-url
https://my.url --ca-bundle ./my-cert.pem
upload failed: ./file:test.txt to s3://bucket-test/file:test.txt
An error occurred (InternalError) when calling the PutObject operation: We encountered an internal error. Please try again.