nest_asyncio package used in the Azure function code must be included in the requirement.txt file. After adding the same, the API is working fine with no other changes. This instruction is missing in the GitHub link!
Unable to replicate the Azure function example from MSFT website
I am new to Azure Functions, I tried to replicate the example from the Microsoft webpage here. Under the SETUP section, the web directs to a github link but the link is broken and the correct GitHub link is here.
I was able to perform all the instructions in the GitHub page without any trouble and deployment was successful. But towards the end I am unable to view the output in my browser after deploying the Azure function. I deployed the Azure function using visual studio code and at the end of the deployment I even received a URL from the Azure function. The GitHub webpage instructs a URL like
to test the output, but when I deploy the URL looked like
I tried the following and still no success.
When I checked the logs for the function app, I only see Http 5xx code in the logs as seen here . Count of Http 2xx and Http 4xx codes are zero as seen here .
No changes were made to the code from the GitHub URL. Can anyone help me to identify the reason for the error and fix it?