Discussions

Ask a Question
Back to All

Error when using an Azure Storage Account with SAS as result_url

I'm migrating an app that uploads the Talks result in an S3 to upload the result on an Azure Storage Account. It works perfectly with S3, but when using an Azure SAS URL I am getting the following error:

{"kind": "BadRequestError", "description": "invalid presigned url"}

I believe the problem is due to an Azure header requirement: To upload a blob to an Azure Storage account it is required to include thex-ms-blob-type header in the PUT request.

Is there a way to include extra headers in the PUT request that D-ID api does?

Thanks,

Mario.