Writing to S3 Bucket with 'Object Lock'

benmoss Partner, Dataiku DSS Core Designer, Dataiku DSS Adv Designer, Registered Posts: 10 Partner

Hi all,

We have an S3 bucket with 'Object Lock' enabled for the purpose of regulatory requirements, this means that once a file is written, that original version is stored for a set-period of time and cannot be removed.

The Object Lock is enabled for any additional file added to the bucket.

However, we have bumped into an issue when trying to write data into this bucket, specifically we recieve an error which indicates that the 'Content-MD5 OR x-amz-checksum- HTTP header is required for Put Part requests with Object Lock parameters'.

This is also outlined in AWS's documentation for object lock objects: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html

Has anyone any experience with writing data into an object lock bucket that can advise on how they worked around this issue?

Operating system used: Windows



Setup Info
      Help me…