-
Notifications
You must be signed in to change notification settings - Fork 492
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
System.Uri error in Container.ReadThroughputAsync #728
Comments
@Druid-of-Luhn Is this consistent issue with any container, or intermittent on specific container |
@simplynaveen20 Consistent with all containers. Our process is:
Additional points that may be of interest:
|
We have tried a reduced test case in a Console App, and cannot replicate the issue: reading and replacing the throughput work as expected. The main thing that was changed when updating to Cosmos SDK 3 was adding the custom
|
@Druid-of-Luhn that is a possibility. Offers does do a query which might be using the custom serializer, but it should be using the property serializer. @simplynaveen20 can you verify this is the issue? |
Yea sound reasonable , custom serializer could play the role here. Will pick this item next week. Thanks for all the detail explanation of the issue , really appreciate that. |
Describe the bug
When calling
Container.ReadThroughputAsync()
on a non-null container that has a throughput value (400 in this case),CosmosOffers.ReadThroughputAsync
fails due to a "Value cannot be null" error in theSystem.Uri
constructor.To Reproduce
Get a container and call
ReadThroughputAsync()
on it:Expected behavior
The method should return a value (in my case, I expect 400).
Actual behavior
A
System.ArgumentNullException
is thrown (see message and stack trace below).Environment summary
SDK Version: 3.1.1
OS Version (e.g. Windows, Linux, MacOSX): Windows
Additional context
Exception message:
Stack trace:
The text was updated successfully, but these errors were encountered: