Search code examples
azure-cosmosdbazure-cosmosdb-tables

Azure Cosmos Table DB


I'm trying to query an Azure Cosmos Table DB via Postman but am unable to get past authentication with the error: "Authorization header doesn't confirm to the required format. Please verify and try again"

I can successfully query a Cosmos NOSQL DB so there must be some difference in the request, but I cannot find it documented anywhere.

The format of the Authorization header currently is

type={typeoftoken}&ver={tokenversion}&sig={hashsignature}

Any help will be much appreciated.


Solution

  • If you are using the REST API, it works only with NOSQL API. To query Table API you should use the SDK

    https://learn.microsoft.com/en-us/rest/api/cosmos-db/