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!

Comments

ruiadr created an issue.