-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Authentication Error when TableClient created with from_table_url #28918
Comments
Thanks for the report @pavelm10 - we'll investigate asap! @YalinLi0312 - could you please investigate the changes made since 12.4.1 to see what might have caused this? I'm wondering if the SAS parameters are being stripped... |
@annatisch thanks for quick reaction.
|
Hi @pavelm10 , I can't reproduce the error with your sample above in 12.4.2 so far. |
Hi @YalinLi0312 I checked again, the SAS_URL is in the format you stated:
|
@YalinLi0312 any updates? |
Getting a similar error, any update? |
Verified seems to be a breaking error in 12.4.2, works fine in prior version |
Hi @pavelm10 and @JayP718 , thanks for your patience! Based on my investigation, it is a bug to serialize filter in new Thanks |
Looking more deeply into the code, I feel the logic of This would require a deeper fix in the table code. The cleanest workaround right now while using the latest SDK, would be to split the url that contains a SAS Token, and call the SDK with an explicit The complete fix will require some redesign, and may take a few weeks to happen. |
Hi @pavelm10. Thank you for opening this issue and giving us the opportunity to assist. We believe that this has been addressed. If you feel that further discussion is needed, please add a comment with the text "/unresolve" to remove the "issue-addressed" label and continue the conversation. |
Hi @pavelm10 , the bug has been fixed in Please let us know if there's any further issue. Thanks |
Hi @pavelm10, since you haven’t asked that we |
Describe the bug
I am getting
azure.core.exceptions.ClientAuthenticationError
when queryingTableClient
that is initialized withTableClient.from_table_url()
method when usingazure-data-tables = "12.4.2"
. The error does not occur forazure-data-tables = "12.4.1"
I am not getting the error when the
TableClient
is initialized with constructor.The traceback:
To Reproduce
Using
Poetry
pyproject.toml:Python code:
Expected behavior
Querying table client constructed in any way does not result in
azure.core.exceptions.ClientAuthenticationError
when the user has sufficient access rights.Additional context
Tested only for Python
3.9.14
and3.10.7
.The text was updated successfully, but these errors were encountered: