cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jethamer
Level: Powered On

Custom Connector - Webhook

Hi,

 

I'm new to Custom Connectors - have got an Action working with Trello API but struggled with the Triggers. 

 

I then tried just doing it with the example shown here: https://docs.microsoft.com/en-us/connectors/custom-connectors/create-webhook-trigger under "Create webhook triggers from the UI" and I'm getting the error code of:

 

Specified swagger failed validation: 'The operation is not valid, it must contain at least one response definition.'

 

Any ideas? My webhook response section looks like: 

 

Capture.PNG

 

I'm not sure if I'm missing anything...

 

Thanks!

6 REPLIES 6
Community Support Team
Community Support Team

Re: Custom Connector - Webhook

Hi @jethamer,

What's the previous step creating the Trello Webhooks trigger?

The error information is that it must contain at least one response definition, so you might miss the response definition.

 

About Trello Webhooks you can have a reference on this blog:

https://developers.trello.com/page/webhooks

 

Please have a try, I hope it can help you.

Best Regards,

Community Support Team _ Lin Tu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

jethamer
Level: Powered On

Re: Custom Connector - Webhook

Hi @v-litu-msft ,

Thanks for the response. The error code I obtained was actually from following the linked step by step guide from Microsoft docs!

Thanks,

Stephen

jethamer
Level: Powered On

Re: Custom Connector - Webhook

It just started working again - no idea what happened there. Thanks for the response.

Community Support Team
Community Support Team

Re: Custom Connector - Webhook

Hi @jethamer,

 

Congratulations. I'm glad your problem was solved.

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

jethamer
Level: Powered On

Re: Custom Connector - Webhook

Hi @v-litu-msft ,

 

Another error has risen out of this, I'm not sure if it's best to reply here or to create a new post.

 

Now the Webhook is working, Trello expects the CallbackURL to return a 200 HTTP Status Code. It doesn't appear to be doing so and Trello disables webhooks which do not return a satisfactory code in 30 days. 

 

Is there any way to configure the connector to send a 2xx status code?

 

Thanks,

 

Stephen

Community Support Team
Community Support Team

Re: Custom Connector - Webhook

Hi @jethamer,

 

Maybe you can have a reference to this post:

https://sergeluca.wordpress.com/2018/02/04/pattern-implementation-for-making-long-async-http-calls-i...

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

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Users Online
Currently online: 406 members 4,156 guests
Please welcome our newest community members: