Skip to main content

Notifications

Power Automate - Using Connectors
Unanswered

Custom Connector : Flow subscription to my API fails.

(0) ShareShare
ReportReport
Posted on by 16

We have an API developed in ASP.NET MVC Web API. We recently made it WebHook enabled using Microsoft's own ASP.NET WebHook (https://github.com/aspnet/WebHooks). So now my API exposes few events using WebHook.

 

Now I have created custom connector for Microsoft FLOW which is using triggers from my API. I have created custom connector successfully. Now when I am creating a FLOW using one of event from custome connector, FLOW triggers subscription request to my API. All good so far. But Subscription request getting failed because callback url provided by FLOW is not reachable as per exception from ASP.NET webhook. When i looked into code of ASP.NET webhook, what i found is it is trying to validate the URI by making HTTP GET request on callback URL with query string parameter echo and expecting to get same value back. But FLOW callback URL doesnt support HTTP GET request. And hence trigger subscription is failing. The way validation logic is written, if we are passing noecho as one of querystring paramter, it wont trigger this request. But I havent found way to instruct FLOW to pass noecho param in callback URI.

 

Has anyone face any such issue? Or created custom connector with FLOW with talks to ASP.NET WebHook implementation? 

  • Re: Custom Connector : Flow subscription to my API fails.

    Hi @pbijvani , how did you determined notificationURL for your custom connector?

  • pbijvani Profile Picture
    pbijvani 16 on at
    Re: Custom Connector : Flow subscription to my API fails.

    You can look at my swagger file at below location.

     

    http://democon.smartenabler.net/se.json

     

    Thanks

     

  • v-monli-msft Profile Picture
    v-monli-msft on at
    Re: Custom Connector : Flow subscription to my API fails.

    Hi @pbijvani,

     

    Can you please share your swagger file so that I will involve other guys to look into this?

     

    Regards,

    Mona

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,508

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,839

Leaderboard

Featured topics