Open
Description
Bug Report
Q | A |
---|---|
Flysystem Version | 3.29.1 |
Adapter Name | aws-s3-v3 |
Adapter version | 3.29.0 |
Summary
Since the last update of the "aws/aws-sdk-php" package (3.337.3), when we use the 'deleteDirectory' function, we get the following error:
<Error><Code>InvalidRequest</Code><Message>Missing required header for this request: Content-MD5</Message><Resource>/s3app-xxxxxxxxx?delete</Resource><RequestId>xxxxxxxxx</RequestId></Error>"
We had to downgrade the aws version to 3.336.6 to avoid this error.
According to ChatGPT, this is due to the latest update of the "aws/aws-sdk-php" package, which no longer automatically adds the Content-MD5 header.
How to reproduce
Update "aws/aws-sdk-php" package to version 3.337.3 and try to delete directory with the library flysystem on S3.
Thank you in advance for your help
Metadata
Metadata
Assignees
Labels
No labels