• Zain Ameerullah
  • NEWBIE
  • 0 Points
  • Member since 2019

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies
Hi,
Thank you for reading my question first. I am facing difficulty in connecting to Azure Blob from Salesforce APEX class.
I am following this example from and following link for reference
 https://github.com/nagensahu/AzureBlobStorage-Salesforce/blob/master/Readme.md
This is in the end my header looks like
x-ms-date: Wed, 11 Mar 2020 00:36:39 GMT
x-ms-version : 2015-12-11 Content-Length : 213980
Authorization: SharedKey zaindevtesting:6SfwH21pfpr9NiiK8PXXL9IMOs9SWNEvl3Elj2Jfc3w%3D
Content-Type:application/pdf
Request Type PUT 
https://zaindevtesting.blob.core.windows.net/zaindevblob/Consent+form+%281%29.pdf
I have tried using postman but getting same. You can use same Link to access my test Azure from postman and let me know if some information is required.
I am trying to upload file from sales force but getting following error.
 
<?xml version="1.0" encoding="utf-8"?>
<Error>
    <Code>InvalidAuthenticationInfo</Code>
    <Message>Authentication information is not given in the correct format. Check the value of Authorization header.
RequestId:6b4f54fd-501e-0013-5f9e-f6c88c000000
Time:2020-03-10T05:43:44.8911977Z</Message>
</Error>