cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
suclarkeuk
Advocate II
Advocate II

Adaptive Card errors in MS Teams "We're sorry, this card couldn't be displayed".

I have a very simple Adaptive card posting to Teams on Planner Task completion.  It was working before I went on holiday and then the owner asked for a very simple change.

 

I made the change (re-created the card in the adaptive card designer but really only removed one line of text) and now when I test the flow it doesn't work.

 

Flow says it has succeeded and the Output in there looks ok but in the Teams channel I get this:

 

suclarkeuk_0-1597132515276.png

 

There isn't really much for me to go on for troubleshooting here.  Any ideas?

1 ACCEPTED SOLUTION

Accepted Solutions
suclarkeuk
Advocate II
Advocate II

Ok I solved it but gonna leave this here in case it helps anyone else out.

 

Some point in the last 2 weeks the version of the Adaptive card designer I've been using (https://adaptivecards.io/designer/) changed from ver 1.2 to 1.3.  That seems to have caused the problem.  

 

When I amended the JSON to be ver 1.2 and re-tested the card can through fine.

View solution in original post

12 REPLIES 12
suclarkeuk
Advocate II
Advocate II

Ok I solved it but gonna leave this here in case it helps anyone else out.

 

Some point in the last 2 weeks the version of the Adaptive card designer I've been using (https://adaptivecards.io/designer/) changed from ver 1.2 to 1.3.  That seems to have caused the problem.  

 

When I amended the JSON to be ver 1.2 and re-tested the card can through fine.

ThatGuy365
Frequent Visitor

I'm having the same problem, v1.3 doesn't work at all. 

I specifically need the data validation function in v1.3, what is the real fix? 

I'm just trying a single date field, very simple. 

{​​​​​
    "type""AdaptiveCard",
    "version""1.3",
    "body": [
        {​​​​​
            "type""Input.Date",
            "id""startDate",
            "value""2020-01-01",
            "min""2000-01-01",
            "max""2099-01-01",
            "errorMessage""Start date is invalid"
        }​​​​​
    ]
}​​​​​
 
Teams displays this 
 

PowerError.png

Its saying something like Teams might not support 1.3 in the designer? 

PowerError2.png

 

 

Hi, did you resolve the issue? I'm receiving the same issue and also I have v1.3. I'm not sure where the issue could be.

Thank you,

Jan

djshield
Regular Visitor

I'm also having this issue when using v1.3

No, we gave up, decided to try adaptive cards next year or maybe never? 

chirag1171
New Member

Did you guys got any solution?

pauldj
Advocate II
Advocate II

I just had the exact same issue as above, the current version is 1.5 on the Adaptive Card designer. I have repeated errors until i read this post then changes my code to say 1.4, STUPIDLY, this worked 100%!!!

 

Just change the JSON version to 1.4 from 1.5 and it works fine... Another Microsoft "Feature" found - The gift that keeps on giving...

 

Change the JSON Version to 1.4 this works for me.

LW1990
Regular Visitor

thank you @pauldj ! this has worked for me too (no idea why tho :D)

I put this down to a 'microsoft' feature... commonly known as error... 😀

 

kgleason
Frequent Visitor

I posted a process in a different thread that is working for me.

chamudi
New Member

Would adding headers help?

"headers": [
{
"name": "Authorization",
"value": ""
},
{
"name": "Content-Type",
"value": "application/json"
}
]

 

I don't get this error message my card wasn't resplaying at all earlier and it was resolved by adding headers

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Super User 2 - 2022 Congratulations 768x460.png

Welcome Super Users

The Super User program for 2022- Season 2 has kicked off!

Users online (3,746)