i done the following steps:
created web app bot (bot framework sdk v4) and perform 'test web chat'. which is successful and the bot responded. note: Microsoft app id and password are created.
Downloaded the code.
updated bot file(.bot) with luis and qna configuration manually
#{ "appId": "XXXXXXX", "authoringKey": "xxxxxxxxxx", "version": "0.1", "region": "xxxxx", "type": "luis", "name": "BasicBotLuisApplication", "id": "6" #} #{ "appId": "XXXXXXX", "authoringKey": "xxxxxxxxxx", "version": "0.1", "region": "xxxxx", "type": "qna", "name": "myqna" #}and put 'Padlock' with empty value
Also updated the code (Startup.cs,BotServices.cs) and build app locally.
- For testing locally,used bot framework emulator and which was successful.
- Then 'Publish' the application with visual studio.
- Try to connect with 'Test webchat'. The operation failed and received error code(401 and 403).
what shall do? any solutions?