Hello,
i got the post a adaptive card with response object.
now i got an error when input a multiple choice checkbox from forms into the textbox from the adaptive card
{
"type": "TextBlock",
"text": "@{replace(replace(body('Antwortdetails_abrufen')?['r114ffb972f5041fcabeba2ed1f21fed0'], '"]', ' '), '["', ' ')}",
"wrap": true,
"spacing": "Small"
},
Error:
BadRequest. Fehler bei Anforderung. Fehlercode: "InvalidJsonInBotAdaptiveCard". Fehlermeldung: "Microsoft.Azure.ProcessSimple.Data.Entities.Exceptions.ProcessSimpleDataException: Die angegebene Anforderung für eine adaptive Teams-Flowbotkarte fehlt oder ist ungültig. Nachverfolgungs-ID: {0} ---> Newtonsoft.Json.JsonReaderException: Invalid character after parsing property name. Expected ':' but got: ,. Path 'body[2].text', line 49, position 55. at Newtonsoft.Json.JsonTextReader.ParseProperty() at Newtonsoft.Json.Linq.JContainer.ReadContentFrom(JsonReader r, JsonLoadSettings settings) at Newtonsoft.Json.Linq.JContainer.ReadTokenFrom(JsonReader reader, JsonLoadSettings options) at Newtonsoft.Json.Linq.JObject.Load(JsonReader reader, JsonLoadSettings settings) at Newtonsoft.Json.Linq.JObject.Parse(String json, JsonLoadSettings settings) 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)".
Whats the best practise for inputing a list of choices from forms to a adaptive card?