Access Azure Storage Blobs via a browser - InvalidQueryParameterValue

TheLoops 6 Reputation points
2023-04-03T16:47:34.33+00:00

Hi everyone. I'm trying to find a definitive answer. I am trying to give a Azure Storage Account Container SAS URL to Business Partner so they can upload files to it. These would be one of transactions so i'd like them to be able to upload their file(s) to it without needing to install Storage Explorer.

i'm creating the SAS either at the Storage account level or the Container level with all the default settings and putting the time back 15mins etc. There is not firewall/private endpoints involved and the container and blob are set to public access.

I've tried various recommendations on the web of removing / or ?'s out of the URL. I've even gone back to my 104 skillpipe and it suggests that I should be able to do it.

Can anyone advise please?! I've spent a all day on this on and off!!

<Error>

<Code>InvalidQueryParameterValue</Code>

<Message>Value for one of the query parameters specified in the request URI is invalid. RequestId:ca537f0d-e01e-0050-4c4b-667f2d000000 Time:2023-04-03T16:41:40.5025307Z</Message>

<QueryParameterName>comp</QueryParameterName>

<QueryParameterValue/>

<Reason/>

</Error>

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,920 questions
{count} votes

3 answers

Sort by: Most helpful
  1. 2023-04-03T20:07:21.6466667+00:00
    0 comments No comments

  2. Iain 0 Reputation points
    2024-01-31T03:42:05.2733333+00:00

    I had the same error and found I was passing the Container Name as a blank string.

    var client = blobServiceClient.GetBlobContainerClient("");
    
    0 comments No comments

  3. Jessa Burns 0 Reputation points
    2024-07-29T06:44:27.7066667+00:00

    Weird that it doesn't give a value or reason, just query parameter name of "comp"... right? And "/" is after instead of before "Reason" and "QueryParameterValue"?

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.