Azure Functions ( Http Triggered) started throwing Task Canceled Exception randomly

AG 21 Reputation points
2023-06-01T21:44:18.5333333+00:00

How do I go about troubleshooting this?

  • I have a couple of Azure functions that use the following trigger signature [HttpTrigger(AuthorizationLevel.Anonymous, "get", "post").
  • The functions are running on a consumption plan.
  • They get triggered 2-3 times a day.

The function intermittently fails to trigger with the following exception:

Full Call stack:

Microsoft.Azure.WebJobs.Host.FunctionInvocationException:
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e)
   at Microsoft.Azure.WebJobs.Host.Executors.FunctionExecutor+
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,909 questions
{count} votes

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.