question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error when trying to integrate chatbot with slack.

See original GitHub issue

Rasa Core version: 0.13.3

Python version: 3.6(64 bit)

Operating system (windows, osx, …):windows

Issue: My bot when integrated with slack works fine with text messages but getting 404 error when i click the button. Interactive component url: http://43a65818.ngrok.io/wehooks/slack/webhook

Content of domain file (if used & relevant):

slots:
  user_request:
    type: text
  user_type:
    type: text
  user_choice:
    type: text
  name:
    type: list

intents:
 - greet
 - goodbye
 - inform
 - affirm
 - deny
 - search
 - searchtype
 - startfresh


entities:
 - user_request
 - user_type
 - user_choice
 - name

templates: 
  utter_info: 
    - "what news do you want?"
  utter_moreinfo: 
    - 
      buttons: 
        - 
          payload: "/affirm"
          title: Yes, for sure
        - 
          payload: "/deny"
          title: No, thank you
        - 
          payload: "/startfresh"
          title: Start Fresh 
      text: "Do you want to know anything more?"
  utter_satisfy:
    - 
      buttons: 
        - 
          payload: "/affirm"
          title: Yes, for sure
        - 
          payload: "/deny"
          title: No, thank you
        - 
          payload: "/startfresh"
          title: Start Fresh
      text: "Are you happy with what we have provided?"
  utter_happy:
    - "We are happy to know that"
  utter_sad:
    - "Sorry, we will improve our service"
  utter_again:
    - 
      buttons: 
        - 
          payload: '/search{"user_request":"news"}'
          title: News
        - 
          payload: '/search{"user_request":"reports"}'
          title: Reports
        - 
          payload: '/search{"user_request":"both"}'
          title: Both
        - 
          payload: "/startfresh"
          title: Start Fresh
      text: "Please select one"

  utter_goodbye: 
    - "Talk to you later."
    - "Bye bye :("
  utter_greet: 
    - 
      buttons: 
        - 
          payload: '/search{"user_request":"news"}'
          title: News
        - 
          payload: '/search{"user_request":"reports"}'
          title: Reports
        - 
          payload: '/search{"user_request":"both"}'
          title: Both
        - 
          payload: "/startfresh"
          title: Start Fesh
      text: "Hello! I am a bot and I can provide you some interesting news and reports.Select one of the following option"
  utter_type: 
    - 
      buttons: 
        - 
          payload: '/searchtype{"user_type":"title"}'
          title: Title
        - 
          payload: '/searchtype{"user_type":"tag"}'
          title: Tag
        - 
          payload: '/searchtype{"user_type":"text"}'
          title: Text
        - 
          payload: "/startfresh"
          title: Start Fresh
      text: "How do you want the search to be based on?"
  utter_typeagain: 
    - 
      buttons: 
        - 
          payload: '/searchtype{"user_type":"title"}'
          title: Title
        - 
          payload: '/searchtype{"user_type":"tag"}'
          title: Tag
        - 
          payload: '/searchtype{"user_type":"text"}'
          title: Text
        - 
          payload: "/startfresh"
          title: Start Fresh
      text: "Select one"
  utter_typeask:
    - 
      buttons: 
        - 
          payload: "/affirm"
          title: Yes, for sure
        - 
          payload: "/deny"
          title: No, thank you
        - 
          payload: "/startfresh"
          title: Start Fresh
      text: "Do you want to search again based on different criteria?"
  utter_continue:
    - 
      buttons: 
        - 
          payload: "/affirm"
          title: Yes, for sure
        - 
          payload: "/deny"
          title: No, thank you
      text: "Do you want to start again?"



actions:
 - utter_greet
 - utter_goodbye
 - utter_info
 - utter_again
 - utter_sad
 - utter_happy
 - utter_satisfy
 - utter_moreinfo
 - utter_type
 - utter_typeagain
 - utter_typeask
 - utter_continue
 - action_news
 - action_reset
 - action_restart

here is the screenshot of my error log

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:13 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
erohmensingcommented, Mar 28, 2019

Yay, I’m glad!

0reactions
Swarnalathaacommented, Mar 28, 2019

Thanks, it worked 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Enabling interactions with bots - Slack API
For workspaces on the Free plan, each bot user counts as a separate integration. API methods available to bots. Bot Users, and bot...
Read more >
POST/ 405 method not found - Slack error while integrating ...
I am getting some kind of 405 method not found error, while integrating my rasa chatbot with slack. ? please put some light...
Read more >
Step-by-Step Guide to Building Slack Chatbot for Internal IT ...
Steps to deploy your bot on slack for Internal IT Support · Select Slack as the desired Chat Channel · Click Add to...
Read more >
Slack integration - 500 error - Rasa Open Source
I am struggling with the integration of my bot to Slack. ... credendials.yml file with the Slack chat bot OAuth token and Slack...
Read more >
Troubleshooting AWS Chatbot
Ensure that the AWS Chatbot app ("@aws") is added to the Slack channel. If it hasn't, in Slack, add the AWS Chatbot app...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found