R2 custom metadata not being set
Hello everyone, I'm trying to add some metadata when uploading images to R2 via signed url. Here's the snippet:
When I go to the dashboard I see "no custom metadata set".
5 Replies
Update
I tried adding the metadata headers manually to the PUT request to the signed URL and it works.
Is this intended behavior? What's the point of the
Metadata
parameter in the signed url?Same issue, did you find a solution to this?
Same issue here
If I'm understanding what you are saying here, signing it just means that R2 will accept a request with that metadata, not that it will apply that metadata automatically
Thanks @Hard@Work | R2 - I think there's indeed a misunderstanding then. I guess the best way forward is to go for direct to worker upload, rather than via a signed url.