Skip to main content

Notifications

Power Automate - Building Flows
Answered

adaptive card not as "post adaptive card and wait for a response" not showing giving error "We're sorry. this card couldn't be displayed"

Posted on by 73

 

When I am posting an adaptive card in a team's message and channel message using- "post adaptive card and wait for a response".

Zubayer_0-1689143008330.png

 


it's showing as below-

 

Zubayer_2-1689141765223.png

and it got stuck.

 

but when I am using same Jason on "postcard in a chat or channel" it shows perfectly.

 

Zubayer_1-1689141729758.png

i am using this URL to create the Jason Designer | Adaptive Cards
sharing the jason here-
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
{

"type": "AdaptiveCard",
"body": [
{
"type": "TextBlock",
"size": "Medium",
"weight": "Bolder",
"text": "Clearance Request for"
},
{
"type": "TextBlock",
"text": "New TextBlock",
"wrap": true
},
{
"type": "Input.ChoiceSet",
"choices": [
{
"title": "Removed",
"value": "Choice 1"
}
],
"placeholder": "select option",
"label": "AD & Microsoft 365 Access"
},
{
"type": "Input.ChoiceSet",
"choices": [
{
"title": "Access Removed",
"value": "Access Blocked"
}
],
"placeholder": "Select the options",
"label": "Own Cloud (Report)",
"isRequired": true
},
{
"type": "Input.ChoiceSet",
"choices": [
{
"title": "Access Removed",
"value": "Partially Remove"
}
],
"placeholder": "Select the option",
"label": "System",
"isRequired": true
},
{
"type": "Input.ChoiceSet",
"choices": [
{
"title": "VPN Access Blocked",
"value": "VPN Access Removed"
}
],
"placeholder": "Select the Option",
"label": "VPN Access",
"isRequired": true
}
],
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.5",
"actions": [
{
"type": "Action.Submit",
"title": "Submit"
}
]
}

/////////////////////////////////////////////////////////////////////////////

  • Verified answer
    Zubayer Profile Picture
    Zubayer 73 on at
    Re: adaptive card not as "post adaptive card and wait for a response" not showing giving error "We're sorry. this card couldn't be displayed"

    only the 1.3 version is working correctly. This one is only allowed for this kind of adaptive card. 

  • Zubayer Profile Picture
    Zubayer 73 on at
    Re: adaptive card not as "post adaptive card and wait for a response" not showing giving error "We're sorry. this card couldn't be displayed"

    for version 1.3 showing bellow error-

    Zubayer_0-1689154981619.png

     

    ERROR

    The request failed. Error code: 'InvalidBotAdaptiveCard'. Error Message: 'Microsoft.Azure.ProcessSimple.Data.Entities.Exceptions.ProcessSimpleDataException: The specified Teams flowbot adaptive card request is missing or invalid. The tracking Id is '{0}'. ---> AdaptiveCards.AdaptiveSerializationException: Required property 'id' not found on 'Input.Text'
    at AdaptiveCards.AdaptiveTypedElementConverter.ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer)
    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable(JsonConverter converter, JsonReader reader, Type objectType, Object existingValue)
    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
    at AdaptiveCards.IgnoreEmptyItemsConverter`1.<>c__DisplayClass1_0.<ReadJson>b__1(JObject obj)
    at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
    at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
    at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
    at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable(JsonConverter converter, JsonReader reader, Type objectType, Object existingValue)
    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target)
    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Populate(JsonReader reader, Object target)
    at AdaptiveCards.AdaptiveTypedElementConverter.ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer)
    at AdaptiveCards.AdaptiveCardConverter.ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer)
    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable(JsonConverter converter, JsonReader reader, Type objectType, Object existingValue)
    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
    at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
    at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
    at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
    at AdaptiveCards.AdaptiveCard.FromJson(String json)
    at Microsoft.Azure.ProcessSimple.Data.Components.AdaptiveCards.AdaptiveCardBuilder.DeserializeAdaptiveCard(String serializedAdaptiveCard, RequestIdentity requestor, CultureInfo cultureInfo, BotAdaptiveCardAtMentions atMentions)
    --- End of inner exception stack trace ---
    at Microsoft.Azure.ProcessSimple.Data.Components.AdaptiveCards.AdaptiveCardBuilder.DeserializeAdaptiveCard(String serializedAdaptiveCard, RequestIdentity requestor, CultureInfo cultureInfo, BotAdaptiveCardAtMentions atMentions)
    at Microsoft.Azure.ProcessSimple.Web.Common.Validation.BotAdaptiveCard(String card, RequestIdentity senderRequestIdentity)'.

  • Zubayer Profile Picture
    Zubayer 73 on at
    Re: adaptive card not as "post adaptive card and wait for a response" not showing giving error "We're sorry. this card couldn't be displayed"

    tried different adaptive card versions but other versions showing different error

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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,487

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,014

Leaderboard