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

Unable to find channel with name #129

Closed
patricklabrie opened this issue Jul 19, 2021 · 6 comments · Fixed by #131
Closed

Unable to find channel with name #129

patricklabrie opened this issue Jul 19, 2021 · 6 comments · Fixed by #131

Comments

@patricklabrie
Copy link

patricklabrie commented Jul 19, 2021

I've read the other issues. I'm not too sure since it doesn't have very verbose information.
I enter Slack channel without the #, I've validated the bot oauth is good, restarted TC server last friday, still today it doesn't find it. The bot joined the channel I'm trying to find (though the bot joined after the restart). It isn't a new channel since the plugin install.
I'm on 2.1.0
Any clue to diagnose further ?
Also, I don't know where to find the Try it. I was assuming it would show up after the Save but I can't save due to the Slack channel unfound issue.
Thanks for the help, plugin look great.

@aeroradish
Copy link

I just had this problem -- I solved it by going to the new channel and clicking on the heading to bring up the settings. I then clicked the "Integrations" tab, and added this App to the channel. The channel then showed up on Team City.

@patricklabrie
Copy link
Author

The bot was already added to the channel following these instructions.
I revalidated the oauth in TC, the bot config/access, that the bot was indeed in the channel. Nothing moved.

@alexkvak
Copy link
Owner

Could you try https://api.slack.com/methods/conversations.list/test ?
Provide your token and enter public_channel,private_channel into types field.

@patricklabrie
Copy link
Author

patricklabrie commented Jul 20, 2021

it works, but we have so many channels, at the end I get
"response_metadata": {
"next_cursor": "dGVhbTpDOVk1SjdRRVA="
}

Based on https://api.slack.com/docs/pagination you might need to cycle through the list.
Is that potentially the issue ? The channel doesn't show up in the first page of data retrieval searching on the website provided, so that could explain it.

@alexkvak
Copy link
Owner

alexkvak commented Jul 21, 2021

Thanks for the investigation!

This issue should be fixed in v2.1.3

@patricklabrie
Copy link
Author

Confirm it's been fixed!

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

Successfully merging a pull request may close this issue.

3 participants