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

Custom Connector Works In Testing, Doesn't Work In Workflow

 

flow_01.PNGsuccessful test with custom connector

Using the Custom Connector's Test Function inside the edit will give me a successful 200 response with the correct data.

Implementing the Custom Connector inside a workflow fails with a generic Internal Server Error issue after about 10-15 minutes of retry.


flow_03.PNG

This is a critical component for our development department. Your help is very much appreciated.

 

Mark

6 REPLIES 6
Super User
Super User

Re: Custom Connector Works In Testing, Doesn't Work In Workflow

Hi @Markokstate is the connector actually making contact with the service on the other end? Are there any errors being thrown from the service which may help to isolate the issue?

 

Also, when executing the action from your automation, are you entering the details in manually or taking from dynamic content?





Did my reply help? Please give it a thumbs up.
Did I answer your question? Please mark my post as a solution!
If you liked my response, please consider giving it a thumbs up. THANKS!


Proud to be a Flownaut!





Community Leader: Black Country PowerApps & Flow User Group

Markokstate
Level: Powered On

Re: Custom Connector Works In Testing, Doesn't Work In Workflow

@MattWeston365 thanks for the response.

When sending it from the Test settings, we get appropriate logs on our side to validate it's good. When sending from an automate workflow (either manual or dynamic content) we can see that it hits our side but something is different in the fact that it doesn't return or give much more logs. My initial thought was that it was sending a different token, but I've verified its the same token both on test and implementation. My new theory is that has different headers between test/implementation? We're hitting another service that doesn't give us more details into than that.

It's just really strange to me that the test doesn't work like the implementation. Isn't that kinda the point of the test? We are going thru a gateway, but still to my point that the test works (same gateway) but implementation fails is a bit confusing to grasp.

Super User
Super User

Re: Custom Connector Works In Testing, Doesn't Work In Workflow

Yes that is strange that you're seeing differences between the two methods of testing your connector, I'll admit I've never had an issue with different behaviours. Out of interest, are you using the same connection for both your connectors (in test) and also from your automation?

 

How much control do you have over the destination service? Are you able to build any further logging into it to aid with debugging?





Did my reply help? Please give it a thumbs up.
Did I answer your question? Please mark my post as a solution!
If you liked my response, please consider giving it a thumbs up. THANKS!


Proud to be a Flownaut!





Community Leader: Black Country PowerApps & Flow User Group

Markokstate
Level: Powered On

Re: Custom Connector Works In Testing, Doesn't Work In Workflow

Yeah, we are using the exact same connector. It is very odd. We don't have any additional logging that we can do against the end point (need to triple check this). I'm wondering if its the headers coming out of automate vs test-automate. Is there any way to see what both are sending?

Will also verify we have no more logging we can add in the meantime.

Markokstate
Level: Powered On

Re: Custom Connector Works In Testing, Doesn't Work In Workflow

We can't see the inbound requests. Is there a way to see outbound request from these two sources? Would any sniffing/monitoring tool help me achieve this?

Markokstate
Level: Powered On

Re: Custom Connector Works In Testing, Doesn't Work In Workflow

We have an open ticket with MFST on this issue. We were able to share screen and they are now aware of the issue and are looking into it.

Helpful resources

Announcements
firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

Coming Soon: T-shirt Design Contest

Keep your eyes open for our upcoming T-shirt design contest!

firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Users online (6,125)