microsoft / botframework-sdk

Bot Framework provides the most comprehensive experience for building conversation applications.
MIT License
7.45k stars 2.44k forks source link

Interactive Message via ConnectorClient not appears #6602

Closed CLNELATU closed 1 year ago

CLNELATU commented 1 year ago

Hi, I have the WhatsApp Bot. I use connectorclient to display the bot messages. But I couldn't see the messages getting displayed (this is occurring whenever I use connectorclient to display). It was working before but all of a sudden it was not working. Can anyone please help with this issue?

anishprasad01 commented 1 year ago

Hi @CLNELATU,

Please elaborate on your situation. It would be helpful if you could describe any specific error messages you are receiving, any pertinent results from logging (with any personal or confidential info and keys removed), code or configuration changes you may have made, software versions you have used, any debugging steps you attempted, and so on.

CLNELATU commented 1 year ago

Hi @anishprasad01 ,

Getting the below error for this line of statement "await connectorClient.Conversations.SendToConversationAsync(replyActivity, new CancellationToken());"

Error: microsoft.bot.schema.errorresponseexception: 'operation returned an invalid status code 'notfound''

This exception was originally thrown at this call stack: Microsoft.Bot.Connector.Conversations.SendToConversationWithHttpMessagesAsync(string, Microsoft.Bot.Schema.Activity, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List>, System.Threading.CancellationToken) Microsoft.Bot.Connector.ConversationsExtensions.SendToConversationAsync(Microsoft.Bot.Connector.IConversations, string, Microsoft.Bot.Schema.Activity, System.Threading.CancellationToken) Microsoft.BotBuilderSamples.Bots.DialogBot.CheckConversations() in DialogBot.cs

We use dynamic 365 Omnichannel as an interface to connect with WhatsApp Bot. Its working with higher workstream environments.

anishprasad01 commented 1 year ago
stevkan commented 1 year ago

Closing due to inactivity. Please feel free to reopen if the issue persists or you have new details to share.