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.

preguntada hace 2 años935 visualizaciones
1 Respuesta
0
Respuesta aceptada

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().

respondido hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas