Getting binding issues in Nodejs Azure Function App

Orion Adrian 0 Reputation points
2025-06-18T02:16:31.9266667+00:00

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
{count} votes

1 answer

Sort by: Most helpful
  1. Orion Adrian 0 Reputation points
    2025-06-20T23:51:55.6233333+00:00

    I managed to solve this on my own by rebuilding the app.

    0 comments No comments

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.