Skip to Content
0
May 09, 2020 at 06:15 PM

B1if HTTP PUT Azure blob storage

82 Views

Hi,

I have created new scenario steps in BIF 2.0 to put files (format xml) in Azure blob storage througt the REST API.

I have successfully generate the SharedKey with other program, I am going through document (https://docs.microsoft.com/en-us/rest/api/storageservices/authorize-with-shared-key) to prepare authorization header for HTTP request.

But when I used the header in my call HTTP PUT B1if I have the error:

com.sap.b1i.xcellerator.XcelleratorException: XCE212 Error while performing HTTP call; HTTP status is 403, Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.

When I put the same payload & header request in an postman, I have a successful response and the file has uploaded.

Can you please suggest me how to succeed an HTTP Put from B1if to Blob Azure storage?

Regrads,

Amine

Attachments

b1ifputblob.jpg (164.6 kB)