web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Failed to read card pa...
Power Automate
Unanswered

Failed to read card payload as JSON

(1) ShareShare
ReportReport
Posted on by 11
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"
}
]
}
}
]
Categories:
I have the same question (0)
  • Verified answer
    YS-30070602-0 Profile Picture
    11 on at
    Failed to read card payload as JSON
    the answer is "style": "FF0000" is not support in activate card. you can change to "attention" as one option

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 497 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 477 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 242

Last 30 days Overall leaderboard