0

I have an Azure Function App which runs with Node.js. The project uses the following dependencies (from package.json).

"@azure/functions": "4.2.0",
"durable-functions": "3.1.0",

While running the Function App, the execution of several Activity functions fail with following error messages (examples).

Failed to find binding "activityTrigger1" in bindings "activityTrigger3".
Failed to find binding "activityTrigger2" in bindings "activityTrigger1".
Failed to find binding "activityTrigger4" in bindings "activityTrigger5".

Restarting the Servers seems to fix the issue.

The Activities are setup and called the following way.

// Setup
async function someActivity(operationEvent: OperationEvent, 
                            context: InvocationContext): Promise<ActivityResult> {
  // ..
}

app.activity('someActivity', { handler: someActivity });

// Orchestrator usage
context.df.callActivityWithRetry('someActivity', someRetryOptions, someParameter)

I found no further information about the error in the portal and the internet as well. How can I fix the issue?

2
  • Please Provide your function code. Commented Mar 19 at 9:00
  • @PravallikaKV, I'm not allowed to share the full function code. Are you interested in a specific aspect of the implementation? Commented Mar 20 at 8:19

1 Answer 1

0

The issue was solved by upgrading @azure/functions to a version >=4.3.0. The root cause is the same as the issue Cannot read properties of undefined (reading 'type'). The issue was fixed with Fix out-of-sync binding names causing null ref error and released with 4.3.0 of the npm package.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.