web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : Fj733ys0/yk0O8W2cJJoQ8
Power Automate - General Discussion
Unanswered

Unable to process template language expressions in action 'Post_adaptive_card_in_a_chat_or_channel' inputs at line '0' and column '0': 'The provided parameters for template language function 'trim' are not valid.'.

Like (0) ShareShare
ReportReport
Posted on 20 May 2022 20:36:59 by 1

Looking for a solution for the "welcome a new team member flow". This error is occurring on random runs and I am not able to identify why. 

jeffdtoler_0-1653078590228.png
The error is occurring on the "Post adaptive card in a chat or channel". The expression is as following leveraging trim: 

trim(outputs('Post_adaptive_card_and_wait_for_a_response')?['body/data/welcomeInfo'])

jeffdtoler_0-1653079109116.png

 

 

I am assuming it's something the user is entering in the "waiting for a response" adaptive card, but not able to identify, what

  • Mira Ghaly Profile Picture
    11,409 Moderator on 20 May 2022 at 21:33:41
    Re: Unable to process template language expressions in action 'Post_adaptive_card_in_a_chat_or_channel' inputs at line '0' and column '0': 'The provided parameters for template language function 'trim' are not valid.'.

    @jeffdtoler 

    For troubleshooting add a compose data operation without the trim to see what is coming up from the flow history , what I suspect here is that the value passed to the trim might be null / empty

     

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

Announcing our 2025 Season 2 Super Users!

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Loading complete