I am trying to build a chatbot using Microsoft Bot Framework. I am new to this. Currently I was able to built a standalone chat successfully. However, while trying to embed my chat in my application, it throws a 500 Internal Server. (PS: currently running my application in localhost)
This is all what I have done till now(I believe I may hay have missed some steps):
- Registered the app with /api/messages and https endpoint.
- Added the Direct Link Channel (The Web Chat was already there).
- Embeded the Web Chat in my html with Web Chat secret key(not the tokens).
- Then added the hello world chat bot in server.js that connects with the localhost as well. Hello World Code
- Finally run the code.
I could access my application from local host and also see the chat control interface shown in front end. However when I type something it throws 500 Internal Server Error.
Please let me know what I am missing out.
PS: application in MEAN stack