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.

ChangeFeedClient.list_changes() causes InvalidQueryParameterValue error

See original GitHub issue
  • azure-storage-blob-changefeed:
  • 12.10.0b3:
  • OSX:
  • 3.9:

I’m using the sample code to list all change feed events. My code is almost the same, verbatim, save the fact that I need to workaround for issue 12568. Following the sample code you provide, I get this error:

Exception: HttpResponseError: (InvalidQueryParameterValue) Value for one of the query parameters specified in the request URI is invalid. RequestId:2bc2b517-f01f-0001-67cb-55e1c0000000 Code: InvalidQueryParameterValue

To Reproduce Call this code to list all change events … based on the sample code provided example, but using the workaround for issue 12568

    cf_client = ChangeFeedClient(
        account_url = "https://{}.dfs.core.windows.net".format(STORAGE_ACCOUNT),
        # bug work around - see: https://github.com/Azure/azure-sdk-for-python/issues/12568#issuecomment-661678790
        credential={"account_name": STORAGE_ACCOUNT, "account_key": KEY_STR}
    )

    change_feed = cf_client.list_changes()   # breaks here

Expected behavior According to the documentation, we should be able to get a result without any error. I mean, its only 2 function calls at this point to get it to break … what could a user be doing wrong at that point?

Both my STORAGE_ACCOUNT and KEY_STR values are correct since I use them with azure-storage-file-datalake==12.5.0 without any problems.

Additional context My requirements. file: req.txt

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
jalauzon-msftcommented, Apr 25, 2022

@sylnsr Mike, sorry, I was simplifying a bit. We do need to support other account URLs such as custom domains, CDNs, static websites, as well as some other upcoming features… These would also work as long as they point to the blob endpoint. So we need to keep support for mutable URLs.

1reaction
rakshith91commented, Apr 22, 2022

@sylnsr Thanks for the issue. We will take a look asap

Read more comments on GitHub >

github_iconTop Results From Across the Web

InvalidQueryParameterValue in Query Blob Contents using ...
I give it a try by using sas token for authentication(you can refer to this link for how to generate sas token via...
Read more >
InvalidQueryParameterValue using Custom Domain
I added the storage address as a cname record and verified it is working using nslookup service. I first had an error saying...
Read more >
Azure Static Website Setup Error – This XML file does not ...
Problem : This InvalidQueryParameterValue XML error occurred when attempting to connect to 3 different URL's associated with a static website ...
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