Skip to main content

Notifications

Power Automate - General Discussion
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'.'.

  • Expiscornovus Profile Picture
    Expiscornovus 31,139 on at
    Re: ERROR ON A FLOW

    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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

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

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,636

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,942

Leaderboard