Exception binding Parameter with Azure Function Cosmosdb 4.3 Output Binding

bmaso-dev 26 Reputation points
2023-06-23T14:07:29.43+00:00

After upgrading libraries to latest version and updating parameter names/usings, I am unable to run an Azure Function with CosmosDB output binding, getting this error:

User's image

System.Private.CoreLib: Exception while executing function:

Microsoft.Azure.WebJobs.Host: Exception binding parameter 'document'. System.Data.Common: Format of the initialization string does not conform to specification starting at index 0.

Tried all of the types for the document parameter, but nothing works

User's image

User's image

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,908 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,901 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.