[英]Can't post a message to Microsoft Teams via logic app in azure
I have a logic app in azure that is as follows.我有一个天蓝色的逻辑应用程序,如下所示。
The parse JSON is - json(decodeBase64(triggerBody()?['ContentData']))解析 JSON 是 - json(decodeBase64(triggerBody()?['ContentData']))
The output of the parseJSON is: parseJSON 的输出是:
Body身体
{
"Message": "New message from logic app",
"TeamID": "testNotificationsTeams",
"ChannelID": "General"
}
In the post message I have TeamID, ChannelID, and Message.
在帖子消息中,我有 TeamID、ChannelID 和 Message。 They all get filled with the right info, but I still get an error:
他们都填写了正确的信息,但我仍然收到错误消息:
{
"error": {
"code": "BadRequest",
"message": "teamGroupId needs to be a valid GUID.",
"innerError": {
"date": "2020-10-08T06:42:57",
"request-id": "a0f985df-113e-48d5-8386-25c1752e7d05",
"client-request-id": "a0f985df-113e-48d5-8386-25c1752e7d05"
}
}
I can't understand why I am getting this error, what is wrong ?我不明白为什么我会收到这个错误,出了什么问题?
问题是我没有发送正确的 teamdID 和 ChannelID。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.