I get an error [OnTurnError]:Unknown Error on SendActivity of bot

生来就可爱ヽ(ⅴ<●) 提交于 2020-04-17 20:42:09

问题


My bot integrated into microsoft teams ,gives out an error after SentActivity call in webapp based teams but works fine on Desktop Application of Teams.

Code failing -

await stepContext.context.sendActivity({
            type: 'typing'
        });

The above logic only fails for web based teams and not on Desktop application. Any idea ,why that is?

Also the code below works perfectly fine in both-

await stepContext.context.sendActivity("Hello There");


回答1:


Is your Teams tenant within the Western European region? Unfortunately this is a service error at the moment, as confirmed in this issue on Github.

When the issue is resolved, it should be posted in the Github issue above.




回答2:


Thanks @Mick. @Sree - This is related to the recent outage happened in Europe region. My team has already raised the ticket for this.



来源:https://stackoverflow.com/questions/60768474/i-get-an-error-onturnerrorunknown-error-on-sendactivity-of-bot

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!