Skip to content
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

Microsoft.Azure.Documents.DocumentClientException #971

Open
vipinsorot opened this issue Oct 10, 2023 · 0 comments
Open

Microsoft.Azure.Documents.DocumentClientException #971

vipinsorot opened this issue Oct 10, 2023 · 0 comments

Comments

@vipinsorot
Copy link

Microsoft.Azure.Documents.DocumentClientException

The input authorization token can't serve the request. The wrong key is being used or the expected payload is not built as per the protocol. For more info: https://aka.ms/cosmosdb-tsg-unauthorized. Server used the following payload to sign: 'get

tue, 10 oct 2023 06:06:53 gmt

'
ActivityId: 81138d37-76eb-4852-9b04-352e969cbbed, Windows/10.0.17763 cosmos-netstandard-sdk/3.18.0, documentdb-dotnet-sdk/2.11.6 Host/64-bit MicrosoftWindowsNT/6.2.9200.0

I am getting this exception once i have switched db endpoint to another cosmos db replica.
Can you please suggest what am i missing here ? since db endpoint and primary key is updated correctly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant