Microsoft Teams App Studio-无法添加自定义Bot应用程序

时间:2019-10-09 08:53:32

标签: chat bots

我正在尝试添加通过App Studio配置的聊天机器人应用。 实际上,当我使用F12启动安装时,发现以下异常:

将漫游器添加到团队花名册失败。 UserId:'662998d5-8ae9-42c4-a9fe-92b18ee8b43d',TeamId:'19:4a3d3b03ff584fd597fcd65feb7f2093@thread.skype',异常:'Microsoft.SkypeSpaces.MiddleTier.Common.Exceptions.ProviderException:提供者异常:BotTeamMembership在团队中:'19:4a3d3b03ff584fd597fcd65feb7f2093@thread.skype',机器人:'28:c9b2fcf2-9770-40a4-9494-b417b2950cf7'异常:'Microsoft.SkypeSpaces.MiddleTier.Common.ServiceException:无法执行SkypeshipSendS2请求。放。 ↵Microsoft.Skype.Chat.WebServices.Requests.ServiceRequestBase 1.<ExecuteHttpRequest>d__36.MoveNext() in F:\ts-service-3023\_work\207\s\Source\BackendServices\SkypeChatService\Requests\ServiceRequestBase.cs:line 481 ↵--- End of stack trace from previous location where exception was thrown --- ↵ at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() ↵ at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) ↵ at Microsoft.Skype.Chat.WebServices.Requests.ServiceRequestBase 1.d__24.MoveNext()中的F:\ ts-service-3023_work \ 207 \ s \ Source \ BackendServices \ SkypeChatService \ Requests \ ServiceRequestBase.cs :第121行 ↵---从上一个引发异常的位置开始的堆栈结束跟踪--- System在System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() System在System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务) ↵Microsoft.Skype.Chat.WebServices.SkypeChatService.d__112 1.MoveNext() in F:\ts-service-3023\_work\207\s\Source\BackendServices\SkypeChatService\SkypeChatService.cs:line 1612 ↵--- End of stack trace from previous location where exception was thrown --- ↵ at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() ↵ at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) ↵ at Microsoft.Skype.Chat.WebServices.SkypeChatService.<ExecuteBulkMembershipOperation>d__111 1.MoveNext()中的F:\ ts-service-3023_work \ 207 \ s \ Source \ BackendServices \ SkypeChatService \ SkypeChatService.cs:line 1508'无法执行Skype后端请求BulkMembershipS2SRequest.PUT。 ---> Microsoft.SkypeSpaces.MiddleTier.Common.ServiceException:无法执行Skype后端请求BulkMembershipS2SRequest.PUT。 ↵Microsoft.Skype.Chat.WebServices.Requests.ServiceRequestBase 1.<ExecuteHttpRequest>d__36.MoveNext() in F:\ts-service-3023\_work\207\s\Source\BackendServices\SkypeChatService\Requests\ServiceRequestBase.cs:line 481 ↵--- End of stack trace from previous location where exception was thrown --- ↵ at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() ↵ at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) ↵ at Microsoft.Skype.Chat.WebServices.Requests.ServiceRequestBase 1.d__24.MoveNext()中的F:\ ts-service-3023_work \ 207 \ s \ Source \ BackendServices \ SkypeChatService \ Requests \ ServiceRequestBase.cs :第121行 ↵---从上一个引发异常的位置开始的堆栈结束跟踪--- System在System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() System在System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务) ↵在Microsoft.Skype.Chat.WebServices.SkypeChatService.d__112 1.MoveNext() in F:\ts-service-3023\_work\207\s\Source\BackendServices\SkypeChatService\SkypeChatService.cs:line 1612 ↵--- End of stack trace from previous location where exception was thrown --- ↵ at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() ↵ at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) ↵ at Microsoft.Skype.Chat.WebServices.SkypeChatService.<ExecuteBulkMembershipOperation>d__111 1.MoveNext()中的F:\ ts-service-3023_work \ 207 \ s \ Source \ BackendServices \ SkypeChatService \ SkypeChatService.cs:line 1508 ↵---内部异常堆栈跟踪的结尾--- ↵在Microsoft.SkypeSpaces.MiddleTier.Provider.Membership.BotTeamMembershipManager.d__13.MoveNext()中的F:\ ts-service-3023_work \ 207 \ s \ Source \ TeamsAndChannels \ TeamsAndChannels.Providers \ Membership \ BotTeamMembershipManager.cs:第356行 ↵---从上一个引发异常的位置开始的堆栈结束跟踪--- System在System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() System在System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务) ↵在Microsoft.SkypeSpaces.MiddleTier.Provider.Membership.BotTeamMembershipManager.d__12.MoveNext()中的F:\ ts-service-3023_work \ 207 \ s \ Source \ TeamsAndChannels \ TeamsAndChannels.Providers \ Membership \ BotTeamMembershipManager.cs:第210行 ↵---从上一个引发异常的位置开始的堆栈结束跟踪--- System在System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() System在System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务) ↵在Microsoft.SkypeSpaces.MiddleTier.Provider.Membership.BotTeamMembershipManager.d__6.MoveNext()中的F:\ ts-service-3023_work \ 207 \ s \ Source \ TeamsAndChannels \ TeamsAndChannels.Providers \ Membership \ BotTeamMembershipManager.cs:第126行 ↵---从上一个引发异常的位置开始的堆栈结束跟踪--- System在System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() System在System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务) ↵在Microsoft.SkypeSpaces.MiddleTier.Provider.Membership.MembershipProvider.d__71.MoveNext()中的F:\ ts-service-3023_work \ 207 \ s \ Source \ TeamsAndChannels \ TeamsAndChannels.Providers \ Membership \ MembershipProvider.cs:line 2226 ↵---从上一个引发异常的位置开始的堆栈结束跟踪--- System在System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() ↵在Microsoft.SkypeSpaces.MiddleTier.Provider.Membership.MembershipProvider.d__71.MoveNext()中的F:\ ts-service-3023_work \ 207 \ s \ Source \ TeamsAndChannels \ TeamsAndChannels.Providers \ Membership \ MembershipProvider.cs:line 2274 ↵---从上一个引发异常的位置开始的堆栈结束跟踪--- System在System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() System在System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务) ↵在Microsoft.SkypeSpaces.MiddleTier.Provider.Membership.MembershipProvider.d__70.MoveNext()中的F:\ ts-service-3023_work \ 207 \ s \ Source \ TeamsAndChannels \ TeamsAndChannels.Providers \ Membership \ MembershipProvider.cs:line 2026 ↵---从上一个引发异常的位置开始的堆栈结束跟踪--- System在System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() System在System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务) ↵在Microsoft.SkypeSpaces.MiddleTier.Provider.Membership.MembershipProvider.d__45.MoveNext()中的F:\ ts-service-3023_work \ 207 \ s \ Source \ TeamsAndChannels \ TeamsAndChannels.Providers \ Membership \ MembershipProvider.cs:line 787 ↵---从上一个引发异常的位置开始的堆栈结束跟踪--- System在System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() System在System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务) >在Microsoft.Teams.Services.TeamsAndChannels.TeamsAndChannelsService。<> c__DisplayClass6_0。 d.MoveNext()在F:\ ts-service-3023_work \ 207 \ s \ Source \ BackendServices \ TeamsAndChannels \ TeamsAndChannelsService.cs:第103行 ↵---从上一个引发异常的位置开始的堆栈结束跟踪--- System在System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() System在System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务) ↵在Microsoft.Teams.Services.TeamsAndChannels.RequestHelper.d__1 1.MoveNext() in F:\ts-service-3023\_work\207\s\Source\BackendServices\TeamsAndChannels\RequestHelper.cs:line 0 ↵--- End of stack trace from previous location where exception was thrown --- ↵ at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() ↵ at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) ↵ at Microsoft.SkypeSpaces.MiddleTier.Provider.Apps.AppsProvider.<AddBotsToTeamOrChatRosterAsync>d__138.MoveNext() in F:\ts-service-3023\_work\207\s\Source\Provider\Provider\Apps\AppsProvider.cs:line 2560 ↵--- End of stack trace from previous location where exception was thrown --- ↵ at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() ↵ at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) ↵ at Microsoft.SkypeSpaces.MiddleTier.Provider.Apps.AppsProvider.<CreateTeamAppDefinitionAsync>d__46.MoveNext() in F:\ts-service-3023\_work\207\s\Source\Provider\Provider\Apps\AppsProvider.Team.cs:line 1718'BotTeamMembershipManager: Failed to add bots in the team: '19:4a3d3b03ff584fd597fcd65feb7f2093@thread.skype', Bots: '28:c9b2fcf2-9770-40a4-9494-b417b2950cf7' Exception: 'Microsoft.SkypeSpaces.MiddleTier.Common.ServiceException: Failed to execute Skype backend request BulkMembershipS2SRequest.PUT. ↵ at Microsoft.Skype.Chat.WebServices.Requests.ServiceRequestBase 1.d__36.MoveNext()中的F:\ ts-service-3023_work \ 207 \ s \ Source \ BackendServices \ SkypeChatService \ Requests \ ServiceRequestBase.cs :第481行 ↵---从上一个引发异常的位置开始的堆栈结束跟踪--- System在System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() System在System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务) ↵Microsoft.Skype.Chat.WebServices.Requests.ServiceRequestBase 1.<Execute>d__24.MoveNext() in F:\ts-service-3023\_work\207\s\Source\BackendServices\SkypeChatService\Requests\ServiceRequestBase.cs:line 121 ↵--- End of stack trace from previous location where exception was thrown --- ↵ at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() ↵ at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) ↵ at Microsoft.Skype.Chat.WebServices.SkypeChatService.<ExecuteBulkMembershipRequest>d__112 1.MoveNext()中的F:\ ts-service-3023_work \ 207 \ s \ Source \ BackendServices \ SkypeChatService \ SkypeChatService.cs:line 1612 ↵---从上一个引发异常的位置开始的堆栈结束跟踪--- System在System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() System在System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务) ↵Microsoft.Skype.Chat.WebServices.SkypeChatService.d__111`1.MoveNext()中的F:\ ts-service-3023_work \ 207 \ s \ Source \ BackendServices \ SkypeChatService \ SkypeChatService.cs:line 1508'无法执行Skype后端请求BulkMembershipS2SRequest.PUT。

重要: 我已经在团队政策中正确设置了侧面负荷

有什么建议吗? 预先感谢

0 个答案:

没有答案