Error executing "DeleteObjects" on ... MissingContentMD5Missing required header for this request (S3)

Created on 22 January 2025, about 2 months ago

Hello, since version 3.337.0 of the vendor aws/aws-sdk-php, we can sometimes encounter an error indicating that the request is not valid.

To reproduce easily:

  • Go to the Drupal admin: /admin/config/media/image-styles
  • Edit an image style
  • Save

The error occurs if the style directory in the bucket contains a subdirectory.

By downgrading to the latest previous version, 3.336.15, everything works correctly.

It might be related to https://github.com/aws/aws-sdk-php/pull/2999.

Do you have any idea?
Thank you!

🐛 Bug report
Status

Active

Version

2.1

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024