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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Automate
Unanswered

ERROR ON A FLOW

(0) ShareShare
ReportReport
Posted on by

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,472 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 378 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 273 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 135 Most Valuable Professional

Last 30 days Overall leaderboard