Chain Azure Functions together using input and output bindings ERROR 404

Brian Senecal 0 Reputation points
2023-09-18T05:44:23.7666667+00:00

I am working through Chain Azure Functions together using input and output bindings and I follow the directions, changing the JSON as indicated here:

https://learn.microsoft.com/en-us/answers/questions/1350920/what-should-i-do-about-the-azure-function-http-tri

Here is my JSON:

{
  "bindings": [
    {
      "authLevel": "function",
      "type": "httpTrigger",
      "direction": "in",
      "name": "Request",
      "methods": [
        "get",
        "post"
      ]
    },
    {
      "type": "http",
      "direction": "out",
      "name": "Response"
    },
    {
      "name": "bookmark",
      "direction": "in",
      "type": "cosmosDB",
      "connectionStringSetting": "trigger-lesson-db_DOCUMENTDB",
      "databaseName": "func-io-learn-db",
      "collectionName": "Bookmarks",
      "id": "{id}",
      "partitionKey": "{id}"
    },
    {
      "name": "bookmark",
      "direction": "out",
      "type": "cosmosDB",
      "connectionStringSetting": "trigger-lesson-db_DOCUMENTDB",
      "databaseName": "func-io-learn-db",
      "collectionName": "Bookmarks",
      "partitionKey": "{id}"
    },
    {
      "name": "newmessage",
      "direction": "out",
      "type": "queue",
      "connection": "learndd2cc32b9cda489e55_STORAGE",
      "queueName": "bookmarks-post-process"
    }
  ]
}

I keep getting a 404 error, and after many attempts, the FileSystem logs don't show anything.

Can someone please direct me to where the problem is??

Community Center | Not monitored
{count} votes

Your answer

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