Showing results for 
Search instead for 
Did you mean: 
Advocate I
Advocate I

Trigger - Webhooks

Hi all


I created a GitHub webhook, following the documentation at


The webhook subscribes to `push` events. When I try to start the flow, the github connector fails with:


Invalid request. For 'properties/events', "push" is not an array.



Stepping through the flow definition I can't see where I'm going off course. It looks like the problematic step is the webhook trigger, which I "import from sample" as:

{"name": "web", 
"active": true,
"events": ["push"],
"config": {"url": ""}

When I download the flow in swagger format, I see:

        "events": {
          "default": [
          "description": "Events to listen on",
          "items": {
            "type": "string"
          "type": "array"


Community Support
Community Support

Hi @jean,


I'm investigating on this issue and will get back when I have further news.




Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Mona, thanks for the answer!


I have a detail that may help. I finally figured out where I can view the webhook on the GitHub end, namely at . To get there, navigate to Settings, Webhooks of the relevant repository and look for the webhook created by Flow.


In my case, the hook is attempting delivery and is showing a 404 error. The payload URL is as shown in the image following the text Microsoft Flow automatically adds standard content-type and security headers, so we don’t need to define those while importing from a sample. on



I thought that that is a sample that would be updated by Flow with the proper callback URL.

What is the proper callback URL that should be specified there?



Here's the attempt at the GitHub side. Obviously that Request URL is never going to work ... :


Request URL:
Request method: POST
content-type: application/x-www-form-urlencoded
User-Agent: GitHub-Hookshot/7d741b5
X-GitHub-Delivery: bf9d6c60-565a-11e7-9e22-c46ce7ac59a8
X-GitHub-Event: push



any update ? same issue there, which url shall we specify in the GITHUB WEBHOOK payload URL when working with flow ? Nothing specified here neither :


Once you have created  a trigger with the sample request body, you should be able to see all the parameters as dropdown options in "Trigger Configuration".




Select config.url and flows will populate this property with call back url. (Note: this does not work as expected from Test tab, you will have to create a flow)

Helpful resources

Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Top Solution Authors
Top Kudoed Authors
Users online (7,404)