Q: How can I setup Azure Blob Storage with Terra API

RegionalHornet1 month ago

I have been trying to setup the Azure Blob Storage destination provided by Terra to store the raw health data files, but I keep recieving the same error message when I paste the SAS url into the modal: "Insufficient permissions - invalid SAS url provided". Unsure how to fix this, is there something I am doing wrong?

terra

Danieladmin1 month ago

Hello there, This error message indicates the SAS URL points to a valid bucket, however the signature does not allow Terra to perform the necessary operations to populate your bucket with health and fitness data. When generating the URL, make sure the check the appropriate permissions to allow Terra to Read, Update, Create, Add, Delete files.

You will know the URL is valid when it contains the query parameter sp=racwd which indicates all the necessary permissions have been provided.


RegionalHornet1 month ago

That worked! Thank you. Why does Terra need the delete permission? Why would files ever be deleted in this case


terra

Danieladmin1 month ago

Good question, the Delete permission is only used when setting up the destination for the first time. We write and delete a healthcheck file to the destination in order to test the connection


RegionalHornet1 month ago

Got it, thank you