"User does not exist" when querying ID returned from meeting participants list

Description
I am trying to get user details of people who attend my company’s meetings. I first query the meeting occurrence endpoint and get an array of participants.

https://api.zoom.us/v2/past_meetings/XXX/participants?page_size=300&occurrence_id=XXX

This returns a valid response. I then iterate over the participants array, querying the user endpoint with the provided ID:

https://api.zoom.us/v2/users/<ID>

For some users, this returns a valid response. For others, I get the error

{
    "code": 1001,
    "message": "User does not exist: XXX."
}

This isn’t an authorization issue because I can use the same JWT for different users and it works. I’ve tried within my application and separately in Postman, but some users will always return this response.

Error
{ code: 1001, message: "User does not exist " }

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

Which Endpoint/s?
GET: https://api.zoom.us/v2/users/

How To Reproduce (If applicable)
N/A. I works for some users but not others.

Hey @matthew.boman

Thanks for posting on the Zoom Devforum! I am still learning, but I will try my best to help answer your question. :slightly_smiling_face:

Checkout this related thread that may have the answer you are looking for:

If this thread did not help, please let us know by replying back here and someone from the Developer Relations team will get back to you shortly.

Thanks,
DeveloperBot

Bad bot. This is unrelated and does not help.

Hey @matthew.boman,

Thanks for reaching out about this, and happy to help debug—I just DM’d you for some additional information. I’ll keep an eye out for your reply.

Thanks!
Will

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