Unable to query a user in via the API

Description
We are using the API to look-up user in our integration. As per the client the specific user is present in the account but the API returns no records found.

Error
API returns no records found.

Which App Type (OAuth / Chatbot / JWT / Webhook)?
Authorization: JWT using API key/secret.

Which Endpoint/s?
Endpoint: GET/users/{userId}

How To Reproduce (If applicable)
Not sure if it can be replicated.

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

Additional context
I read the user role and could there be any restrictions lets say if i generated the API key/Secret using user A who might not have access to user B. Or could there be any other aspect that we might be missing coz which we are unable to query the user.

Thanks,
Vivin

Hey @vjetha,

Is the user you are trying to get, a user in your Zoom account?

Thanks,
Tommy

@tommy yes the client confirmed that the user is present in their Zoom account.

Has it got anything to do with subaccounts in any way, I am not sure how that works (just thinking out loud).

Thanks,
Vivin

Hey @vjetha,

If the user is in your Zoom account, and you are using JWT it should work.

Can you share the userId you are trying to use in the Get User request so I can investigate further?

Thanks,
Tommy