I managed to solve this on my own by rebuilding the app.
Getting binding issues in Nodejs Azure Function App
Orion Adrian
0
Reputation points
My app was working until it restarted and then I was getting CORS issues in the client and 404 responses when trying to hit the function endpoints. In Application Insights I'm getting the following error. In fact, every binding type is throwing a similar error. I'm not sure how to fix this at this point.
The binding type(s) 'cosmosDB' were not found in the configured extension bundle. Please ensure the type is correct and the correct version of extension bundle is configured.
My host.json
file looks like the following:
{
"version": "2.0",
"logging": {
"applicationInsights": {
"samplingSettings": {
"isEnabled": true,
"excludedTypes": "Request"
}
}
},
"extensionBundle": {
"id": "Microsoft.Azure.Functions.ExtensionBundle",
"version": "[4.0.0, 5.0.0)"
}
}
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,909 questions