I am trying to upload an xlsx file to Azure Blob Storage using the REST Web Services action. I have tried setting the Content type to Custom with application/vnd.openxmlformats-officedocument.spreadsheetml.sheet as the type and then adding in the filepath in the parameters/substitution sections but that doesn’t upload the file correctly.
I have also tried using multipart/form-data as the content type and adding in a parameter of type File with the filepath which uploads the file but the content of the file is all scrambled and random characters.
How do I upload an xlsx file to Azure Blob Storage using AA?
I am trying something similar but uploading a jpeg to Azure share. The Content-Length is calculated incorrectly when choosing multipart/form-data so I get an error -
“<?xml version="1.0" encoding="utf-8"?><Error><Code>InvalidHeaderValue</Code><Message>The value for one of the HTTP headers is not in the correct format. RequestId:da00e011-801a-0076-15c5-ce648c000000 Time:2023-08-14T15:37:46.2817174Z</Message><HeaderName>Content-Length</HeaderName><HeaderValue>23949</HeaderValue></Error>
Resolved!
Hi @ID55 ,
We are also facing error when uploading xlsx file, could you please explain the steps in detail.
Thanks,
RR
Hi ID55,
I am also facing the same issue, Could you please explain the steps and let me know if any packages required to add.