Share via

Azure Function throws internal server error 500

Marco Vank 6 Reputation points
2021-06-14T09:09:08.3+00:00

We have an Azure Function (Runtime V3) running a .NET Core 3.1 application.
On several occasions, we receive HTTP Status code 500 Internal Server Error when executing HTTP Functions.
I've looked in several logs (AppInsights Exceptions, Log System, Kudu => Host Logfiles) but have not been able to find the root cause of the error. It's running on the Consumption plan so it could potentially be a 'noisy neighbor'.

Is there some other log where I could find the actual root cause of the error?

Azure Functions
Azure Functions

An Azure service that provides an event-driven serverless compute platform.


1 answer

Sort by: Most helpful
  1. JayaC-MSFT 5,606 Reputation points
    2021-06-17T12:44:08.817+00:00

    Hello anonymous user-4887 , thank you for sharing the details via private session.

    I can see couple of System.NullReferenceException : Object reference not set to an instance of an object.
    Please check in your code where you are binding values, else you may catch the System.NullReferenceException explicitly and log the details for which you are encountering the error.

    Hope this helps!

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.