VK Cloud logo

x-amz-content-sha256 error when working with AWS CLI v2

When working with object storage, the message x-amz-content-sha256 must be UNSIGNED-PAYLOAD appears.

This may be caused by the use of AWS CLI version 2.

Solution

Add the --no-sign-request flag to your command or configure your AWS CLI profile to use signature version 2 (SigV2).

Was this article helpful?