Closed llamahunter closed 2 years ago
Please could you try to use User Token instead of Bot Token? Actually it seems that this is Slack's undocumented specification.
Err... that seems like a somewhat egregious bug in the slack api? Why can't bots unarchive channels?
What happened
Called client.UnarchiveConversationContext() on an archived channel, but got a 'not_in_channel' error, which isn't even listed as a valid error on https://api.slack.com/methods/conversations.unarchive
Expected behavior
Channel is unarchived and caller is added to channel
Steps to reproduce
reproducible code
see https://github.com/pablovarela/terraform-provider-slack/blob/master/slack/resource_conversation.go#L247
manifest.yaml
Versions