Stefan
Stefan

Reputation: 897

Microsoft Teams Bot - Writing to a bot returns error message

I've created a bot based on the following sample: https://github.com/microsoft/BotBuilder-Samples/tree/main/samples/typescript_nodejs/57.teams-conversation-bot

Everything looks well so far and worked in my first bot. But with my second bot I've created when I start a conversation with the bot, I get a "Failed to send" error in Microsoft Teams on my desktop.

When I use teams in the web I can see in the dev tools the following error message for the request: https://emea.ng.msg.teams.microsoft.com/v1/threads

Error: One or more of the user ids provided are not valid.

I'm lost on what could be wrong. Any hint would be highly appreciated.

Upvotes: 1

Views: 962

Answers (1)

Cas
Cas

Reputation: 6656

I was seeing the same error after creating a second bot for testing and realized I had forgotten to setup the Teams channel in Azure configuration.

So double-check that the Microsoft Teams channel is running:

enter image description here

Upvotes: 1

Related Questions