microsoft / skype-dev-bots

Skype bots interact with users in a personal conversation in Skype using chat, voice or video for entertainment, support or commerce. Skype Developer Platform team's mission is to assist developers to build highly engaging Skype bots using Microsoft Bot Framework. To learn more, visit https://dev.skype.com
MIT License
59 stars 24 forks source link

Skype bot recreated with same AppId and bot handle is not synchronizing #15

Open JonesAbramoff opened 6 years ago

JonesAbramoff commented 6 years ago

Hi, my bot was approved and running fine but I needed to recreate it keeping the same AppID.

The channels for Telegram and Facebook Messenger and Webchat are running normally but when I try to edit the Skype channel I receive the error below that don´t allow me to go ahead. I can´t save nor delete Skype channel configuration.

It was in https://join.skype.com/bot/364ac194-60b8-4959-88ba-6cef784e924b and its name is ZapPrices.

The bot is not working and logs this error: "There was a problem synchronizing your bot to Skype."

Exception: ApsException Create failed. ApsException: Create failed. HttpException: Aps call failed - message: NA reasonPhrase: Conflict request content: {"Description":{"displayName":"ZapPrices BR","description":"Comparador de preços entre diversas lojas. Basta enviar o nome do produto ou o código de barras.","agentId":"364ac194-60b8-4959-88ba-6cef784e924b","developer":"Corporator Servicos de Informatica Ltda","extra":null,"userTileSmallUrl":"https://bot-framework.azureedge.net/bot-icons-v1/botzapprices4_8yBDekFko2GV8GzF735cm4UJ7j74ZnAyn38931XE101Uw2yy.png","userTileMediumUrl":"https://bot-framework.azureedge.net/bot-icons-v1/botzapprices4_8yBDekFko2GV8GzF735cm4UJ7j74ZnAyn38931XE101Uw2yy.png","userTileLargeUrl":"https://bot-framework.azureedge.net/bot-icons-v1/botzapprices4_8yBDekFko2GV8GzF735cm4UJ7j74ZnAyn38931XE101Uw2yy.png","userTileExtraLargeUrl":"https://bot-framework.azureedge.net/bot-icons-v1/botzapprices4_8yBDekFko2GV8GzF735cm4UJ7j74ZnAyn38931XE101Uw2yy.png","userTileStaticUrl":"https://bot-framework.azureedge.net/bot-icons-v1/botzapprices4_8yBDekFko2GV8GzF735cm4UJ7j74ZnAyn38931XE101Uw2yy.png","webpage":"http://botzapprices4.azurewebsites.net/","tos":"http://zapprices.com.br/termodeusozap.html","privacyStatement":"http://zapprices.com.br/politicadeprivacidadezap.html","isTrusted":false,"capabilities":["im.send","im.receive","file.send","moji.send","photo.send"],"disclosures":null,"supportedLocales":[],"agentType":"Participant","starRating":0.0,"categories":null,"keywords":null,"etag":null},"PublishState":"Preview","Disabled":false,"MsaAppId":"364ac194-60b8-4959-88ba-6cef784e924b","BotHandle":"botzapprices4","AppInsightsInstrumentationKey":"00000000-0000-0000-0000-000000000000","Cid":0,"Updated":"0001-01-01T00:00:00","DeveloperId":"deprecated","MessagingApiVersion":"3","MessagesUrl":"https://botzapprices4.azurewebsites.net/api/messages","AugmentedChatMode":false,"Channels":["skype"],"Hashtags":"skypedirect"} , at SkypeAps.ApsAdapter.d24`1.MoveNext() --- 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 SkypeAps.ApsAdapter.d7.MoveNext() --- 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 Intercom.Channels.Controllers.Skype.ApsAgentManager.d5.MoveNext() --- 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 Intercom.Channels.Controllers.Skype.SkypeHelper.d3.MoveNext() --- 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 Intercom.Channels.Controllers.SkypeController.d__1.MoveNext()

JonesAbramoff commented 6 years ago

Hi, I have recreated everything with differente bot handle and appId: https://join.skype.com/bot/ac573e18-18eb-48e7-856a-51ddeb3b6185 . Please review it as soon as possible.

JonesAbramoff commented 6 years ago

Hi, the bot with the new AppId is already published. Please remove the old one 364ac194-60b8-4959-88ba-6cef784e924b from the Skype bots directory.

JonesAbramoff commented 6 years ago

There are two icons of ZapPrices bots in Android add bot screen as shown below.

Please remove the one that is not working anymore (364ac194-60b8-4959-88ba-6cef784e924b).

foto_zap_2

JonesAbramoff commented 6 years ago

Hi, please add back the ZapPrices bot with AppId ac573e18-18eb-48e7-856a-51ddeb3b6185 to the Skype bots Directory. I asked to delete only the old one (364ac194-60b8-4959-88ba-6cef784e924b).

Apparently in Windows PC the correct ZapPrices bot is shown but the Android Skype shows the wrong AppId and doesn´t work.