Unable to deploy from Bot Composer
I ma trying to deploy a bot to an existing resource via the Bot Framework Composer using the following instructions: https://learn.microsoft.com/en-us/composer/how-to-publish-bot#deploy-to-existing-azure-resources
I have populated the "xxx" areas below in to configure JSON in the Composes.
{
"accessToken": "xxx",
"hostname": "lh-virtualhelp",
"luisResource": "azure",
"settings": {
"luis": {
"endpointKey": "",
"authoringKey": "xxx",
"region": "westus"
},
"MicrosoftAppId": "xxx",
"MicrosoftAppPassword": "xxx"
}
}
The error I get is
Publish starting...
{
"status": "DEPLOY_INFO",
"message": "C:\Users\TE\AppData\Roaming\BotFrameworkComposer\publishBots\a501e56525b80db3ac507e3a50f2714a\azurewebapp\ComposerDialogs\generated\interuption\getUserInfo.en-us.lu loaded\n"
}
{
"status": "DEPLOY_INFO",
"message": "C:\Users\TE\AppData\Roaming\BotFrameworkComposer\publishBots\a501e56525b80db3ac507e3a50f2714a\azurewebapp\ComposerDialogs\generated\interuption\help.en-us.lu loaded\n"
}
{
"status": "DEPLOY_INFO",
"message": "C:\Users\TE\AppData\Roaming\BotFrameworkComposer\publishBots\a501e56525b80db3ac507e3a50f2714a\azurewebapp\ComposerDialogs\generated\interuption\labs.en-us.lu loaded\n"
}
{
"status": "DEPLOY_INFO",
"message": "C:\Users\TE\AppData\Roaming\BotFrameworkComposer\publishBots\a501e56525b80db3ac507e3a50f2714a\azurewebapp\ComposerDialogs\generated\interuption\medication.en-us.lu loaded\n"
}
{
"status": "DEPLOY_INFO",
"message": "C:\Users\TE\AppData\Roaming\BotFrameworkComposer\publishBots\a501e56525b80db3ac507e3a50f2714a\azurewebapp\ComposerDialogs\generated\interuption\schedule.en-us.lu loaded\n"
}
{
"status": "DEPLOY_INFO",
"message": "C:\Users\TE\AppData\Roaming\BotFrameworkComposer\publishBots\a501e56525b80db3ac507e3a50f2714a\azurewebapp\ComposerDialogs\generated\interuption\virtualassistant.en-us.lu loaded\n"
}
{
"status": "DEPLOY_INFO",
"message": "C:\Users\TE\AppData\Roaming\BotFrameworkComposer\publishBots\a501e56525b80db3ac507e3a50f2714a\azurewebapp\ComposerDialogs\generated\interuption\virtualassistant.en-us.lu no changes\n"
}
{
"status": "DEPLOY_INFO",
"message": "Writing to C:\Users\TE\AppData\Roaming\BotFrameworkComposer\publishBots\a501e56525b80db3ac507e3a50f2714a\azurewebapp\ComposerDialogs\generated\virtualassistant.en-us.lu.dialog\n"
}
{
"status": "DEPLOY_INFO",
"message": "Writing to C:\Users\TE\AppData\Roaming\BotFrameworkComposer\publishBots\a501e56525b80db3ac507e3a50f2714a\azurewebapp\ComposerDialogs\generated\virtualassistant.lu.dialog\n"
}
{
"status": "DEPLOY_INFO",
"message": "Writing to C:\Users\TE\AppData\Roaming\BotFrameworkComposer\publishBots\a501e56525b80db3ac507e3a50f2714a\azurewebapp\ComposerDialogs\generated\getUserInfo.lu.qna.dialog\n"
}
{
"status": "DEPLOY_INFO",
"message": "Writing to C:\Users\TE\AppData\Roaming\BotFrameworkComposer\publishBots\a501e56525b80db3ac507e3a50f2714a\azurewebapp\ComposerDialogs\generated\help.lu.qna.dialog\n"
}
{
"status": "DEPLOY_INFO",
"message": "Writing to C:\Users\TE\AppData\Roaming\BotFrameworkComposer\publishBots\a501e56525b80db3ac507e3a50f2714a\azurewebapp\ComposerDialogs\generated\labs.lu.qna.dialog\n"
}
{
"status": "DEPLOY_INFO",
"message": "Writing to C:\Users\TE\AppData\Roaming\BotFrameworkComposer\publishBots\a501e56525b80db3ac507e3a50f2714a\azurewebapp\ComposerDialogs\generated\medication.lu.qna.dialog\n"
}
{
"status": "DEPLOY_INFO",
"message": "Writing to C:\Users\TE\AppData\Roaming\BotFrameworkComposer\publishBots\a501e56525b80db3ac507e3a50f2714a\azurewebapp\ComposerDialogs\generated\schedule.lu.qna.dialog\n"
}
{
"status": "DEPLOY_INFO",
"message": "Writing to C:\Users\TE\AppData\Roaming\BotFrameworkComposer\publishBots\a501e56525b80db3ac507e3a50f2714a\azurewebapp\ComposerDialogs\generated\virtualassistant.lu.qna.dialog\n"
}
{
"status": "DEPLOY_INFO",
"message": "Writing to C:\Users\TE\AppData\Roaming\BotFrameworkComposer\publishBots\a501e56525b80db3ac507e3a50f2714a\azurewebapp\ComposerDialogs\generated\luis.settings..westus.json\n"
}
{
"status": "DEPLOY_INFO",
"message": "lubuild succeed"
}
{
"status": "DEPLOY_INFO",
"message": "start publish luis"
}
{
"status": "DEPLOY_INFO",
"message": "Assigning to luis app id: d55986db-2a88-4b50-99df-878f4a420d72"
}
{
"status": "DEPLOY_ERROR",
"message": "{\"name\":\"StatusCodeError\",\"statusCode\":400,\"message\":\"400 - {\\"error\\":{\\"code\\":\\"BadArgument\\",\\"message\\":\\"Failed to parse azure account information object object.\\"}}\",\"error\":{\"error\":{\"message\":\"Failed to parse azure account information object object.\"}},\"options\":{},\"response\":{\"statusCode\":400},\"stack\":\"StatusCodeError: 400 - {\\"error\\":{\\"code\\":\\"BadArgument\\",\\"message\\":\\"Failed to parse azure account information object object.\\"}}\n at new StatusCodeError (C:\\Program Files\\Bot Framework Composer\\resources\\app.asar.unpacked\\build\\plugins\\azurePublish\\node_modules\\request-promise-core\\lib\\errors.js:32:15)\n at Request.plumbing.callback (C:\\Program Files\\Bot Framework Composer\\resources\\app.asar.unpacked\\build\\plugins\\azurePublish\\node_modules\\request-promise-core\\lib\\plumbing.js:104:33)\n at Request.RP$callback [as _callback] (C:\\Program Files\\Bot Framework Composer\\resources\\app.asar.unpacked\\build\\plugins\\azurePublish\\node_modules\\request-promise-core\\lib\\plumbing.js:46:31)\n at Request.self.callback (C:\\Program Files\\Bot Framework Composer\\resources\\app.asar.unpacked\\build\\plugins\\azurePublish\\node_modules\\request\\request.js:185:22)\n at Request.emit (events.js:210:5)\n at Request.<anonymous> (C:\\Program Files\\Bot Framework Composer\\resources\\app.asar.unpacked\\build\\plugins\\azurePublish\\node_modules\\request\\request.js:1154:10)\n at Request.emit (events.js:210:5)\n at IncomingMessage.<anonymous> (C:\\Program Files\\Bot Framework Composer\\resources\\app.asar.unpacked\\build\\plugins\\azurePublish\\node_modules\\request\\request.js:1076:12)\n at Object.onceWrapper (events.js:299:28)\n at IncomingMessage.emit (events.js:215:7)\n at endReadableNT (_stream_readable.js:1183:12)\n at processTicksAndRejections (internal/process/task_queues.js:80:21)\"}"
}
400 - {"error":{"code":"BadArgument","message":"Failed to parse azure account information object object."}}