Unable to Retrieve List of Users in Postman but in API Docs I Can

Description
I can use the testing widget found in the API Docs to listing users on an and receive data back but when I try to do it in Postman I get just the object with “total_records” and “page_count” set to zero. I am using JWT in Postman and Oauth token for the testing widget. I thought the issue was the token was maybe bad but I can retrieve specific users and the groups associated with the account.

Error
The full error message or issue you are running into.

Which App Type (OAuth / Chatbot / JWT / Webhook)?
Knowing the endpoint/s can help us to identify your issue faster. Please link the ones you need help/have a question with.
OAuth and JWT

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.
(Test Widget I’m using) https://marketplace.zoom.us/docs/api-reference/zoom-api/users/users
(Endpoint in Postman) https://api.zom.us/v2/users?status=active&page_size=30&page_number=1&role_id=

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

  1. Request URL / Headers (without credentials) / Body
  2. See error

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

Additional context
Add any other context about the problem here.

Hey @hyrum,

Please share screenshots of the request in both postman and on the docs including the request URL and responses.

Thanks,
Tommy

These are the screenshots from the docs.


These are from Postman


image

Hey @hyrum,

I believe the issue is the role_id is being set to an improper value .

Try without the role_id.

Thanks,
Tommy

1 Like

That worked. :man_facepalming:
I didn’t realize/notice that it was checked because in the docs there are no check-boxes for the params in the query tab.

Thanks, @tommy!

1 Like

Awesome! Glad to hear that fixed it! :slight_smile:

-Tommy