unable to retrieve function in Azure Function APP

Jawher Khalifa 35 Reputation points
2024-10-12T15:33:30.0766667+00:00

The problem "internal host error" appears every time I attempt to build a function (HTTP Trigger) in a Function APP. However, after several attempts, I was able to successfully create the function. After writing the function and testing, I exit the page, but upon returning to the same function, I continually receive the message "error retrieving the function." Eventually, I am unable to locate the function at all because it has been automatically deleted.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,413 questions
Azure Startups
Azure Startups
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Startups: Companies that are in their initial stages of business and typically developing a business model and seeking financing.
574 questions
{count} votes

Accepted answer
  1. Abiola Akinbade 23,135 Reputation points
    2024-10-12T16:47:12.8633333+00:00

    Hello Jawher Khalifa,

    Thanks for your question.

    I will recommend you set up application insights telemetry

    https://learn.microsoft.com/en-us/azure/azure-monitor/app/opentelemetry-enable?tabs=python

    It will show you errors in the app insights exception panel

    Please check Functions metrics for the HTTP Server Errors at the time of the issue.

    You can use the diagnostic steps here:
    https://learn.microsoft.com/en-us/azure/azure-functions/functions-diagnostics#start-azure-functions-diagnostics

    Search for Azure Functions diagnostics.You can mark it 'Accept Answer' and 'Upvote' if this helped you

    Regards,

    Abiola

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

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.