Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

c# package, problem to send files to IONOS S3 with objects locks #1205

Open
MarcAndreSG opened this issue Nov 7, 2024 · 1 comment
Open

Comments

@MarcAndreSG
Copy link

Hello everyone,

I have a problem with the C# package.
I keep getting the same error message when transferring data to the IONOS S3 storage:

"Content-MD5 HTTP header is required for Put Object requests with Object Lock parameters"

I have set the MD5 content:
2024-11-07_07h45_42

And yet I still get this error message

A colleague pointed it out to me,
that the name that was transferred

“X-Amz-Meta-Content-Md5”

would be!?

I told him no, I use “Content-Md5”

Then I debugged the code:
2024-11-07_07h50_39

You see the name is an other, as I set.
Monio does not use the name given, but uses his own.

My question is why is that?
Is that correct?
Is this a bug?

@klauspost klauspost transferred this issue from minio/minio Nov 7, 2024
@klauspost
Copy link

I don't know much about this package, but Content-MD5 is added if WithRetentionConfiguration has been set.

I don't know if there is any other way of setting it, so I will leave it here for someone more deeply into this package to look at it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants