# \[RESOLVED\] Issue with inviting in meeting

**URL:** <https://devforum.zoom.us/t/resolved-issue-with-inviting-in-meeting/523>\
**Category:** API and Webhooks\
**Created:** [January 9, 2018, 7:33pm UTC](https://devforum.zoom.us/t/resolved-issue-with-inviting-in-meeting/523 "2018-01-09T19:33:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Atlona\_Velocity](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/atlona_velocity/32/1021_2.png) [@Atlona\_Velocity](https://devforum.zoom.us/u/Atlona_Velocity)\
**Post date:** [January 9, 2018, 7:33pm UTC](https://devforum.zoom.us/t/resolved-issue-with-inviting-in-meeting/523/1 "2018-01-09T19:33:11Z")

</div>

I am on version 11 and my logs are showing I am sending a valid command compared to the documentation, but it is rejecting them

&nbsp;

Tue, 09 Jan 2018 14:01:34 EST

#### ZoomRooms - callZoomAPI &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

"zCommand Invite user: "

&nbsp;

Tue, 09 Jan 2018 14:01:34 EST

#### ZoomRooms - SSH Response &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

“\*r onUnsupported Command(status=Error):”

&nbsp;

Tue, 09 Jan 2018 14:01:34 EST

#### Zoom Room - Error &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

“Unsupported command sent”

&nbsp;

What am I doing wrong here? &nbsp;I see its not parsing this.

---

<div class="post-metadata">

**Author:** ![Scott\_Firestone](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/scott_firestone/32/568_2.png) [@Scott\_Firestone](https://devforum.zoom.us/u/Scott_Firestone)\
**Post date:** [January 10, 2018, 1:29am UTC](https://devforum.zoom.us/t/resolved-issue-with-inviting-in-meeting/523/2 "2018-01-10T01:29:46Z")

</div>

It looks like you have entered the command incorrectly. It’s:

&nbsp;

zCommand Call Invite user:

&nbsp;

Many of the in-meeting commands have the word “Call” in them.

That is the syntax specified in the reference guide:

[https://zoom.github.io/zoom-rooms-csapi/zrcsapi\_ref.html](https://zoom.github.io/zoom-rooms-csapi/zrcsapi_ref.html)

&nbsp;

and also in the beta documentation .docx document.

&nbsp;

I tested this functionality and it works.

---

<div class="post-metadata">

**Author:** ![Atlona\_Velocity](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/atlona_velocity/32/1021_2.png) [@Atlona\_Velocity](https://devforum.zoom.us/u/Atlona_Velocity)\
**Post date:** [January 10, 2018, 2:35pm UTC](https://devforum.zoom.us/t/resolved-issue-with-inviting-in-meeting/523/3 "2018-01-10T14:35:54Z")

</div>

Perfect, I must have missed that word.&nbsp; Will update my code now.&nbsp; Thank you

---

<div class="post-metadata">

**Author:** ![Atlona\_Velocity](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/atlona_velocity/32/1021_2.png) [@Atlona\_Velocity](https://devforum.zoom.us/u/Atlona_Velocity)\
**Post date:** [January 10, 2018, 2:40pm UTC](https://devforum.zoom.us/t/resolved-issue-with-inviting-in-meeting/523/4 "2018-01-10T14:40:08Z")

</div>

Lets do this maybe Scott.

Could we update the signature of the `zCommand Invite Duration:` to `zCommand Dial Invite Duration:` or `zCommand Dial StartPmi Invite Duration`?

Because these two commands by adding a few more words express that you are dialing new and inviting people whereas people could be confused with this new command?

Let me know your thoughts on this.

Essentially we have one function which calls either one depending on the array of invitees:

```
func (zr \*ZoomRoom) StartMeetingNow(durationInMinutes int, inviteesIDs []string) {
 var cmd string
 if len(inviteesIDs) == 0 {
 cmd = "zCommand Dial StartPmi Duration: " + strconv.Itoa(durationInMinutes)
 } else {
 cmd = "zCommand Invite Duration: " + strconv.Itoa(durationInMinutes)
 for \_, invitee := range inviteesIDs {
 cmd += " user: " + invitee
 }
 }
 zr.callZoomAPI(cmd)
}
```
