what trigger/action should I use to validate an incoming webhook?

George, Derick 20 Reputation points
2024-05-15T20:24:38.7666667+00:00

I get an error code of 400, when I test the URL of my Logic App from my dbt webhook. I am not sure on how to validate the webhook. The examples I've seen, uses a trigger which I do not see in my tenant.

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,903 questions
0 comments No comments
{count} votes

Accepted answer
  1. MayankBargali-MSFT 69,751 Reputation points
    2024-05-16T09:51:33.9833333+00:00

    @George, Derick Thanks for reaching out.

    The error code 400 means that the request body was not correctly passed by your calling application. In your case it would be webhook as you mentioned.

    You can navigate to the run history of your logic app HTTP trigger and for the same timeframe you can validate that run to know what the input to your trigger was and as per the JSON schema that you have defined in your logic app trigger you should pass the same.

    In case, if there is no error on your trigger then please validate the other action from the same run history to know more details where exactly it failed.

    In case if I misunderstood and you want to know what is the logic app for which you have configured the logic app then you need to review all the logic app that has HTTP trigger which matches the http URL that you are calling. If you don't want to do manual validation then you need to automate it (using scripts, REST API call to first list all the workflow and then find what trigger the flow has and if it is HTTP trigger then validate with the URL) to find the exact logic app name.

    For your reference sharing previous discussion here.

    If you have already validated all the workflow in your tenant, then this may be created in different subscription/tenant and then you need to reach out to your team who have first added this functionality of calling the workflow in your application.


0 additional answers

Sort by: Most helpful