unable to retrieve function in Azure Function APP

Jawher Khalifa 20 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,004 questions
0 comments No comments
{count} votes

Accepted answer
  1. akinbade abiola 17,050 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://zcusa.951200.xyz/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://zcusa.951200.xyz/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 comments No comments

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.