Teams Bot Framework - error code - ConversationNotFound

Tamilselvan Kalimuthu 0 Reputation points
2024-08-02T11:25:26.9933333+00:00

We are currently experiencing an issue with the Bot Framework when attempting to send messages to specific users. A couple of weeks ago, we began receiving the following error message for certain users:

Error: ConversationNotFound

Despite our efforts, we are still unable to send messages to these users, and the error persists. Given that the conversation ID is unique, we are unable to identify a valid reason for encountering this error and have been unable to find a resolution.

Request for Assistance:

Issue Description: The error occurs for specific users, preventing them from receiving messages.

Error Message: ConversationNotFound

Current Understanding: The conversation ID should be unique, which makes this error unexpected.

Resolution Sought: We are seeking guidance on the cause of this error and the necessary steps to resolve it so that affected users can receive messages again.

We use Rest Call to the conversation ID to post message.

v3/conversations/{conversationId}/activities
{"error":{"code":"ConversationNotFound","message":"Conversation not found."}}

final var resourceResponse = microsoftRestClient
        .post()
        .uri(uri, **ConversationID*)
        .contentType(APPLICATION_JSON)
        .header(WWW_AUTH_RESP, AUTHORIZATION_BEARER_TOKEN)
        .body(activity)
        .retrieve()
        .body(ResourceResponse.class);
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,346 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.