I'm running a set of durable functions (Node.js-written) on the Azure Function App platform.
Node version is 10, functions runtime is 2.
Some of them have triggers configured:
"bindings": [
{
"authLevel": "anonymous",
"type": "httpTrigger",
"direction": "in",
"name": "req",
"methods": [
"post"
]
},
{
"bindings": [
{
"name": "name",
"type": "activityTrigger",
"direction": "in"
}
],
"scriptFile": "../.../index.js"
}
Since yesterday the function is showing the following error when trying to open it:
Function (func4/Create) Error: Microsoft.Azure.WebJobs.Host: Error indexing method
'Functions.Create'. Microsoft.Azure.WebJobs.Host: Can't bind parameter 'data' to type
'System.String'.
Session Id: 9b3d1a97c12b4c86b751b08ab17c06da
Timestamp: 2019-12-11T19:04:49.345Z
I have no idea what is causing this behavior.
Kudu logs are also full of the same error but without details.
Updated (dependencies):
"dependencies": {
"axios": "^0.19.0",
"durable-functions": "^1.3.1",
"moment": "^2.24.0",
"momentjs": "^2.0.0",
"request": "^2.88.0",
"request-promise-native": "^1.0.8",
"xml-js": "^1.6.11"
},
"devDependencies": {
"@azure/functions": "^1.0.2-beta2",
"typescript": "^3.3.3"
}