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 15 days ago5 views
1 Answers
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 11 days ago
Relevant questions
How to use JS SDK V3 to getItem from DAX: "@aws-sdk/client-dax" instead of "amazon-dax-client"
Accepted Answerasked 4 months agoSign API Gateway Request with Android SDK
Accepted Answerasked 3 years agoCustomMessage lambda not getting clientMetata from forgotPassword()
asked 2 years agoJava 2.X Lambda RequestHandler and Context documentation
asked 4 months agoCognito - CustomSMSSender InvalidCiphertextException: null on Code Decrypt (Golang)
asked 4 months agoMalformed XML when setting bucket lifecycle with Go SDK
asked a month agoAWS Encryption SDK for Go?
asked 4 months agoMinIO for S3Client.getObjectAttributes() request returns JSON but AWS SDK expects XML and fails
Accepted Answerasked 15 days agoDoes Babelfish support XML? How can I use XML?
asked 12 days agoDetectLabels doesn't returns instances information
Accepted Answerasked 3 years ago