ECS: Interfejs wiersza polecenia platformy AWS kończy się niepowodzeniem z komunikatem "Missing required header for this request: Content-MD5"

Summary: Od interfejsu wiersza polecenia Amazon Web Services w wersji 2.23.0 dla niektórych operacji zgłaszany jest błąd. Powodem jest zastosowanie nowego algorytmu sumy kontrolnej.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

Korzystanie z AWS CLI 2.23.0 i nowszych wersji, na przykład dla PutBucketLifecycleConfiguration lub PutBucketReplication przeciwko ECS powoduje błąd podobny do następującego:

"An error occurred (InvalidRequest) when calling the PutBucketLifecycleConfiguration operation: Missing required header for this request: Content-MD5"

Przykład:

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

Zmiana w interfejsie AWS CLI 2.23.0 (i nowszych wersjach) domyślnie używa nowego algorytmu sumy kontrolnej dla operacji S3. 
AWS CLI używa teraz x-amz-sdk-checksum-algorithm: CRC64NVME

Resolution

Użyj interfejsu wiersza polecenia platformy AWS w wersji starszej niż 2.23.0 lub innych klientów S3. Obsługa CRC64NVME ECS będzie zapewniona w przyszłej wersji.

Affected Products

ECS, ECS Appliance, ECS Appliance Hardware Series, ECS Appliance Software with Encryption, ECS Appliance Software without Encryption
Article Properties
Article Number: 000299507
Article Type: Solution
Last Modified: 11 Nov 2025
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.