botframework-sdk: Publishing simple NodeJs BotConnector example fails
Hi,
I’ve been eagerly attempting to get a very simple bot to work with the bot framework since I saw the keynote. While getting the bots to work locally is fairly straight forward, I can’t seem to get them functioning in the cloud.
I’ve been playing around with the NodeJs framework - and I basically started mimicking the simple botConnector example: https://github.com/Microsoft/BotBuilder/blob/master/Node/examples/hello-BotConnectorBot/app.js
However, it fails with a 500 and no further information.
From what I can gather it throws an error in the processMessage function and hits the catch statement.
(I tried deploying both to azure, google app engine and heroku - all with the same result)
{
"error": {
"code": "ServiceError",
"message": "*Sorry, CvrBot isn't available right now.*",
"statusCode": 500
}
}
I’m really excited to get this up and running 😃
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 1
- Comments: 58 (26 by maintainers)
Hello, Tomlm, I can’t get bot respond on webchat, I deploy my node.js and running on heroku, also can get this “ChatConnector: message received.” respond, but my bot not have any messages for me, can you help me results the issues please, thank you so much.
ok I have figured out the problem Somehow we had a regression in our switch and it is sending the json Pascal cased instead of camelCased. I will have to push a new connector build so it is probably an hour for me to resolve this.
I am getting the same issue {“code”:“InternalError”,“message”:“Invalid Bot Framework Message”} Can you tell me how to resolve it