-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Cosmosdb latest sdk throw this error : Message: {"Errors":["PartitionKey extracted from document doesn't match the one specified in the header"]} #15161
Comments
hey @MuhamedSalihSeyedIbrahim, is this still an issue if you downgrade to 3.10.6? |
@zfoster May I know the cause of this particular issue? Point to consider: |
I don't necessarily know the cause yet, I've seen this error before caused by chunked encoding not being stitched back together correctly |
If you have |
@zfoster, I have deployed with latest version and also the mentioned version for observation. I have locally tried to replicate it
we are still observing if find anything I shall keep this thread updated. |
Step we followed to replicate: DbcontainerInstance.upsert({data:10}) 2nd case: Create container with doc structure We retrieved data from db: |
I'll try to reproduce. It is still happening with version 3.10.6? |
Yes, but I believe its not due to sdk version, I can reproduce in local with 3.11 , 3.10.6 and the version we uses in dev server( 3.9.5) with cases i tried. Still I have made changes and deployed to dev env with fix of removing object.create function as well as mentioned upgrade of cosmosdb sdk to version 3.10.6 and |
@MuhamedSalihSeyedIbrahim is the error still occurring in the dev env? |
@zfoster - No, |
great, happy it's resolved and good to know for the future |
@zfoster thanks🙋🏻♂️ |
Update description for RBAC flag in Key Vault (Azure#15161) * Update description for RBAC flag in Key Vault * Update keyvault.json * Update keyvault.json * Update keyvault.json
Hi Team,
Description:
we recently flooded this mentioned exception.
Message: {"Errors":["PartitionKey extracted from document doesn't match the one specified in the header"]}
Note:
Runtime : nodejs v12.18.3
Cosmosdb version : 3.11.0
Error:
Message: {"Errors":["PartitionKey extracted from document doesn't match the one specified in the header"]}
PartitionKeyRangeId: 0, IsValid: True, StatusCode: 400, SubStatusCode: 1001, RequestCharge: 1.24, ItemLSN: -1, , UsingLocalLSN: False, TransportException: null, ResourceType: Document, OperationType: Upsert , SDK: Microsoft.Azure.Documents.Common/2.11.0 |
Need to know why it occurs and a way to fix it?
Thanks in advance,
Muhamed
The text was updated successfully, but these errors were encountered: