tompaana / intermediator-bot-sample

A sample bot, built with the Microsoft Bot Framework (v4), that routes messages between two users on different channels.
https://tompaana.github.io/content/chatbots_as_middlemen.html
MIT License
124 stars 66 forks source link

Trying to implement bot sample with hands off to agent. problem with bot after hosting on azure throws error #44

Closed pranavdhundhia closed 5 years ago

pranavdhundhia commented 5 years ago

Throws following error tying access azure hosted bot . { "error": { "code": "ServiceError", "message": "Refresh access token failed with status code: 400" } }

Here is the configuration I do have used for .Bot File { "name": "production", "description": "", "services": [ { "type": "endpoint", "appId": "****", "appPassword": "*****", "endpoint": "intermediatorbotsample2019.azurewebsites.net/api/messages", "name": "AzureAccountLive", "id": "178" } ], "padlock": "", "version": "2.0", "path": "D:\Architecture\IntermediatorBot\production.bot", "overrides": null }