admin管理员组文章数量:1289632
Need some help regarding bot deployment Steps We Have Done -
- Downloaded zip of code from Azure Open AI Service.
- After deployment of the downloaded zip to Azure.
- Azure Bot service is created automatically.
- There are 3 channels in this - 1. Direct Line, 2. Teams App, 3. Web Chat.
- Bot working fine in Teams App.
- For Direct Line & Web Chat giving error. -- There was an error sending this message to your bot: HTTP status code Unauthorized
Need some help regarding bot deployment Steps We Have Done -
- Downloaded zip of code from Azure Open AI Service.
- After deployment of the downloaded zip to Azure.
- Azure Bot service is created automatically.
- There are 3 channels in this - 1. Direct Line, 2. Teams App, 3. Web Chat.
- Bot working fine in Teams App.
- For Direct Line & Web Chat giving error. -- There was an error sending this message to your bot: HTTP status code Unauthorized
1 Answer
Reset to default 0When test in Web Chat, it doesn't include an authorization header in the request to the bot. However, the downloaded project contains below logic, that returns Unauthorized response in this case. You can remove this logic in order to test in Web Chat.
if (!req.headers.authorization && process.env.RUNNING_ON_AZURE === '1') {
return res.send(401, 'unauthorized');
}
本文标签: automationAzure Bot deployment using teams toolkitStack Overflow
版权声明:本文标题:automation - Azure Bot deployment using teams toolkit - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741478141a2381007.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论