slack-plugin: ERROR: Could not parse response from slack

Hello! im using declarative pipeline and have this error:

run slackstepsend, step false, desc true Slack Send Pipeline step configured values from global config - baseUrl: true, teamDomain: true, token: true, channel: false, color: true ERROR: Could not parse response from slack, potentially because of invalid configuration (botUser: true and baseUrl set)

in logs all seems ok:

PM jenkins.plugins.slack.StandardSlackService publish INFO: Posting succeeded

but this code return null object:

def slackResponse = slackSend(channel: "@UE94MBP5K", message: "Hi bro! <3")
slackSend(channel: slackResponse.threadId, message: "Build still in progress")

what could it be?

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 26 (15 by maintainers)

Most upvoted comments

I’ve created https://github.com/jenkinsci/slack-plugin/issues/487

No idea, the label should be changed in the UI

don’t set the slack compatible app URL field, set the team domain instead

You could add form validation if botuser is set do not allow base URL to be set and do not allow team domain to be empty.

❓ Why was it ever named team domain it is called workspace in slack terms. 🔀