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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Automate
Unanswered

ERROR ON A FLOW

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Unable to process template language expressions for action 'Condition' at line '1' and column '17592': 'The template language function 'contains' expects its first argument 'collection' to be a dictionary (object), an array or a string. The provided value is of type 'Null'.'.

Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,767 Most Valuable Professional on at

    Hi @Anonymous,


    Can you share a couple of screenshots of your flow configuration?

     

    Based on the error I would say that it looks like the field you are checking with a contains function is empty. You could workaround this by implementing if and empty functions in your check.

     

    Below is an example of such an expression.

    Replace outputs('Get_items')?['body/value'] by your field.

     

    if(empty(outputs('Get_items')?['body/value']), 'It is empty', contains(outputs('Get_items')?['body/value'], 'Check for a value if not 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 227

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard