Forum Discussion
abdul_kareem_mohamme
Oct 13, 2023Copper Contributor
Webhook messages aren't delivered from azure functions
Webhook message delivery failed with error: Microsoft Teams endpoint returned HTTP error 400 with ContextId 01=2 Worked fine since last night. Today morning this error started. Nothing changed ov...
Meghana-MSFT
Oct 13, 2023Former Employee
Can you try sending the message using postman once and check you are getting the same error? Also please share the JSON so that we can check from our end as well.
abdul_kareem_mohamme
Oct 13, 2023Copper Contributor
{
"type": "message",
"summary": "test",
"attachments": [
{
"contentType": "application/vnd.microsoft.card.adaptive",
"contentUrl": null,
"themeColor": "0072C6",
"summary": "test",
"content": {
"type": "AdaptiveCard",
"body": [
{
"type": "TextBlock",
"size": "Large",
"weight": "Bolder",
"text": "test",
"wrap": true
},
{
"type": "TextBlock",
"size": "Large",
"weight": "Bolder",
"text": "messageTitle",
"wrap": true
},
{
"type": "TextBlock",
"size": "Medium",
"text": "asd",
"wrap": true
}
],
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.0",
"padding": "None",
"msteams": {
"width": "Full",
"entities": [
{
"type": "mention",
"text": "<at>MAK</at>",
"mentioned": {
"id": "email address removed for privacy reasons",
"name": "name"
}
}
]
}
}
}
]
}