Getting token invalid issue in Cosmos DB

Manoj Muthusamy (Nallas) 0 Reputation points
2023-11-22T10:31:19.7133333+00:00

Failed to query item for container Membership: The authorization token is not valid at the current time. Please create another token and retry (token start time: Fri, 01 Dec 2023 11:36:41 GMT, token expiry time: Fri, 01 Dec 2023 11:36:41 GMT, current server time: Mon, 20 Nov 2023 11:36:44 GMT). ActivityId: ########-####-####-####-############, documentdb-dotnet-sdk/2.14.0 Host/64-bit MicrosoftWindowsNT/##.0.#####.0

I'm getting this error, when I tried to change my system time to future date and run select query in Cosmos DB. Need to modify token start and expiry time manually. Please help me to sort this out.

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