Re: Type is Required ERROR - Post a message to Teams for a selected row
Thank you @Anonymous for your response. I peeked the code and listed it below. There is only one "type" reference and I highlighted in red.
{
"inputs": {
"host": {
"connection": {
"name": "@json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$connections']['shared_teams']['connectionId']"
},
"api": {
"runtimeUrl": "https://msmanaged-na.azure-apim.net/apim/teams"
}
},
"method": "post",
"body": {
"rootMessage": {
"body": {}
}
},
"path": "/beta/groups/@{encodeURIComponent('0380892c-a707-4c31-a35f-b77261156c77')}/channels/@{encodeURIComponent('19:71ce6d0ca6974af1bd99dcd62c357b85@thread.skype')}/chatThreads",
"authentication": {
"type": "Raw",
"value": "@json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$ConnectionKey']"
}
},
"metadata": {
"flowSystemMetadata": {
"swaggerOperationId": "PostMessageToChannel"
}
}
}When I created the Flow, I opened the user input option, cancelled it, etc just to explore all the functionality. Perhaps this caused the error? i have never run the Flow because of the error.
