question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ListBlobs() > Missing mandatory parameters for valid Shared Access Signature

See original GitHub issue

Hello, I’m trying to list the blobs in side a container using a sas token

CloudBlobClient blobClient = new CloudBlobClient(new Uri("<token>"));
CloudBlobContainer container = blobClient.GetContainerReference("test");
var b = container.ListBlobs().ToList();

I do see request being made in fiddler and it does appear to return the data I expect, but the sdk throws an error

An unhandled exception of type 'Microsoft.WindowsAzure.Storage.StorageException' occurred in Microsoft.WindowsAzure.Storage.dll
Additional information: Missing mandatory parameters for valid Shared Access Signature

i’m using Microsoft.WindowsAzure.Storage.dll version 7.2.1 from nuget. is this a bug or am I missing something? the sas url also works fine in storage explorer

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
erezvani1529commented, Dec 23, 2016

Hi @aL3891,

Closing this issue with the change included in the latest published package on nuget v8.0.0

Thanks!

1reaction
aL3891commented, Oct 19, 2016

That does work, thanks again!

Read more comments on GitHub >

github_iconTop Results From Across the Web

'Missing mandatory parameters for valid Shared Access ...
When using the account SAS URIs to access blobs, I'm now seeing the error 'Missing mandatory parameters for valid Shared Access Signature'.
Read more >
Create a service SAS - Azure Storage
A service shared access signature (SAS) delegates access to a resource in just one of the storage services: Azure Blob Storage, Azure Queue ......
Read more >
Grant limited access to data with shared access signatures ...
Learn about using shared access signatures (SAS) to delegate access to Azure Storage resources, including blobs, queues, tables, and files.
Read more >
Can't create working Shared Access Signature for Azure Files
1 Answer 1 · Service-level SAS URL, i.e. the one you got from Storage Explorer. It's in the format of fileEndPoint/fileShareName?SASToken .
Read more >
Granting access to Azure Storage with shared ...
Shared access signature (SAS) tokens let you grant restricted access to storage account resources in Microsoft Azure.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found