HTTP POST 404 error

Sawyer Schmitt 0 Reputation points
2025-01-02T20:31:15.51+00:00

I am very new to Azure functions. I essentially need to create a pipeline of data. I need data to go from one source, to Azure functions, then back to that orginal source. To do this I am using Power Automate and Azure Functions. In Power Automate I have an HTTP block that posts to the URL of my function yet I still get a 404 error. I am 100% sure the URL is correct. Why am I still getting this error? Outside of the function's code, I have not configured it at all. From the videos I have watched there is no need to configure anything but I am starting to wonder maybe I need to. How can I fix this 404 error?

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

1 answer

Sort by: Most helpful
  1. Khadeer Ali 1,555 Reputation points Microsoft Vendor
    2025-01-02T21:40:49.94+00:00

    @Sawyer Schmitt
    Welcome to Microsoft Q&A Platform!

    Thank you for reaching out! I understand that you're encountering a 404 error when trying to call your Azure Function from Power Automate. Based on what you’ve described, here are a few quick checks that might help resolve the issue:

    1. Verify that the URL you are using to invoke the function is correct. Make sure that you are using the correct hostname, function name, and any required query parameters or route parameters.
    2. Check that the function is deployed and running correctly. You can do this by navigating to the Azure portal and checking the status of the function app. If the function app is not running, you may need to start it manually.
    3. Check the function's code to ensure that it is correctly configured to handle HTTP requests. Make sure that the function is listening for HTTP requests on the correct route and that it is returning a valid HTTP response.
    4. Check the logs for the function to see if there are any error messages or exceptions that could be causing the 404 error. You can view the logs in the Azure portal or by using a tool like Azure Functions Core Tools. You could refer the below documentation on how to deal with 404 Error How to troubleshoot Azure Functions HTTP Trigger 404 Error?

    Please let me know how it goes or if you need further assistance. I’d be happy to help!


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.