Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting Conversation not found. error when sending message via CloudAdapter #4722

Open
Hyokune opened this issue Jul 30, 2024 · 3 comments
Open
Labels
bug Indicates an unexpected problem or an unintended behavior. needs-triage The issue has just been created and it has not been reviewed by the team.

Comments

@Hyokune
Copy link

Hyokune commented Jul 30, 2024

Versions

  • botbuilder 4.22.3
  • Node 20
  • Linux / macOS

Describe the bug

When we are sending messages to conversations, we are receiving these errors sporadically

  • Conversation not found.
  • User blocked the conversation with the bot.

We have confirmed that the conversation exists and that the user has not blocked the conversation but these errors are still being returned.
Additionally we haven't changed any code from our end and have been using the same way to send messages for the past year or so.
Assumed maybe it could be due to rate limiting issues but that doesn't seem to be the case as it throw errors when trying to send the messages individually.

To Reproduce

Steps to reproduce the behavior:

  1. Create a CloudAdapter instance using createBotFrameworkAuthenticationFromConfiguration for the bot framework authentication
  2. Attempt sending a message via
await cloudAdapter.continueConversationAsync(
  "<microsoftBotId>",
  "<reference>",
  async (context: TurnContext) => {
    await context.sendActivity("Some message here");
  }
);
  1. Check error thrown

Expected behavior

Message should be sent successfully to the conversation

@Hyokune Hyokune added bug Indicates an unexpected problem or an unintended behavior. needs-triage The issue has just been created and it has not been reviewed by the team. labels Jul 30, 2024
@tracyboehrer
Copy link
Member

I'm guessing this is a Teams bot?

@Hyokune
Copy link
Author

Hyokune commented Jul 30, 2024

I'm guessing this is a Teams bot?

Yes this is a Teams bot

@tracyboehrer
Copy link
Member

"User blocked the conversation with the bot." is not controlled by anything in Bot Framework. If this is still an issue, I would start with Teams to resolve.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or an unintended behavior. needs-triage The issue has just been created and it has not been reviewed by the team.
Projects
None yet
Development

No branches or pull requests

2 participants