Roles API Endpoint returns Response code 400 for invalid zoom role, documentation says it should be 300

Hi Team, I tried Roles API for an invalid role id. As per Zoom documentation the response code should be 300, However the api response code we get is 400

Response code is not as expected.

API Endpoint

How To Reproduce
Steps to reproduce the behavior:
1. Hit the above API for an invalid role id
2. Expected response code: 300 as per documentation
3. However, we are getting response code 400

1 Like

Adding a screenshot for the POSTMAN request

1 Like

Hi @praveen.kukreja

Thanks for reaching out to the Zoom Developer Forum and welcome to our community! I am happy to help here!

I tried debugging this issue and I followed the steps to reproduce it on my end and yes, when passing an invalid role ID, I am getting a 400 error Bad Request and Role does not exist.

Now, as per in our documentation I can see we are probably missing this errors. Cause the one listed is a 300 Role not found.

Thank you so much for bringing this up to our attention, I will make sure to pass this information to our Documentation team so they can help me fixing this in our end.


1 Like

This topic was automatically closed after 45 hours. New replies are no longer allowed.