Error: Failed to create a meeting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2022 08:50 AM - edited 06-26-2023 10:51 AM
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:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2022 09:09 AM - edited 12-13-2022 09:10 AM
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
Regards
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2022 09:34 AM - edited 12-13-2022 08:35 PM
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:
Thank you so very much for your help with this!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2022 10:11 PM
@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!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2022 04:48 AM
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.
Regards
Paul