dgurkaynak / slack-poker-planner

Poker planning app for Slack
https://deniz.co/slack-poker-planner
MIT License
230 stars 37 forks source link

Error: channel_not_found #2

Closed andrey-nc closed 5 years ago

andrey-nc commented 6 years ago

Repro steps:

  1. Open private channel
  2. Type "/pp test @user1 @user2"
  3. See chat message from Poker Planner APP with text "channel_not_found"
janderberg commented 6 years ago

I got the same error using a channel that is shared between multiple workspaces.

dgurkaynak commented 6 years ago

Hey guys, I can not reproduce this issue.

  1. Created new private channel
  2. /pp test @user1 @user2 worked for both cases:
    • user1 and user2 are members of the channel
    • user1 and user2 are not members of the channel

Can you reproduce this issue everytime or does it work sometimes?

janderberg commented 6 years ago

My apologies, my Slack admin already uninstalled the app and I do not have access to install and test it in that Slack environment myself. But when I had it installed, I only tried with a private shared channel, and from what I recall I was getting this error when specifying users and when I didn't specify users.

dgurkaynak commented 5 years ago

I finally managed to trace and reproduce this issue. This is happened on private channels when app is installed by someone who does not have permission to that channel. To fix this, app needs to re-installed by a user who has access to that private channel/group. (This process renews the access token of the team.)

When this occurs, Poker Planner is now printing an instruction for fix.

image