I am trying to retrieve an entity from an Azure Table Storage by PartitionKey and RowKey. This works great when there actually is an entity in my table with these keys.
tableService.retrieveEntity(tableName, partition, row, (err, res, resp) => {
...
}
However, when no entity with for keys is found, I just get a rather unclear error saying "One of the request inputs is not valid"...
Unhandled rejection StorageError: One of the request inputs is not valid.
Is there any way to check if an entity exists for a specific Partition- and RowKey?
PartitionKey
andRowKey
you're providing when you get this error? – Gaurav Mantri