Forum Discussion

bubuchenko's avatar
bubuchenko
Copper Contributor
Aug 13, 2024

Error when inviting the bot to a meeting: Server Internal Error. DiagCode: 500#7117.@

We have created a solution that invites the Microsoft Teams media bot to an online teams meeting. Unfortunately the bot does not always seem to join the call. 

In these cases;
We only receive the "Establishing..." callback, but then the call is never actually transfered to "Established". After waiting for about 60 seconds. We receive the "Terminated" signal, without the call ever reaching the "established" state.

Along with this terminated callback, we also receive the following error code (for which we can not find any documentation..)

Server Internal Error. DiagCode: 500#7117.@

The steps and conditions of inviting the bot are always the same.
1. Create New meeting
2. Invite bot to meeting
3. 50% (sometimes lower, sometimes higher) chance bot will join

A workaround I found was, inviting the bot multiple times. Which sometimes work, but the bot is then kicked subsequently when the "Terminated" callback is sent our way.

 

await this.Client.Calls().AddAsync(joinParams).ConfigureAwait(false);

 

 

This is the code to trigger the invitation of the bot, as per the microsoft sample. (https://microsoftgraph.github.io/microsoft-graph-comms-samples/docs/calls/Microsoft.Graph.Communications.Calls.CallCollectionExtensions.html)

Can someone please shed some light on the meaning of this error code? I have not found any patterns in its occurrence and our calls to the service do not change. The only difference likely being a different meetingId. 

 

Server Internal Error. DiagCode: 500#7117.@

 

6 Replies

  • Could you please share the document which you are referring or minimal code snippet along with repro video so that we can repro it from our end?
    • bubuchenko's avatar
      bubuchenko
      Copper Contributor

      Meghana-MSFT 

      We used the following project as baseline for our own:

      https://github.com/microsoftgraph/microsoft-graph-comms-samples/tree/master/Samples/PublicSamples/PsiBot

      It's a fully functional solution that invites a bot that is registered in azure to your microsoft teams call. 

      There's a lot of fluff around the project, but it boils down to the invitation of the bot. Which is invoked on this line of code, which is called as HTTP POST request to the JoinCallController
      https://github.com/microsoftgraph/microsoft-graph-comms-samples/blob/f2f7cf50073dee5630948503d1f74a540e6691b0/Samples/PublicSamples/PsiBot/PsiBot/PsiBot.Service/Bot/BotService.cs#L165

       

      Is it possible for you to look into the server logs to see why this error is triggered? I think that having the description of this error message would bring us a long way.

      • Meghana-MSFT's avatar
        Meghana-MSFT
        Former Employee
        Thank you for the additional information, we will check this internally and get back to you.

Resources