• Recent
    • Tags
    • Popular
    • Register
    • Login

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website

    Slack Publisher not working, but webhooks sent to slack work

    User help
    2
    3
    943
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Z
      zenvakil
      last edited by

      Hey,
      I'm trying to set up a slack publisher event handler that forwards events onto a slack channel.
      To do so I have set up a virtual data source with a virtual data point to randomly alternate between binary values 0 and 1, with an event detector that detects any change in the data.
      I've assigned the slack publisher event handler to the event in the hopes of testing the process. The only problem is that the I never seem to receive the messages on slack. I made a basic global script and scripted event detector that sends webhooks to the same slack bot, which always works.

      Is anyone able to help? Is there something i'm missing here? I've followed the instructions on this link https://help.infiniteautomation.com/slack-event-handler.
      I'm getting the following messages in the log if that helps.

      0_1588062871448_abf2f0c2-1f74-424f-a589-688b4f35e049-image.png

      PS. I've double checked that the oauth tokens are correct and that the slack bot has webhook permission.

      1 Reply Last reply Reply Quote 0
      • CraigWebC
        CraigWeb
        last edited by

        Hi Zen

        Please provide your mango and slack module version. so we can try to replicate. I have gone through the Slack API documentation. https://api.slack.com/methods/rtm.start

        The error you are receiving has the following reason:
        Authentication token is for a deleted user or workspace.

        Z 1 Reply Last reply Reply Quote 0
        • Z
          zenvakil @CraigWeb
          last edited by

          @craigweb Hey Craig, thanks for helping with this. That is really strange since the user and workspaces are both very much active.
          I am using core version 3.7.7 and slackPublisher module 3.7.0.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post