What is the reason of the function app error 'We were not able to load some functions in the list due to errors. Refresh the page to try again.'

suah cho 0 Reputation points
2024-11-20T06:05:21.3533333+00:00

I am trying to deploy a new version of my function app using Github actions.

I created a new HTTP trigger, deployed it to the dev slot, and confirmed that is works correctly. Then, I deployed the same update to the production slot using Github Actions as well. But, the following error occurs only in the production slot:

Screenshot 2024-11-20 at 15.02.21Screenshot 2024-11-20 at 15.02.41

Previously, the app had a blob trigger and timer trigger, and the HTTP trigger is using the same environment variables that were already in use by those triggers. Currently, I replaced the dev slot with the production slot, and while the trigger has been created, the error still persists when I refresh.

I would like to know what could be causing this issue, how I can check for the cause, and what steps I can take to resolve it.

Thank you for your help!

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,185 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Pinaki Ghatak 5,230 Reputation points Microsoft Employee
    2024-11-20T09:13:47.3266667+00:00

    Hello @suah cho

    This error message usually occurs when there is an issue with the function app code or configuration. To troubleshoot this issue, you can try the following steps:

    1. Check the logs for any errors or warnings related to the function app. You can access the logs from the Azure portal by navigating to your function app, selecting "Functions" from the left-hand menu, and then selecting "Logs" from the top menu.
    2. Check the function app configuration to ensure that all the required environment variables are set correctly. You can access the configuration from the Azure portal by navigating to your function app, selecting "Configuration" from the left-hand menu, and then selecting "Application settings" from the top menu.
    3. Check the function app code to ensure that there are no syntax errors or other issues that could be causing the error. You can access the code from the Azure portal by navigating to your function app, selecting "Functions" from the left-hand menu, and then selecting the function that is causing the error.
    4. Try redeploying the function app to see if that resolves the issue. You can redeploy the function app from the Azure portal or using Github Actions.

    I hope this helps.


  2. suah cho 0 Reputation points
    2024-11-26T07:39:34.2333333+00:00

    Hello, @Pinaki Ghatak

    Thank you for your response!

    However, I checked the part you mentioned, but it still didn't resolve the issue. Is there any other way I could try?

    0 comments No comments

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.