cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
768
Views
0
Helpful
0
Replies

Creating WebEx Meeting: The role is not supported for adding specified attendee to session

wangzh
Level 1
Level 1

I try to create a WebEx meeting with the following xml request:

<?xml version="1.0" encoding="utf-8"?>
<body>
<bodyContent xsi:type="java:com.webex.service.binding.meeting.CreateMeeting">
<participants>
<attendees>
<attendee>
<person>
<name>attendee01</name>
<email>attendee01@gmail.com</email>
</person>
</attendee>
<attendee>
<person>
<name>host01</name>
<email>host01@mycompany.com</email>
</person>
<role>HOST</role>
</attendee>
<attendee>
<person>
<name>host02</name>
<email>host02@mycompany.com</email>
</person>
<role>HOST</role>
</attendee>
</attendees>
</participants>
<attendeeOptions>
<emailInvitations>false</emailInvitations>
</attendeeOptions>
<enableOptions>
<audioVideo>true</audioVideo>
</enableOptions>
<schedule>
<startDate>02/11/2021 11:30:00</startDate>
<openTime>900</openTime>
<duration>60</duration>
<timeZoneID>20</timeZoneID>
<firstAttendeeAsPresenter>true</firstAttendeeAsPresenter>
</schedule>
</bodyContent>
</body>

 

It returns an error:

The role is not supported for adding specified attendee to session

I know the error is from the following host (this host attendee doesn't have a WebEx account):

<attendee>
<person>
<name>host02</name>
<email>host02@mycompany.com</email>
</person>
<role>HOST</role>
</attendee>

as explained in:

https://community.cisco.com/t5/cloud-collaboration/how-do-i-add-a-host-through-the-xml-api/td-p/3550391

You can invite an alternate host using CreateMeetingAttendee, while setting the role element to HOST. In this case, the attendee email address must match the email address for an active host account on the site.

 

My question is that how I can check if a HOST attendee has an account on the WebEx site before I create that meeting.  Therefore, that error can be avoided. It it common to have 3 to 5 HOST attendees in my case. Is there a API or other method to check the account via HOST attendee email?

0 Replies 0