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 / Power Automate / Adaptive Cards Error -...
Power Automate
Unanswered

Adaptive Cards Error - Post card in a chat or channel

(0) ShareShare
ReportReport
Posted on by 3

I'm running a simple flow to post an adaptive card to Teams. The trigger is manual and the second module is the "Post card in a chat or channel". I've filled it out as seen in the image with the JSON coming from https://adaptivecards.io/designer template for weather. When I run the flow I get the following error: Cannot read properties of undefined (reading 'config') 

suppa54_0-1698938323838.png

 

Categories:
I have the same question (0)
  • ManishSolanki Profile Picture
    15,091 Super User 2025 Season 2 on at

    Hi @suppa54 

     

    Could you pls share the JSON used for adaptive card? 

     

    Thanks

  • suppa54 Profile Picture
    3 on at

    @ManishSolanki - Here's the JSON (FYI its the sample template for weather adaptive card found in https://adaptivecards.io/designer

    {
     "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
     "type": "AdaptiveCard",
     "version": "1.5",
     "speak": "<s>The forecast for Seattle November 5 is mostly clear with a High of 50 degrees and Low of 41 degrees</s>",
     "body": [
     {
     "type": "TextBlock",
     "text": "Redmond, WA",
     "size": "Large",
     "isSubtle": true,
     "wrap": true,
     "style": "heading"
     },
     {
     "type": "TextBlock",
     "text": "{{DATE(2019-11-05T02:21:18+00:00, SHORT)}} {{TIME(2019-11-05T02:21:18+00:00)}}",
     "spacing": "None",
     "wrap": true
     },
     {
     "type": "ColumnSet",
     "columns": [
     {
     "type": "Column",
     "width": "auto",
     "items": [
     {
     "type": "Image",
     "url": "https://messagecardplayground.azurewebsites.net/assets/Mostly%20Cloudy-Square.png",
     "size": "Small",
     "altText": "Mostly cloudy weather"
     }
     ]
     },
     {
     "type": "Column",
     "width": "auto",
     "items": [
     {
     "type": "TextBlock",
     "text": "46",
     "size": "ExtraLarge",
     "spacing": "None",
     "wrap": true
     }
     ]
     },
     {
     "type": "Column",
     "width": "stretch",
     "items": [
     {
     "type": "TextBlock",
     "text": "°F",
     "weight": "Bolder",
     "spacing": "Small",
     "wrap": true
     }
     ]
     },
     {
     "type": "Column",
     "width": "stretch",
     "items": [
     {
     "type": "TextBlock",
     "text": "Hi 50",
     "horizontalAlignment": "Left",
     "wrap": true
     },
     {
     "type": "TextBlock",
     "text": "Lo 41",
     "horizontalAlignment": "Left",
     "spacing": "None",
     "wrap": true
     }
     ]
     }
     ]
     }
     ]
    }

     

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 > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard