Skip to main content

Integrations

Query for Errors in Function App Execution

If there are errors with function app execution, do the following:

  1. Go to function app > logs.

  2. Select a time range and type in the following queries:

    a. traces | where message has 'Error'
    b. exceptions
  • If exceptions list 403 for QueueTrigger, then it's a permission error on the Data Collection Rule where permissions may not have been set properly or they have been set but are still being applied.

  • If exceptions list 401 for TimedAPIFunctionApp, then it's an authorization error. If the API key or secret is incorrect, then the function will complain with a 401 error.

  • If exceptions list 404 for QueueTrigger/QueueManager and the message lists the "python-queue-items" and "python-queue-items-backlog" queues, this means that there are no messages in the queues yet and this function is polling them to find out if there are any messages