Azure / azure-documentdb-datamigrationtool

Azure DocumentDB Data Migration Tool
MIT License
388 stars 182 forks source link

The MAC signature found in the HTTP request is not the same as the computed signature #194

Closed wrharper-AASP closed 1 year ago

wrharper-AASP commented 1 year ago
return new CosmosClient("AccountEndpoint=https://HIDDEN.documents.azure.com:443/;AccountKey=READWRITEPRIMARYKEY;");

("Message":{
   "Errors":[
      "The MAC signature found in the HTTP request is not the same as the computed signature. Server used following string to sign - 'get\ndocs\ndbs\/DATABASEHERE\/colls\/CONTAINERHERE\/docs\SLASHIDHERE\nfri, 30 dec 2022 15:28:36 gmt\n\n'. Learn more: https:\/\/aka.ms\/cosmosdb-tsg-mac-signature"
   ]
}

I am getting the MAC signature error even though everything is correct? using Microsoft.Azure.Cosmos version 3.31.2