# POST Channel throws 500 error

**URL:** <https://devforum.zoom.us/t/post-channel-throws-500-error/56806>\
**Category:** API and Webhooks\
**Created:** [September 1, 2021, 7:52pm UTC](https://devforum.zoom.us/t/post-channel-throws-500-error/56806 "2021-09-01T19:52:31Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![vkartik](https://avatars.discourse-cdn.com/v4/letter/v/848f3c/32.png) [@vkartik](https://devforum.zoom.us/u/vkartik)\
**Post date:** [September 1, 2021, 7:52pm UTC](https://devforum.zoom.us/t/post-channel-throws-500-error/56806/1 "2021-09-01T19:52:32Z")

</div>

## Using this template helps us debug your issues more effectively 🙂

**Description**  
I am using Postman  
{{baseUrl}}/chat/users/my/channels throws 500 Internal Server error

I am able to do a GET for the above URL without any errors, The issue is only with POST throwing a 500 error.

 ![zoom-500-error](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/7/8/787880d54ecd1616bc72f1fae7447fe751c453f4.png)

**Error**  
500 Internal Server error  
{{baseUrl}}/chat/users/my/channels

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
OAuth

Knowing the endpoint/s can help us to identify your issue faster. Please link the ones you need help/have a question with.

**Which Endpoint/s?**  
Knowing the API endpoint/s can help us to identify your issue faster. Please link the ones you need help/have a question with.  
{{baseUrl}}/chat/users/my/channels

**How To Reproduce (If applicable)**  
Steps to reproduce the behavior:

1. Request URL / Headers (without credentials) / Body  
{{baseUrl}}/chat/users/my/channels  
Payload:  
{  
“name”: “Testing”,  
“type”: 2,  
“members”: [{“[email":"vk@gmail.com](mailto:email%22:%22vk@gmail.com)”}]  
}

2. See error  
500 Internal Server error

**Screenshots (If applicable)**  
If applicable, add screenshots to help explain your problem.

**Additional context**  
Add any other context about the problem here.  
This is a user Manager App. App name= [PrcUserZoom]

chat\_channel:write is already part of the scopes  
“scope”: “chat\_channel:read chat\_channel:write chat\_contact:read chat\_message:read chat\_message:write contact:read meeting:read meeting:write pac:read pac:write recording:read recording:write user:read user:write user\_info:read user\_zak:read webinar:read webinar:write”

I saw this forum posting([DELETE Works, but w/500 Status Code - #21 by tommy](https://devforum.zoom.us/t/delete-works-but-w-500-status-code/5921/21) ) to get call logs, but I dont see that option in my setting. I see only “Created Apps” and “Installed Apps” option. No option to view Call logs, for me to troubleshoot.

---

<div class="post-metadata">

**Author:** ![vkartik](https://avatars.discourse-cdn.com/v4/letter/v/848f3c/32.png) [@vkartik](https://devforum.zoom.us/u/vkartik)\
**Post date:** [September 7, 2021, 9:41pm UTC](https://devforum.zoom.us/t/post-channel-throws-500-error/56806/2 "2021-09-07T21:41:07Z")

</div>

Any suggestions on how to troubleshoot this issue ?

---

<div class="post-metadata">

**Author:** ![ojus.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ojus.zoom/32/734_2.png) [@ojus.zoom](https://devforum.zoom.us/u/ojus.zoom)\
**Post date:** [September 8, 2021, 12:19am UTC](https://devforum.zoom.us/t/post-channel-throws-500-error/56806/3 "2021-09-08T00:19:55Z")

</div>

Hi,

Seems like you arent using the endpoint correctly.

Here is the endpoint : /chat/users/{userId}/channels

Where it says userID, you can use:

- user ID
- email
- me

Thanks

---

<div class="post-metadata">

**Author:** ![vkartik](https://avatars.discourse-cdn.com/v4/letter/v/848f3c/32.png) [@vkartik](https://devforum.zoom.us/u/vkartik)\
**Post date:** [September 8, 2021, 1:24am UTC](https://devforum.zoom.us/t/post-channel-throws-500-error/56806/4 "2021-09-08T01:24:04Z")

</div>

POST {{baseUrl}}/chat/users/me/channels

Body=  
{  
“name”: “Testing”,  
“type”: 2,  
“members”: [{“[email":"test123@gmail.com](mailto:email%22:%22test123@gmail.com)”}]  
}

Response: 500 Internal Server Error

If I do the GET on the above url, there is no error

---

<div class="post-metadata">

**Author:** ![ojus.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ojus.zoom/32/734_2.png) [@ojus.zoom](https://devforum.zoom.us/u/ojus.zoom)\
**Post date:** [September 8, 2021, 2:40am UTC](https://devforum.zoom.us/t/post-channel-throws-500-error/56806/5 "2021-09-08T02:40:59Z")

</div>

> [@vkartik](#):
>
> [email":"test123@gmail.com](mailto:email%22:%22test123@gmail.com)

Does this user belong to the same Zoom Account as yours?

---

<div class="post-metadata">

**Author:** ![vkartik](https://avatars.discourse-cdn.com/v4/letter/v/848f3c/32.png) [@vkartik](https://devforum.zoom.us/u/vkartik)\
**Post date:** [September 8, 2021, 5:55am UTC](https://devforum.zoom.us/t/post-channel-throws-500-error/56806/6 "2021-09-08T05:55:02Z")

</div>

I should have mentioned, I didnt give the actual email address of the contact in this forum post. But, Yes, I and the contact belong to the same company zoom account. Let me know if I should email you separately, to provide the user email address - Not sure if that will help to check on your end to see why there is a 500 error.

---

<div class="post-metadata">

**Author:** ![vkartik](https://avatars.discourse-cdn.com/v4/letter/v/848f3c/32.png) [@vkartik](https://devforum.zoom.us/u/vkartik)\
**Post date:** [September 8, 2021, 4:50pm UTC](https://devforum.zoom.us/t/post-channel-throws-500-error/56806/7 "2021-09-08T16:50:07Z")

</div>

Additional info, I am not sure if this will be helpful, the error seems to happen even before authentication. i.e. even with an expired token, I am seeing this 500 error. Ofcourse I get the same error even after I use the refreshed token. As mentioned before, if I change the POST to GET and run the GET channels, there is no error - ofcourse, the response shows # of records zero.

---

<div class="post-metadata">

**Author:** ![vkartik](https://avatars.discourse-cdn.com/v4/letter/v/848f3c/32.png) [@vkartik](https://devforum.zoom.us/u/vkartik)\
**Post date:** [September 8, 2021, 11:18pm UTC](https://devforum.zoom.us/t/post-channel-throws-500-error/56806/8 "2021-09-08T23:18:30Z")

</div>

Some more additional info… In my corporate zoom account, which I was using tor the Zoom API, I didnt see the channel tab (saw only the contacts tab in the UI). This made me think there is something specific to the account due to which I cannot call the create channel API. So, I created a new API tried to my gmail account. I still get the same 500 error when creating a channel from my gmail account, inviting another gmail user. Running out of ideas on how to troubleshoot this issue.

---

<div class="post-metadata">

**Author:** ![ojus.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ojus.zoom/32/734_2.png) [@ojus.zoom](https://devforum.zoom.us/u/ojus.zoom)\
**Post date:** [September 9, 2021, 5:42am UTC](https://devforum.zoom.us/t/post-channel-throws-500-error/56806/9 "2021-09-09T05:42:04Z")

</div>

Hi @vkartik can you reply to our email conversation that we were having? Please send me your complete request in cURL format.

Thanks

---

<div class="post-metadata">

**Author:** ![vkartik](https://avatars.discourse-cdn.com/v4/letter/v/848f3c/32.png) [@vkartik](https://devforum.zoom.us/u/vkartik)\
**Post date:** [September 9, 2021, 6:55am UTC](https://devforum.zoom.us/t/post-channel-throws-500-error/56806/10 "2021-09-09T06:55:54Z")

</div>

Hi,  
Responded via email

Thanks

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [September 13, 2021, 12:23pm UTC](https://devforum.zoom.us/t/post-channel-throws-500-error/56806/11 "2021-09-13T12:23:53Z")

</div>

Thanks @vkartik,

Our team will be in touch shortly!

---

<div class="post-metadata">

**Author:** ![vkartik](https://avatars.discourse-cdn.com/v4/letter/v/848f3c/32.png) [@vkartik](https://devforum.zoom.us/u/vkartik)\
**Post date:** [September 21, 2021, 5:39pm UTC](https://devforum.zoom.us/t/post-channel-throws-500-error/56806/12 "2021-09-21T17:39:09Z")

</div>

Ojus.As mentioned in the email, using the free trial account did not help. I am getting the same error. More details in the email sent to you  
{  
“code”: 300,  
“message”: “Invalid parameter: members.”  
}

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [September 24, 2021, 2:13pm UTC](https://devforum.zoom.us/t/post-channel-throws-500-error/56806/13 "2021-09-24T14:13:25Z")

</div>

Thank you @vkartik — we will be in touch over email.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [October 25, 2021, 12:13am UTC](https://devforum.zoom.us/t/post-channel-throws-500-error/56806/14 "2021-10-25T00:13:34Z")

</div>

Closed on October 25, 2021, 12:13am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
