Forum Discussion
Error while running Teams workflow for sending message to a channel by triggering webhook
- Aug 29, 2024
@basharh190 , StoneE1085, sushantp1105 ,BrianA1775, MattJ1810, nidheeshbabu96, RCFTech
We tried to test this by creating a workflow and then by POSTing a payload to the webhook URL. The workflow sent the message successfully in desired team's channel.
Workflow:
Step:1Step:2
Step:3
Running cURL command:
Result:
- Prasad_Das-MSFTAug 28, 2024
Microsoft
basharh190 , StoneE1085, sushantp1105 ,BrianA1775, MattJ1810, nidheeshbabu96, RCFTech
We got update from engineering team stating that, it should not be triggered via the UI.
The way to test is by POSTing a payload to the webhook URL. The error message is badly misleading.
- nidheeshbabu96Aug 29, 2024Copper Contributor
Prasad_Das-MSFTI have been invoking workflows via HTTP requests, and while the requests return a success output (202 response), the message is not being delivered to the channel. Upon checking the run history of the workflow in Teams, I noticed that the runs are showing a failed status. Please find the screenshot attached for reference.
I would greatly appreciate your assistance in resolving this issue at the earliest, as it is having a significant impact on our operations. Your prompt attention to this matter would be highly valued.
- MattJ1810Aug 29, 2024Copper Contributornidheeshbabu96 This is the exact same failure I am running into as well
- sushantp1105Aug 29, 2024Copper ContributorThis still doesn't work. Please ask the engineering team to try it out and resolve the issue. Please escalate this ticket.
- kidhexaAug 29, 2024Copper ContributorPlease reopen - This is still occurring for me even though I am manually sending POST requests to the webhook.
Every scenario I am testing is failing. Please escalate this!