I am trying to log some of my data to Azure table storage service and it was working fine till now. I am logging to Azure table storage using Java. Suddenly from yesterday I am getting the error as below:
Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature. com.microsoft.azure.storage.table.TableServiceException
I read some articles on google https://github.com/Azure/azure-storage-net/issues/171 and it talks about blobs. I could not find anything related to table storage.
Can someone help me on this one? Code to access table is usual as below.
private CloudTable GetCloudTableContainer(String tableName) {
CloudTable table = null;
try {
// Retrieve storage account from connection string.
CloudStorageAccount storageAccount = CloudStorageAccount.parse(config.CONNECTION_STRING);
// Create the blob client.
CloudTableClient tableClient = storageAccount.createCloudTableClient();
// Retrieve a reference to a container.
table = tableClient.getTableReference(tableName);
table.createIfNotExists();
} catch (Exception ex) {
ex.printStackTrace();
}
return table;
}