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

Re: Unable to process template language expressions in Custom Connector

Found this issue was due to login credetnials.  In my case, I created a flow, tested it, then later added a step to create a sharepoint folder. Because the sharepoint step wasn't present when I first tested the flow, subsequent tests using the same source data failed.  Once I logged out and back in and retriggered the flow from Dynamics (Using the CDS When a Record is Selected trigger), the system asked for authorization to access both Dynamics and Sharepoint and ran fine.  It was this initilization before adding the steps that needed addtional security that caused the issue. 

Jambo1
Level: Powered On

Re: Unable to process template language expressions in Custom Connector

@ryanperrymba also came to the conclusions this was a credentials issue. in my case the flow was created by owner A.

 

I came in and made a small update to create an item as co-owner B the step kept failing due to this error. I changed the connection to be owner A and it worked fine.

 

jambo

DennisKuhn1
Level: Powered On

Re: Unable to process template language expressions in Custom Connector

@ericonline Thanks for the solution to run the flow with "I'll perform the trigger action" instead of "Use data from previous run". That fixed it for me. It seems, "Use data from previous run" uses corrupt connection details as well.

ryanperrymba
Level: Powered On

Re: Unable to process template language expressions in Custom Connector

Hi @DennisKuhn1 , It isn't that the connection data is corrup, it is that you've added additional connections / changed them, and the cached data run does not include the updated / correct connection data.  If you add steps to the workflow requiring new connections, the old runs don't contain the connection info for these. 

MonkJM1
Level: Powered On

Re: Unable to process template language expressions in Custom Connector

Worked for me, great save @degvalentine, phew

DudelerDad
Level: Powered On

Re: Unable to process template language expressions in Custom Connector

I was having a I hate flow day but your suggestion worked like a charm, Export and then Import.

Thank you.

yashkamdar
Level: Powered On

Re: Unable to process template language expressions in Custom Connector

Sometimes the issue gets resolved simply by removing the connection for the corresponding connector and adding it back to Flow connections by authentication using the credentials which is the exact same thing that @ryanperrymba did in a different way. 

Helpful resources

Announcements
firstImage

New Ranks and Rank Icons in April

Read the announcement for more information!

firstImage

Better Together Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

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

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Users online (9,607)