ECS:AWS CLI が「Missing required header for this request: Content-MD5」
摘要: Amazon Web Services CLIバージョン2.23.0以降、特定の操作に対してエラーが報告されます。その理由は、新しいチェックサム アルゴリズムの使用にあります。
本文章適用於
本文章不適用於
本文無關於任何特定產品。
本文未識別所有產品版本。
症狀
AWS CLI 2.23.0 以降のバージョンを使用する (例: PutBucketLifecycleConfiguration または PutBucketReplication ECSに対して実行すると、次のようなエラーが発生します。
"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
原因
AWS CLI 2.23.0 (およびそれ以降のバージョン) の変更により、S3 オペレーションにデフォルトで新しいチェックサムアルゴリズムが使用されます。
AWS CLIでは、 x-amz-sdk-checksum-algorithm: CRC64NVME
解析度
バージョン 2.23.0 より前の AWS CLI バージョンまたはその他の S3 クライアントを使用します。ECS CRC64NVMEのサポートは、今後のリリースで提供される予定です。
受影響的產品
ECS, ECS Appliance, ECS Appliance Hardware Series, ECS Appliance Software with Encryption, ECS Appliance Software without Encryption文章屬性
文章編號: 000299507
文章類型: Solution
上次修改時間: 11 11月 2025
版本: 3
向其他 Dell 使用者尋求您問題的答案
支援服務
檢查您的裝置是否在支援服務的涵蓋範圍內。