Slack API files.upload error: not_in_channel

{"ok":false,"error":"not_in_channel"}

This error occurs when a bot oauth token is used and the bot isn't in the target channel(s).

To fix:

  • Go into target channel(s)
  • Type /invite @BOT_NAME
  • Retry the request

Published