Skip to content

Occasional unexpected ConversationNotFound #2102

Open
@stijn-techwolf

Description

@stijn-techwolf

Github issues should be used for bugs and feature requests. Use Stack Overflow for general "how-to" questions.

Version

What package version of the SDK are you using.

botbuilder-integration-aiohttp~=4.14.5

Describe the bug

Give a clear and concise description of what the bug is.

On installation, we receive and process installation events. From this, we get a Conversation ID, which we use to send messages.
For ~1% of our user-base (more than 5.000 live users, -> ~50 users with this issue), sending a message returns ConversationNotFound error.
After asking for feedback:

  • none of them blocked the bot
  • none of them deleted the conversation
  • the problem started occurring later in time for some of them.
  • for some, it seems resolved at random.

To Reproduce

Steps to reproduce the behavior:

Irreproducable at lower scale, but at large scale:

  1. Install a Teams bot in Microsoft admin center.
  2. Capture all installation events and store the Conversation ID for each person.
  3. Send out messages once a week to everyone
  4. Start seeing ConversationNotFound messages on a small group of them.

Expected behavior

Give a clear and concise description of what you expected to happen.

When the bot is not uninstalled, blocked by user, or blocked by admin, sending a message should work or not work reliably.

Screenshots

If applicable, add screenshots to help explain your problem.

/

Additional context

Add any other context about the problem here.

It is a difficult resource to find documentation for, these errors and what causes them.

Feel free to ask for more context, or point to documentation I must have missed.

Tracking Status

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIndicates an unexpected problem or an unintended behavior.needs-triageThe issue has just been created and it has not been reviewed by the team.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions