Forum Discussion

mnavadoot's avatar
mnavadoot
Copper Contributor
Jun 03, 2020

Unable to Post Message to Channel using Incoming Webhook

Hi,

 

Our use-case is to send messages to one of the channels of Microsoft Teams and in order to do so we are using pymsteams python library/package. From the example mentioned on it's documentation, we require webhook url.

 

To go ahead and test, I have setup account on Microsoft Teams and currently it has got two channels - General (default created) and Notifications Testing (user created) under BigLittle Innovations team. Then I followed this (add-incoming-webhook) link to add incoming webhook but I wasn't able to find Connectors option under drop-down. However, I do find Get link to channel option from where I get url of the channel and used in the code to try out posting a message to respective channel. But the code was failing raising following exception:

 

 

TeamsWebhookException: The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

 

 

 

Please let me know the way to proceed further. Your help is very much appreciated.

 

Thanks.

 

Regards,

Avadoot Nachankar

4 Replies

Resources