Question
AWS S3 headObject method doesn't return custom metadata in response
So I’m trying to get some of the metadata from Spaces but when I use headObject()
from the S3
javascript library I get an empty metadata: {}
object.
Using postman I can see my custom metadata in there when using the call referenced in the documentation but it doesn’t come through the S3 library.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×