Getting error No HTTP triggers found during Azure Function deploying

Mohamed Hussein 715 Reputation points
2024-11-10T21:15:39.76+00:00

Hi,

I'm getting No HTTP triggers after deploying Azure logic function, It's operating locally

tried to run sync APIs, but still ..

Python 3.11

User's image

Image 1

Image 2

Sync Triggers

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
{count} vote

Answer accepted by question author
  1. JananiRamesh-MSFT 29,436 Reputation points Moderator
    2024-11-11T06:18:07.9+00:00

    @Mohamed Hussein Thank you for reaching out. From the backend logs, I noticed the following error:

    ERROR: Failure Exception: ModuleNotFoundError: No module named 'requests'. Cannot find module. Please check the requirements.txt file for the missing module. For more info, please refer the troubleshooting guide: https://aka.ms/functions-modulenotfound.

    I recommend checking out this GitHub issue https://github.com/Azure/azure-functions-python-worker/issues/1262#issuecomment-1887742898 and specifically the comments, which might help you resolve the problem. The issue usually relates to the requirements.txt file and the way the imports are listed.

    Additionally, there are many useful fixes in the comments besides the one I linked. I hope these suggestions will help resolve your issue.

    please try and let me know incase of further queries, I would be happy to assist you.

    1 person found this answer helpful.

0 additional answers

Sort by: Most 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.