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 Platform Community / Forums / Copilot Studio / Unable to process temp...
Copilot Studio
Answered

Unable to process template language condition - type null

(0) ShareShare
ReportReport
Posted on by

Afternoon, 

I've had a flow which has worked previously but for some reason is now returning an error message: 

"Unable to process template language expressions for action 'Condition' at line '0' and column '0': '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'.'."

 

The flow posts and adaptive card in a Teams chat, collects the responses and then I use condition to decide on the best course of action depending on the responses. It's previously worked but whatever reason the condition part is now not working. 

I'd appreciate any help! Thank you

Matthew5_0-1677685801473.png

 

I have the same question (1)
  • Matthew5 Profile Picture
    on at

    I've been testing and tweaking it all afternoon/evening - it looks like the responses from the adaptive card aren't being collected, there's no outputs to pass to the condition. I'm just struggling to understand why it's failing now when it was working a week ago. Does anyone please have anything I can try to fix this?

  • Matthew5 Profile Picture
    on at

    I think it's definitely an adaptive card issue - no outputs are being returned now. Previously I was able to see the JSON outputs:

    Matthew5_0-1677749673218.png

    But now, it states click to download and upon downloading I get what looks like an error message:

    Matthew5_1-1677749916352.png

    Error message:

    Matthew5_2-1677750077401.png


    I'm at a bit of a loss, I haven't changed the adaptive card so I can't understand why it's now not returning any outputs. Has anyone experienced this before and could help please?

     

  • Verified answer
    Matthew5 Profile Picture
    on at

    Spoke to Microsoft support, the issue is due to posting as the Power Virtual Agent which is a preview feature. Posting as Flow Bot works. So I'll await the general availability of the feature before using in production! 

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…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 261 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 198 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 93 Moderator

Last 30 days Overall leaderboard