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 / Help with 'Bad payload...
Power Automate
Unanswered

Help with 'Bad payload received' error when trying to post to Teams using an incoming webhook in a PAD desktop flow

(0) ShareShare
ReportReport
Posted on by

Hello Everyone.

 

I have a flow that stores some variables.  I want to output those variable to a Teams group.

 

In Teams I have set up the incoming webhook successfully, and I can use Postman to post to the Team group using that same webhook URL.

 

But when I add the Invoke Web Service option in my PAD flow and put in the details it doesn't work. 

The WebServiceResponse variable comes back with 'Bad payload received'.

 

Here is how it looks in PAD:

ianwuk_0-1671590176353.png

Here is my JSON request body, the variables from my flow are in bold:

{
"@type": "MessageCard",
"@context": "https://schema.org/extensions",
"summary": "Test Bot",
"themeColor": "0078D7",
"title": "My Test Bot,
"sections": [
{
"facts": [
{
"name": "Test1:",
"value": "%TestDigits1%"
},
{
"name": "Test2:",
"value": "%TestDigits2%"
},
{
"name": "Test3:",
"value": "%TestDigits3%"
}
],
"text": "First test:"
},

{
"facts": [
{
"name": "Test4:",
"value": "%TestDigits4%"
},
{
"name": "Test5:",
"value": "%TestDigits5%"
},
{
"name": "Test6:",
"value": "%TestDigits6%"
}
],
"text": "Second test set."
}
],
"potentialAction": [
{
"@type": "OpenUri",
"name": "Open URL1",
"targets": [
{
"os": "default",
"uri": "https://...."
}
]
},
{
"@type": "OpenUri",
"name": "Open URL 2",
"targets": [
{
"os": "default",
"uri": "https://...."
}
]
}
]
}

 

Where am I going wrong?  Any help is much appreciated - thanks!

Categories:
I have the same question (0)

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard