Error: Failed to create a meeting

Still Learning
Kilo Sage

Hello SN experts, 

I have completed the full integration of major incidents into Microsoft Teams and confirmed that everything is in place, however, when I go to initiate a meeting in the workbench using teams, I get an error: "Failed to create a meeting" with no indication as to why.  Can someone please let me know how to go about resolving this error? Here is a screenshot: 

Failed to create.png

5 REPLIES 5

Paul Curwen
Giga Sage

There could be many reasons for this. That error message originates in a Script Include called: NotifyJSTeamsConferenceSNCAPI

 

If you look at the code (it is a protected read only object) you will see the following checks:

 

at line 238:

 

 

  var isValidUserEmails = this.validateParticipants(confParticipantArray);
        if (isValidUserEmails.status == 'Error') {
            this._addErrorMessage(gs.getMessage('Failed to create meeting - {0} have same email id', [isValidUserEmails.invalidUserNames]));
            return this._result;
        }

 

and again at line 276:

 

       var onlineMeetingReqResp = this.createOnlineMeeting(confParticipantArray, title);
        if (onlineMeetingReqResp.status === "Error") {
            if (onlineMeetingReqResp.error_code == "Invalid_Participants")
                this._addErrorMessage(gs.getMessage("Failed to create a meeting - {0} doesn't have a valid teams mailId", onlineMeetingReqResp.invalid_participants));
            else
                this._addErrorMessage(gs.getMessage("Failed to create a meeting - {0}", [onlineMeetingReqResp.error_message]));
            return this._result;
        }

 

  

If that helps please mark as Helpful/Correct

***If Correct/Helpful please take time mark as Correct/Helpful. It is much appreciated.***

Regards

Paul

Hello @Paul Curwen 

Thank you so much for replying to my question. I've checked for the qualifiers that would elicit that error message but none applied - there is no duplicate email address, nor invalid group email.  It's strange that it's not giving me an error code also since that script include is written in a way that it should.

Could this possibly be linked to a workflow? For the number group: "Conference Group Call" I am using the following workflows: 

Incoming call workflow and Outgoing call workflow: Notify: (Re)join Conference Call

Incoming SMS workflow: Notify: Join Conference Call Via SMS

I've also checked my OAuth record and it's connecting with no issue. Should I be looking somewhere else? The error is so vague. When I turn on debugging the below is what I am getting:

Debugging logs.png

Thank you so very much for your help with this!!

 

@Paul Curwen do you happen to have any advice on how I might be able to resolve this issue? I could really use the help! Thank you!! 

If it isn't obvious from those lines of code i would now log a Support Call with ServiceNow Support. Theere could be an issue with the connection to your Teams tenant. 

 

if they provide a solution please post it here as it may help others who see the same issue. 

***If Correct/Helpful please take time mark as Correct/Helpful. It is much appreciated.***

Regards

Paul