-
Notifications
You must be signed in to change notification settings - Fork 504
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
Incorrect key to throw CosmosExceptions with HttpStatusCode.Unauthorized status code #785
Conversation
ChaneLog missing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update changelog
This is not working on Microsoft.Azure.Cosmos 3.13.0. I still get a DocumentClientException |
@NRam0s can you create a new issue with more details on the scenario you are hitting this on? This PR added tests and the they are still passing so it shouldn't be throwing a DocumentClientException. |
Pull Request Template
Description
If the CosmosClient is initialized with an invalid key, we are throwing a
DocumentClientException
that is internal. This should be aCosmosException
.Type of change
Closing issues
Closes #784