tcSlackBuildNotifier icon indicating copy to clipboard operation
tcSlackBuildNotifier copied to clipboard

Getting channel_not_found, even though the channel exists

Open mookid8000 opened this issue 7 years ago • 1 comments

I configured the notifier to send notifications to a channel called #teamcity, and the "Send test notification" button works as it should.

However, when I configure Slack Notifier under "Notification Rules" for my user account on TeamCity, I cannot seem to configure it to correctly notify my Slack user when I break the build.

I configured the Slack Username to be Mogens Heller Grabe, but the TeamCity Server log just keeps saying this:

[2018-10-09 16:31:22,819]  ERROR -   jetbrains.buildServer.SERVER - NotificationUtility :: 
SlackNotification failed : @Mogens Heller Grabe returned error channel_not_found 

This happens with v. 1.4.6, which I installed for the first time yesterday, and also with 1.4.7, which I upgraded to today.

Is there something wrong with me? 🤔 or can anyone help me figure out how to solve this?

mookid8000 avatar Oct 09 '18 14:10 mookid8000

Hi @mookid8000, as far as I know there is a difference in slack between the display name and the actual username.

I don't believe usernames can contain whitespaces so you may wantnto recheck whether you have actually used the right value in the username field.

marvin-w avatar Oct 10 '18 06:10 marvin-w