Hello, I am an intern working on an already developed Rasa chatbot. My internship deliverable is to integrate the chatbot on FB messenger. However, I am not able to create a webhook for the same. Attaching a copy of the error image. Any help on this would be appreciated
- Which port number you are using in ngrok ?(default 5005)
- After running the project (rasa run) ,then try to connect fb using webhook
- FB page admin only do this
- Change the verify token
Yes 5005 is the port that I’m using, also I am not able to execute rasa run command, I am just running my chatbot using “npm start”. What do you suggest? If I run the command “rasa run” it gives me an error
HI @RenuDighe. Could you share the log of the error you get when you run the
rasa run command? Also, what would help is if you could share the message you see on ngrok once the facebook tries to validate the URL.
Actually, I think it is because, Facebook is not able to verify that your “webhook handler”(Rasa facebook webhook endpoint) is working. So to help you as other suggest, you need to give I think the error that you get from rasa run.
This is what I get when I click on Save and Verify on FB Developers Page
And this is what I get when I run rasa with the credentials file
In which port are you running the rasa serveur whe using ‘npm start’; If you run on the port “5005”, you should run “./ngrok http 5005”. Because, what I see is that you are using the port 80 on ngrok. Hope this help
Screenshot is of port 80, but I have tried doing the same for 5005, 5004 and 5055. My chatbot is using 5055. But does not work for it either
Do you have model folder or not ? in your project.If you don’t have please train your project with (rasa train)
Which version of rasa are you using ?
@RenuDighe what’s the version?
rasa train wasn’t a command until
rasa 1.0.0. Are you still on
Yes I am using rasa_core and rasa_nlu. What should be done to migrate to rasa 1.0.0?
Thanks a lot
Sure thing! Hope the migration goes well, then let us know if you still have trouble with facebook