# Creating users through the REST endpoint failing consistently from some machines

**URL:** <https://devforum.zoom.us/t/creating-users-through-the-rest-endpoint-failing-consistently-from-some-machines/77351>\
**Category:** Users and Groups\
**Tags:** api-requests, api\
**Created:** [October 13, 2022, 11:38am UTC](https://devforum.zoom.us/t/creating-users-through-the-rest-endpoint-failing-consistently-from-some-machines/77351 "2022-10-13T11:38:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mlertpatthanakul](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mlertpatthanakul/32/42206_2.png) [@mlertpatthanakul](https://devforum.zoom.us/u/mlertpatthanakul)\
**Post date:** [October 13, 2022, 11:38am UTC](https://devforum.zoom.us/t/creating-users-through-the-rest-endpoint-failing-consistently-from-some-machines/77351/1 "2022-10-13T11:38:45Z")

</div>

On some machines, I receive a 500 exception when trying to call the Create User endpoint (POST to v2/users). The same exact payload request will work from other machines.

Steps to reproduce:

- Get a valid JWT token from [developer.zoom.us](http://developer.zoom.us)
- Using either curl or Postman, call create user endpoint to submit payload:  
{  
“action”: “custCreate”,  
“user\_info”: {  
“email”: “[user@domain.com](mailto:user@domain.com)”,  
“password”: “password”,  
“type”: 1,  
“first\_name”: “First”,  
“last\_name”: “Last”  
}  
}

Expected: 201 Created message  
Actual: 500 exception

As mentioned, I’ve been able to run the same payload successfully from certain machines, but not from other machines. I’ve done a variety of things including checking network connectivity, restarting, using multiple JWT tokens, viewing zoom API logs (the 500 exception doesn’t show up there). This started appearing yesterday and has been causing production outages on multiple customer environments.

---

<div class="post-metadata">

**Author:** ![csvetich](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/csvetich/32/33051_2.png) [@csvetich](https://devforum.zoom.us/u/csvetich)\
**Post date:** [October 13, 2022, 7:35pm UTC](https://devforum.zoom.us/t/creating-users-through-the-rest-endpoint-failing-consistently-from-some-machines/77351/2 "2022-10-13T19:35:12Z")

</div>

We also noticed some change in zoom API about 4:00am Pacific Oct 12th, that we could no longer create users and would receive error code 500. To us it seems that ZOOM is more strictly validating the payload. When we pass extraneous attributes in user\_info it now fails with 500.

success  
{“action”:“custCreate”,  
“user\_info”:{  
“first\_name”:“Test”,  
“last\_name”:“New User 102”,  
“[email":"virtual\_11111111@domain.com](mailto:email%22:%22virtual_11111111@domain.com)”,  
“type”:“1”}}

fails, worked for the last 2 years until yesterday  
{“action”:“custCreate”,  
“user\_info”:{  
“first\_name”:“Test”,  
“last\_name”:“New User 102”,  
“people\_id”:“11111111”,  
“[email":"virtual\_11111111@domain.com](mailto:email%22:%22virtual_11111111@domain.com)”,  
“type”:“1”}}

put/update with the extra attribute still works

would like to know what actually changed

---

<div class="post-metadata">

**Author:** ![whughes](https://avatars.discourse-cdn.com/v4/letter/w/3ec8ea/32.png) [@whughes](https://devforum.zoom.us/u/whughes)\
**Post date:** [October 13, 2022, 8:08pm UTC](https://devforum.zoom.us/t/creating-users-through-the-rest-endpoint-failing-consistently-from-some-machines/77351/3 "2022-10-13T20:08:22Z")

</div>

> [@csvetich](#):
>
> We also noticed some change in zoom API about 4:00am Pacific Oct 12th, that we could no longer create users and would receive error code 500. To us it seems that ZOOM is more strictly validating the payload. When we pass extraneous attributes in user\_info it now fails with 500.

Yeah, can confirm via reqbin, removing most of the null fields corrected the issue.  
But that’d be a hard fix for us to get in quickly. Hoping Zoom can rollback whatever caused this. There are no mentions of anything in their changelog … grrrr…

---

<div class="post-metadata">

**Author:** ![jjumper](https://avatars.discourse-cdn.com/v4/letter/j/ecae2f/32.png) [@jjumper](https://devforum.zoom.us/u/jjumper)\
**Post date:** [October 13, 2022, 9:03pm UTC](https://devforum.zoom.us/t/creating-users-through-the-rest-endpoint-failing-consistently-from-some-machines/77351/4 "2022-10-13T21:03:07Z")

</div>

+1 - seeing this issue too.
