API Call to Invite Channel Members returning “code”: -1

We are getting an error code -1 when using API call to add Zoom members to a channel

https://api.zoom.us/v2/chat/channels/{channelId}/members

One in approx 20 works but 19/20 returns error code.

Manually deleting a user that is successful and trying with same user returns error also so it is not related to the users being added.

Hey @mongoman30,

Can you share the channel ID and the request body so I can look into the logs?

Thanks,
Tommy

Adding Adrian who was running the query

1 Like

Hi @tommy

Here’s the info that you are asking:

Channel ID: 8f3a6a35-2a68-45b7-b050-1de84d292400
Request Body:
{
“members”: [
{
“email”: “email_here”
}
]
}

Hey @adrian_parnacio,

Does this work for other of your Zoom Members?

I’m wondering if you don’t have the permission to call this endpoint to add the account Owner to the channel?

Thanks,
Tommy

Hi @tommy,

Yes it works for other members but not all. I’m not sure why others cannot be added because the response message does not have any details.

I was able to add the account owner once but I was not able to replicate it.

Hey @adrian_parnacio,

Thanks, we will look into this further and get back to you. (ZOOM-143799)

-Tommy

Hey @adrian_parnacio, @mongoman30,

This will be fixed in our March / April release.

Stay updated here: https://marketplace.zoom.us/docs/changelog

Thanks for you patience,
Tommy