MinIO for S3Client.getObjectAttributes() request returns JSON but AWS SDK expects XML and fails

0

AWS SDK for Java. MinIO, for S3Client.getObjectAttributes() request returns JSON but AWS SDK expects XML and fails How to configure AWS SDK or MinIO to work for S3Client.getObjectAttributes()? MinIO at https://min.io/ - offers S3 compatible object storage.

asked 2 years ago889 views
1 Answer
0
Accepted Answer

Answer: MinIO server just didn't implemented getObjectAttributes() request. Response for this request is content of the object, not its attributes. It was json file; so, JSON object was returned.

To obtain S3 object metadata instead of getObjectAttributes() you could use headObject().

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions