# Getting Wrong Response From zCommand Call ListParticipants Command Over SSH Connection

**URL:** <https://devforum.zoom.us/t/getting-wrong-response-from-zcommand-call-listparticipants-command-over-ssh-connection/76703>\
**Category:** Meetings\
**Created:** [September 29, 2022, 12:59pm UTC](https://devforum.zoom.us/t/getting-wrong-response-from-zcommand-call-listparticipants-command-over-ssh-connection/76703 "2022-09-29T12:59:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![aditya.tawar](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/aditya.tawar/32/36535_2.png) [@aditya.tawar](https://devforum.zoom.us/u/aditya.tawar)\
**Post date:** [September 29, 2022, 12:59pm UTC](https://devforum.zoom.us/t/getting-wrong-response-from-zcommand-call-listparticipants-command-over-ssh-connection/76703/1 "2022-09-29T12:59:48Z")

</div>

**Getting Wrong responses on zCommand Call ListParticipants command over zoom rooms cli.**  
_[zCommand](https://marketplace.zoom.us/docs/guides/zoom-rooms/zoom-rooms-cli/zCommands/)_

**Description**  
_ZAAPI Release Version - 1.1  
Zoom Room Release - 5.11.3.1634_

**Issue**  
_When we send zCommand Call ListParticipants we expect a list (array) of participants present in the meeting, but we often receive an object instead of an array in this response. And after some time ZRCSAPI starts responding with an array in the response. I am also attaching a correct response (with an array of participants in response) and the wrong response (with an object in response) we received from ZRCSAPI._

**Correct Response -**

{“ListParticipantsResult”:[{“audio\_status state”:“AUDIO\_UNMUTED”,“audio\_status type”:“AUDIO\_VOIP”,“avatar\_url”:“”,“camera\_status am\_i\_controlling”:false,“camera\_status can\_i\_request\_control”:false,“camera\_status can\_move\_camera”:false,“camera\_status can\_switch\_camera”:false,“camera\_status can\_zoom\_camera”:false,“can\_edit\_closed\_caption”:false,“can\_record”:false,“event”:“None”,“hand\_status”:{"is\_raise\_hand: ":false,"is\_valid: ":“on”,“time\_stamp: “:“0”},“isCohost”:false,“is\_client\_support\_closed\_caption”:false,“is\_client\_support\_coHost”:false,“is\_host”:false,“is\_myself”:true,“is\_recording”:false,“is\_video\_can\_mute\_byHost”:true,“is\_video\_can\_unmute\_byHost”:true,“local\_recording\_disabled”:true,“user\_id”:16780288,“user\_name”:“Pluto”,“user\_type”:“NORMAL”,“video\_status has\_source”:true,“video\_status is\_receiving”:false,“video\_status is\_sending”:true},{“audio\_status state”:“AUDIO\_UNMUTED”,“audio\_status type”:“AUDIO\_NONE”,“avatar\_url”:””,“camera\_status am\_i\_controlling”:false,“camera\_status can\_i\_request\_control”:false,“camera\_status can\_move\_camera”:false,“camera\_status can\_switch\_camera”:false,“camera\_status can\_zoom\_camera”:false,“can\_edit\_closed\_caption”:false,“can\_record”:false,“event”:“None”,“hand\_status”:{"is\_raise\_hand: ":false,"is\_valid: ":“on”,“time\_stamp: “:“0”},“isCohost”:false,“is\_client\_support\_closed\_caption”:false,“is\_client\_support\_coHost”:false,“is\_host”:true,“is\_myself”:false,“is\_recording”:false,“is\_video\_can\_mute\_byHost”:true,“is\_video\_can\_unmute\_byHost”:true,“local\_recording\_disabled”:true,“user\_id”:16779264,“user\_name”:“Rachana”,“user\_type”:“NORMAL”,“video\_status has\_source”:true,“video\_status is\_receiving”:false,“video\_status is\_sending”:false}],“Status”:{“message”:””,“state”:“OK”},“Sync”:true,“topKey”:“ListParticipantsResult”,“type”:“zCommand”}

**Wrong Response -**

{“ListParticipantsResult”:{“audio\_status state”:“AUDIO\_UNMUTED”,“audio\_status type”:“AUDIO\_VOIP”,“avatar\_url”:“”,“camera\_status am\_i\_controlling”:false,“camera\_status can\_i\_request\_control”:false,“camera\_status can\_move\_camera”:false,“camera\_status can\_switch\_camera”:true,“camera\_status can\_zoom\_camera”:false,“can\_edit\_closed\_caption”:false,“can\_record”:false,“event”:“ZRCUserChangedEventUserInfoUpdated”,“hand\_status”:{"is\_raise\_hand: ":false,"is\_valid: ":“on”,“time\_stamp: “:“0”},“isCohost”:false,“is\_client\_support\_closed\_caption”:false,“is\_client\_support\_coHost”:true,“is\_host”:false,“is\_myself”:false,“is\_recording”:false,“is\_video\_can\_mute\_byHost”:true,“is\_video\_can\_unmute\_byHost”:true,“local\_recording\_disabled”:true,“user\_id”:16784384,“user\_name”:“Stephen Trapp”,“user\_type”:“NORMAL”,“video\_status has\_source”:true,“video\_status is\_receiving”:true,“video\_status is\_sending”:true},“Status”:{“message”:””,“state”:“OK”},“Sync”:false,“topKey”:“ListParticipantsResult”,“type”:“zCommand”}

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [September 29, 2022, 10:43pm UTC](https://devforum.zoom.us/t/getting-wrong-response-from-zcommand-call-listparticipants-command-over-ssh-connection/76703/2 "2022-09-29T22:43:34Z")

</div>

Hi @aditya.tawar  
Thanks for reaching out to the Zoom Developer Forum, I am happy to help here!  
Allow me some time to do some research and to investigate this issue further and I will come back with an update shortly  
Best,  
Elisa

---

<div class="post-metadata">

**Author:** ![aditya.tawar](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/aditya.tawar/32/36535_2.png) [@aditya.tawar](https://devforum.zoom.us/u/aditya.tawar)\
**Post date:** [September 30, 2022, 4:51am UTC](https://devforum.zoom.us/t/getting-wrong-response-from-zcommand-call-listparticipants-command-over-ssh-connection/76703/3 "2022-09-30T04:51:35Z")

</div>

Hi @elisa.zoom  
Thanks for the response, Please take your time to investigate this issue and please let me know if any help is required in further investigation from my side.

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [October 3, 2022, 1:03pm UTC](https://devforum.zoom.us/t/getting-wrong-response-from-zcommand-call-listparticipants-command-over-ssh-connection/76703/4 "2022-10-03T13:03:31Z")

</div>

Hi @aditya.tawar  
Thanks for your patience while I work on this issue.  
I am going to send you a private message where I would be requesting you some more details so I can investigate this issue further.  
Please reply directly there 🙂  
Best,  
Elisa
