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

Notifications

Announcements

Community site session details

Community site session details

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

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
    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
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard