Skip to main content
NetApp Knowledge Base

CONTAP-576720: S3-Server: Add support for x-amz-content-sha256 = STREAMING-UNSIGNED-PAYLOAD-TRAILER

Views:
94
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
CORE
Last Updated:

Issue

  • If the the AWS CLI sends a unsupported value ("STREAMING-UNSIGNED-PAYLOAD-TRAILER") for the x-amz-content-sha256 HTTP header, the S3 object upload will fail with the below mesage
    • upload failed: ./file-to-upload.txt to s3://bucket/file-to-upload.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.
  • This failure is only expected when ./file-to-upload.txt is not large enough to elicit a multipart upload.
  • If the command run with the --debug parameter, the output will contain
    • x-amz-content-sha256:STREAMING-UNSIGNED-PAYLOAD-TRAILER

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.