Microsoft团队根据以下请求发布活动卡发布请求
我看到的问题是“400 Bad Request: [Summary or Text is required.]”任何人都得到了解决方案
即使在邮递员那里尝试了相同的请求,我也看到与 400 个错误请求相同的问题。
400 错误请求:[需要摘要或文本。]
{ "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", "type": "AdaptiveCard", "version": "1.2", "body": [ { "type": "ColumnSet", "columns": [ { "type": "Column", "items": [ { "type": "TextBlock", "weight": "Bolder", "text": "TItle1", "separator" ": true }, { "type": "TextBlock", "separator": true, "text": "body1" }, { "type": "TextBlock", "separator": true, "text": "body4" " } ], "width": "stretch", "style": "accent" }, { "type": "Column", "items": [ { "type": "TextBlock", "weight": "Bolder", "text": "title2" }, { "type": "TextBlock", "separator": true, "text": "body2" }, { "type": " TextBlock", "separator": true, "text": "body5" } ], "width": "stretch", "style": "good" }, { "type": "Column", "items": [ { "type": "TextBlock", "weight": "Bolder", "text": "title3" }, { "type": "TextBlock", "separator": true, "text": "body3" }, { "type": "TextBlock", "separator": true, "text": "body6" } ], "width": "stretch", "样式": "警告" } ] } ] }
回答
我已经复制了问题中提供的相同模式。这个模式在我最后工作得很好。
如果您仍然遇到问题,请尝试将Adaptive卡版本从1.2更改为1.0并重新检查;这应该可以解决您的问题。