-
-
Notifications
You must be signed in to change notification settings - Fork 220
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
Channel_not_found in new conversations_list usage #337
Comments
That seems odd as https://api.slack.com/methods/conversations.info is a direct replacement for channels.info. What kind of channel is this (public? private DM?). Try calling |
You should open a ticket with Slack and see what they say. AFAIK it was never documented that you could supply a channel name, but would be nice to know that they explicitly deprecated this, and I would like to know what users should do to translate a channel name into an ID. We changed this in #331, cc: @wasabigeek - I presume we did test this IRL? |
@dblock 😨 I did not comprehensively test, only tested the conversations_list/channels_info endpoint (to record VCR), will take a look. |
@Bartlebyy could I trouble you to check the result of |
@Bartlebyy any update on this? |
@wasabigeek yes, it returns a name attribute. Here's a small snippet with anonymized data. I grabbed the first 2 channels.
|
@Bartlebyy, unfortunately I wasn't able to replicate this, using Could I ask for your help again to:
|
I'll check the other stuff later, but we are using the older verification tokens |
@Bartlebyy does your team have >100 public channels? I was investigating further and it seems we only search the first page of results for both Thanks! |
@wasabigeek we definitely have over 300 public channels |
That would be a bug ... |
Yup, it would be helpful if we can confirm this is the reason why the channels are not found. I'll work on fixing that in the meantime! |
…h 100+ channels.
Fix in #339, @wasabigeek care to CR? |
Fix #337: channel_not_found error resolving channel IDs with 100+ channels
@Bartlebyy care to try HEAD now that #339 was merged? |
Problem
On the latest release of 0.15.0 (I upgraded due to the deprecated channels_list to use the new conversations_list) I'm seeing an error when I try to query by a channels name rather than a channel_id. I expect to be able to just
client.conversations_setTopic({:channel => '#channel_name', :topic => 'random topic})
<- but the hashtag channel name format no longer works and only the channel_id approach works.I find that the code is much more readable with channel names than ids, so please help!
The text was updated successfully, but these errors were encountered: