{"action":"created","issue":{"url":"https://api.github.com/repos/appveyor/ci/issues/623","repository_url":"https://api.github.com/repos/appveyor/ci","labels_url":"https://api.github.com/repos/appveyor/ci/issues/623/labels{/name}","comments_url":"https://api.github.com/repos/appveyor/ci/issues/623/comments","events_url":"https://api.github.com/repos/appveyor/ci/issues/623/events","html_url":"https://github.com/appveyor/ci/issues/623","id":129982052,"number":623,"title":"Slack notifications fails on private channel","user":{"login":"MartinDelille","id":879889,"avatar_url":"https://avatars.githubusercontent.com/u/879889?v=3","gravatar_id":"","url":"https://api.github.com/users/MartinDelille","html_url":"https://github.com/MartinDelille","followers_url":"https://api.github.com/users/MartinDelille/followers","following_url":"https://api.github.com/users/MartinDelille/following{/other_user}","gists_url":"https://api.github.com/users/MartinDelille/gists{/gist_id}","starred_url":"https://api.github.com/users/MartinDelille/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartinDelille/subscriptions","organizations_url":"https://api.github.com/users/MartinDelille/orgs","repos_url":"https://api.github.com/users/MartinDelille/repos","events_url":"https://api.github.com/users/MartinDelille/events{/privacy}","received_events_url":"https://api.github.com/users/MartinDelille/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/appveyor/ci/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/appveyor/ci/milestones/25","html_url":"https://github.com/appveyor/ci/milestones/deploy-2","labels_url":"https://api.github.com/repos/appveyor/ci/milestones/25/labels","id":1418941,"number":25,"title":"deploy-2","description":"","creator":{"login":"FeodorFitsner","id":5041459,"avatar_url":"https://avatars.githubusercontent.com/u/5041459?v=3","gravatar_id":"","url":"https://api.github.com/users/FeodorFitsner","html_url":"https://github.com/FeodorFitsner","followers_url":"https://api.github.com/users/FeodorFitsner/followers","following_url":"https://api.github.com/users/FeodorFitsner/following{/other_user}","gists_url":"https://api.github.com/users/FeodorFitsner/gists{/gist_id}","starred_url":"https://api.github.com/users/FeodorFitsner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FeodorFitsner/subscriptions","organizations_url":"https://api.github.com/users/FeodorFitsner/orgs","repos_url":"https://api.github.com/users/FeodorFitsner/repos","events_url":"https://api.github.com/users/FeodorFitsner/events{/privacy}","received_events_url":"https://api.github.com/users/FeodorFitsner/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":18,"state":"closed","created_at":"2015-11-18T23:18:49Z","updated_at":"2016-02-01T19:02:06Z","due_on":"2015-11-27T08:00:00Z","closed_at":"2016-02-01T19:02:06Z"},"comments":12,"created_at":"2016-01-30T12:38:47Z","updated_at":"2016-02-12T00:46:34Z","closed_at":"2016-02-01T03:11:44Z","body":"I tried to set up Slash notification to my private channel using the following configuration (*xxxxxx* is my token encrypted [here](https://ci.appveyor.com/tools/encrypt):\r\n\r\n    notifications:\r\n      - provider: Slack\r\n        channel: dev\r\n        auth_token:\r\n          secure: xxxxxx\r\n\r\nMy [Appveyor build](https://ci.appveyor.com/project/MartinDelille/travistest/build/1.0.307) show me the folloing error:\r\n\r\n    Error sending Slack notification: Error sending Slack message: channel_not_found\r\n\r\nWhen testing the Slash api with the following URL, it works: https://slack.com/api/chat.postMessage?token=xxxxxx&channel=dev&text=hello&pretty=1 (where *xxxxxx* is my token without encryption).\r\n\r\nIt also works if the channel is not private.\r\n"},"comment":{"url":"https://api.github.com/repos/appveyor/ci/issues/comments/183129875","html_url":"https://github.com/appveyor/ci/issues/623#issuecomment-183129875","issue_url":"https://api.github.com/repos/appveyor/ci/issues/623","id":183129875,"user":{"login":"FeodorFitsner","id":5041459,"avatar_url":"https://avatars.githubusercontent.com/u/5041459?v=3","gravatar_id":"","url":"https://api.github.com/users/FeodorFitsner","html_url":"https://github.com/FeodorFitsner","followers_url":"https://api.github.com/users/FeodorFitsner/followers","following_url":"https://api.github.com/users/FeodorFitsner/following{/other_user}","gists_url":"https://api.github.com/users/FeodorFitsner/gists{/gist_id}","starred_url":"https://api.github.com/users/FeodorFitsner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FeodorFitsner/subscriptions","organizations_url":"https://api.github.com/users/FeodorFitsner/orgs","repos_url":"https://api.github.com/users/FeodorFitsner/repos","events_url":"https://api.github.com/users/FeodorFitsner/events{/privacy}","received_events_url":"https://api.github.com/users/FeodorFitsner/received_events","type":"User","site_admin":false},"created_at":"2016-02-12T00:46:34Z","updated_at":"2016-02-12T00:46:34Z","body":"What error do you get? Make sure channel name is in *quotes* if starts with #."}}