Azure-docs: Why you're getting "Value cannot be null. Parameter name: authKeyOrResourceToken"

Created on 14 Jun 2019  Â·  2Comments  Â·  Source: MicrosoftDocs/azure-docs

Supported APIs
Azure Cosmos DB bindings are _only supported for use with the SQL API_. For all other Azure Cosmos DB APIs, you should access the database from your function by using the static client for your API, including Azure Cosmos DB's API for MongoDB, Cassandra API, Gremlin API, and Table API.

You, like me, should probably read more closely—also @ the docs team, it may be worth highlighting this section in some way.

I spent longer than I'd like to admit trying to get this to work with Mongo.

Screen Shot 2019-06-13 at 7 18 47 PM


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Pri1 azure-functionsvc cxp resolved-by-customer triaged

Most helpful comment

I'm glad you made this issue. I also spent far too long trying to get output bindings work with Mongo.

All 2 comments

I'm glad you made this issue. I also spent far too long trying to get output bindings work with Mongo.

I just realized I was trying to bind with Mongo as well :(

Was this page helpful?
0 / 5 - 0 ratings