You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which service(blob, file, queue, table) does this issue concern?
blob
Which version of the SDK was used?
"@azure/storage-blob":"^12.12.0"
What's the Node.js/Browser version?
Edge / Node.js 16.9.0
What problem was encountered?
generateBlobSASQueryParameters is not geneating correct SAS url for blobs, the signature generated is invalid as it doesn't add the blob string
AuthenticationFailed
Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature. RequestId:3ae15bdc-901e-0008-435e-245108000000 Time:2023-01-09T19:10:25.9697563Z
Signature did not match. String to sign used was r 2023-01-09T19:10:07Z 2023-01-09T19:11:34Z /blob/cs2100320024a648bca/azureblob-skillset-2-image-projection 2021-10-04 c
In the error message in string is the location of container , the path of the blob is not specified/added even though it is passed as parameter.
Which service(blob, file, queue, table) does this issue concern?
blob
Which version of the SDK was used?
"@azure/storage-blob":"^12.12.0"
What's the Node.js/Browser version?
Edge / Node.js 16.9.0
What problem was encountered?
generateBlobSASQueryParameters is not geneating correct SAS url for blobs, the signature generated is invalid as it doesn't add the blob string
AuthenticationFailed
Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature. RequestId:3ae15bdc-901e-0008-435e-245108000000 Time:2023-01-09T19:10:25.9697563Z Signature did not match. String to sign used was r 2023-01-09T19:10:07Z 2023-01-09T19:11:34Z /blob/cs2100320024a648bca/azureblob-skillset-2-image-projection 2021-10-04 cIn the error message in string is the location of container , the path of the blob is not specified/added even though it is passed as parameter.
Steps to reproduce the issue?
const { BlobServiceClient, BlobClient, generateBlobSASQueryParameters,BlobSASSignatureValues, BlobSASPermissions ,StorageSharedKeyCredential} = require("@azure/storage-blob");
const account_name = 'XXX';
const account_key = 'XXXX';
const container_name = 'XXXXX'
module.exports = async function (context, req) {
// context.log(url);
// console.log(url)
};
const get_blob_sas = (account_name,account_key, container_name, blob_name) => {
}
Have you found a mitigation/solution?
No
The text was updated successfully, but these errors were encountered: