Can't read or write from/to cosmos container

Per-Jarle Sæther 21 Reputation points
2022-10-11T18:28:36.86+00:00

I am getting exception when trying to read or write to my cosmos container (Western Europe).
Same exception both in Azure Data Explorer and using Entity Framework

Response status code does not indicate success: Forbidden (403); Substatus: 0; ActivityId: 3caeb332-4ca3-4451-90ca-aa37d859f73b; Reason: (The authorization token is not valid at the current time. Please create another token and retry (token start time: Tue, 11 Oct 2022 18:32:44 GMT, token expiry time: Tue, 11 Oct 2022 18:47:44 GMT, current server time: Tue, 11 Oct 2022 18:19:54 GMT).
ActivityId: 3caeb332-4ca3-4451-90ca-aa37d859f73b, Microsoft.Azure.Documents.Common/2.14.0, Windows/10.0.19044 cosmos-netstandard-sdk/3.21.1);

Tried to change time zone on local pc, but still get same error

Local ip is added to cosmos firewall

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,469 questions
{count} votes

Accepted answer
  1. GeethaThatipatri-MSFT 27,977 Reputation points Microsoft Employee
    2022-10-17T17:17:25.127+00:00

    Hi, @Per-Jarle Sæther token start time: Tue, 11 Oct 2022 18:32:44 GMT, token expiry time: Tue, 11 Oct 2022 18:47:44 GMT, current server time: Tue, 11 Oct 2022 18:19:54 GMT this tells you that it's a client related issue, where either due to high CPU or something else, the specific request was delayed on your VM/app for more than 10 minutes.
    I recommend you to retry and this should work.

    Please confirm if it works on retrying.

    Regards
    Geetha


0 additional answers

Sort by: Most helpful