You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are continuously addressing and improving the SDK, if possible, make sure the problem persist in the latest SDK version.
Describe the bug
After upgrading to latest SDK, CreateContainerIfNotExistsAsync throws an ArgumentException stating PK "/x" in Container "foo" does not match PK "/x". The actual paths in the error message are identical though.
Environment summary
SDK Version: 3.1.0
OS Version (e.g. Windows, Linux, MacOSX) Windows
The text was updated successfully, but these errors were encountered:
Oddly enough I don't see this for every container of mine. Looking at fiddler, it appears the container for which I get this exception, the partition key is explicitly marked as "systemKey": false.
This is likely a bug with PR 572. This feature was added because users were doing create if not exist, but giving a different container pk. Later they would try to do an insert, and it would fail. This causes it to fail fast with a specific error message.
Describe the bug
After upgrading to latest SDK, CreateContainerIfNotExistsAsync throws an ArgumentException stating PK "/x" in Container "foo" does not match PK "/x". The actual paths in the error message are identical though.
Environment summary
SDK Version: 3.1.0
OS Version (e.g. Windows, Linux, MacOSX) Windows
The text was updated successfully, but these errors were encountered: