ECS: AWS CLI fails with "Missing required header for this request: Content-MD5"
Summary: Since Amazon Web Services CLI version 2.23.0 an error is reported for certain operations. The reason is the use of a new checksum algorithm.
Αυτό το άρθρο ισχύει για
Αυτό το άρθρο δεν ισχύει για
Αυτό το άρθρο δεν συνδέεται με κάποιο συγκεκριμένο προϊόν.
Δεν προσδιορίζονται όλες οι εκδόσεις προϊόντων σε αυτό το άρθρο.
Symptoms
Using AWS CLI 2.23.0 and later versions, for example for PutBucketLifecycleConfiguration or PutBucketReplication against an ECS results in an error like the following:
"An error occurred (InvalidRequest) when calling the PutBucketLifecycleConfiguration operation: Missing required header for this request: Content-MD5"
Example:
aws --version aws-cli/2.24.1 Python/3.12.6 Linux/5.15.167.4-microsoft-standard-WSL2 exe/x86_64.ubuntu.24 aws --profile=Gen3 --endpoint-url=http://X.X.X.X:9020 s3api put-bucket-lifecycle-configuration --bucket bkt_01 --lifecycle-configuration file://lifecycle_01.json An error occurred (InvalidRequest) when calling the PutBucketLifecycleConfiguration operation: Missing required header for this request: Content-MD5
Cause
A change in AWS CLI 2.23.0 (and later versions) uses a new checksum algorithm by default for S3 operations.
AWS CLI now uses x-amz-sdk-checksum-algorithm: CRC64NVME
Resolution
Use AWS CLI versions earlier than version 2.23.0 or other S3 clients. ECS CRC64NVME support will be provided in a future release.
Επηρεαζόμενα προϊόντα
ECS, ECS Appliance, ECS Appliance Hardware Series, ECS Appliance Software with Encryption, ECS Appliance Software without EncryptionΙδιότητες άρθρου
Article Number: 000299507
Article Type: Solution
Τελευταία τροποποίηση: 11 Νοε 2025
Version: 3
Βρείτε απαντήσεις στις ερωτήσεις σας από άλλους χρήστες της Dell
Υπηρεσίες υποστήριξης
Ελέγξτε αν η συσκευή σας καλύπτεται από τις Υπηρεσίες υποστήριξης.