Skip to content

RTM is deprecated: not_allowed_token_type #217

@Granitosaurus

Description

@Granitosaurus

Slack is in progress of deprecating RTM protocol in favor of events (which require the bot to roll a whole http server).

To reproduce:

  1. Create new app on https://api.slack.com/apps?new_app=1
  2. Add your oauth scopes: https://api.slack.com/apps/AAAAAAA/oauth?
  3. Run the example code:
slacker.Error: not_allowed_token_type

To fix:

  1. Create app through classic app endpoint: https://api.slack.com/apps?new_classic_app=1
  2. Set "bot" oauth scope.
  3. Add legacy bot user (App Home) section

However this endpoint is deprecated and seems like it will be disabled in favor of the god-awful events api that requires a full web server running waiting for events.
Additionally classic apps are not allowed on slack's app directory.K

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions