如何调试团队机器人遇到的问题?

时间:2019-01-30 09:07:53

标签: microsoft-graph bots microsoft-teams

我已经从https://docs.microsoft.com/en-us/microsoftteams/platform/get-started/get-started-dotnet-app-studio构建了一个示例漫游器,并使用ngrok如页面中所述发布了该漫游器。我可以使用其公共ngrok地址访问该应用程序。

当我尝试使用App Studio为我们的团队添加应用程序时,出现一般错误

Something went wrong, please try again later.

在提琴手上,当团队将请求发送到api / mt / emea / beta / teams /..../@ thread.skype/apps/definitions

时,我看到“ HTTP / 1.1 400错误请求”

有没有机会进一步调试?

enter image description here

1 个答案:

答案 0 :(得分:2)

您的链接只是未找到,请确保您的链接存在,Microsoft倾向于使用400而不是404,可以在此处https://teams.microsoft.com/should-be-404看到,这是您得到的错误仅仅是因为它找不到SELECT usr.first_name, usr.last_name, usr.email as user_email, usr.status as user_status, comp.company_name, comp.email as company_email, comp.status as company_status, usrcomp.status as link_status FROM users AS usr JOIN link AS usrcomp ON usrcomp.user_id = usr.id JOIN companies AS comp ON comp.id = usrcomp.company_id WHERE usrcomp.status = 1 ,这要感谢Microsoft对错误消息的充分利用! #SomeThingWentWrong ,请修复您的链接,您的漫游器应该可以正常工作!