Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting channel_not_found, even though the channel exists #163

Open
mookid8000 opened this issue Oct 9, 2018 · 1 comment
Open

Getting channel_not_found, even though the channel exists #163

mookid8000 opened this issue Oct 9, 2018 · 1 comment

Comments

@mookid8000
Copy link

mookid8000 commented Oct 9, 2018

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?

@marvin-w
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants