# List Users API returns the desired user but GET by userId returns 404 Not Found

**URL:** <https://devforum.zoom.us/t/list-users-api-returns-the-desired-user-but-get-by-userid-returns-404-not-found/41819>\
**Category:** API and Webhooks\
**Created:** [January 28, 2021, 1:45pm UTC](https://devforum.zoom.us/t/list-users-api-returns-the-desired-user-but-get-by-userid-returns-404-not-found/41819 "2021-01-28T13:45:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![amans](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/amans/32/22223_2.png) [@amans](https://devforum.zoom.us/u/amans)\
**Post date:** [January 28, 2021, 1:45pm UTC](https://devforum.zoom.us/t/list-users-api-returns-the-desired-user-but-get-by-userid-returns-404-not-found/41819/1 "2021-01-28T13:45:01Z")

</div>

**Description**  
I created a user via POST users API and then deleted it using DELETE by userId. I opened the Zoom User Management UI and could still found the deleted user in that list. I could find that user by calling List Users API but returns a 404 Not Found when trying to fetch it using GET by userId.  
On opening that user in the UI, it displays a message “User not exist. (1,001)” , this same code is returned when trying to fetch this user using the GET by userId API.

**Error**  
A deleted user is shown in the Users Management section in UI and was returned in the GET users API but returns a 404 Not Found when grabbing it via GET by userId. Also, doesn’t show up in the UI profile section.

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

**Which Endpoint/s?**  
GET users and GET user by userId

**How To Reproduce (If applicable)**  
I’m not sure how to reproduce this but we often face this issue in our regular automation run. We’ve a fixed email-id(say [abcd@automationx.com](mailto:abcd@automationx.com)) that is used to create the user during data setup and delete it during tear down.  
Note: We’ve fixed and always use the same email-id to create/delete the user in every automation run.

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

**Additional context**  
I can share all the details like userId and other relevant data in a private message or an email.

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [January 29, 2021, 2:20am UTC](https://devforum.zoom.us/t/list-users-api-returns-the-desired-user-but-get-by-userid-returns-404-not-found/41819/2 "2021-01-29T02:20:16Z")

</div>

Hey @amans,

Thank you for reaching out to the Zoom Developer Forum. Please send an email to [developersupport@zoom.us](mailto:developersupport@zoom.us) with a link to this thread and the full request that you’re making to the [Get a User API](https://marketplace.zoom.us/docs/api-reference/zoom-api/users/user) and I’ll investigate this further.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![amans](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/amans/32/22223_2.png) [@amans](https://devforum.zoom.us/u/amans)\
**Post date:** [January 29, 2021, 1:28pm UTC](https://devforum.zoom.us/t/list-users-api-returns-the-desired-user-but-get-by-userid-returns-404-not-found/41819/3 "2021-01-29T13:28:53Z")

</div>

@MaxM I’ve dropped an email to the aforementioned email with the relevant details. Hoping to hear you soon with the resolution.

Thanks  
Aman

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [January 29, 2021, 11:42pm UTC](https://devforum.zoom.us/t/list-users-api-returns-the-desired-user-but-get-by-userid-returns-404-not-found/41819/4 "2021-01-29T23:42:48Z")

</div>

Hey @amans,

Thank you for sending in a ticket, I’ll follow-up with you there.

Thanks,  
Max

---

<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:** [March 1, 2021, 9:43am UTC](https://devforum.zoom.us/t/list-users-api-returns-the-desired-user-but-get-by-userid-returns-404-not-found/41819/5 "2021-03-01T09:43:16Z")

</div>

Closed on March 1, 2021, 9:43am UTC

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