You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The 'CosmosDBTrigger' function is in error: Unable to configure binding 'documents' of type 'cosmosDBTrigger'. This may indicate invalid function.json properties. Can't figure out which ctor to call.
#2569
I'm trying to run my CosmosDB trigger locally, but when trying to run with func host start, I get this error: The 'CosmosDBTrigger' function is in error: Unable to configure binding 'documents' of type 'cosmosDBTrigger'. This may indicate invalid function.json properties. Can't figure out which ctor to call.
I found a similar issue here: #2447, but even after trying the suggested solution and using the sample code from the Azure CosmosDB trigger documentation, I couldn't resolve it.
Also, the docs site seems a bit broken at the moment, you'll need to select that you're using V1 programming model to find the Functions v4.X+ programming model.
I'm trying to run my CosmosDB trigger locally, but when trying to run with func host start, I get this error: The 'CosmosDBTrigger' function is in error: Unable to configure binding 'documents' of type 'cosmosDBTrigger'. This may indicate invalid function.json properties. Can't figure out which ctor to call.
I found a similar issue here: #2447, but even after trying the suggested solution and using the sample code from the Azure CosmosDB trigger documentation, I couldn't resolve it.
Here are my files:
function_app.py
host.json
local.setting.json
function.json
Just want the trigger to run whenever there is any CRUD operation in Cosmos DB, that's all.
Thanks!
The text was updated successfully, but these errors were encountered: