Kar olis
TTCTheo's Typesafe Cult
•Created by Kar olis on 7/7/2024 in #questions
Azure blob storage
Hello, I'm using T3 stack and want to send image (Buffer) to azure blob storage in back-end (await blockBlobClient.upload(...)). However, I get error:
"Code": "MissingRequiredHeader",
"Message": "An HTTP header that's mandatory for this request is not specified.\nRequestId:...",
"HeaderName": "x-ms-blob-type"
Does anyone know why? I tried to add header to response, but it didn't help. blockBlobClient.upload(...) should add header by default.
On a simple node program it uploads with no error, so the code must be fine
8 replies