when this invoked by composer teams connection by webhook, I got this error:
Request to the Bot framework failed with error: '{"error":{"code":"BadSyntax","message":"Failed to read card payload as JSON"}}'.
is this mean my json have some issue to cause the issue
here is the josn example:
[
{
"contentType": "application/vnd.microsoft.card.adaptive",
"content": {
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.4",
"body": [
{
"type": "Container",
"style": "FF0000",
"items": [
{
"type": "TextBlock",
"text": "`PD` - `data_sync` - `load_tmp` TASK error",
"wrap": true,
"weight": "Bolder",
"size": "Medium"
},
{
"type": "TextBlock",
"text": null,
"wrap": true
}
]
}
],
"actions": [
{
"type": "Action.OpenUrl",
"title": "View log",
"url": "https://1547f688b84eb38997ce71-dot-asia-east1.composer.googleusercontent.com/log?dag_id=ta_sync&task_id=tmp&execution_date=2024-08-25T03%3A09%3A16%2B00%3A00"
}
]
}
}
]