# Create User API return error = -1

**URL:** <https://devforum.zoom.us/t/create-user-api-return-error-1/7636>\
**Category:** API and Webhooks\
**Created:** [January 22, 2020, 11:02am UTC](https://devforum.zoom.us/t/create-user-api-return-error-1/7636 "2020-01-22T11:02:07Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![zhangi](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/zhangi/32/2996_2.png) [@zhangi](https://devforum.zoom.us/u/zhangi)\
**Post date:** [January 22, 2020, 11:02am UTC](https://devforum.zoom.us/t/create-user-api-return-error-1/7636/1 "2020-01-22T11:02:07Z")

</div>

**Description**  
when create user with first\_name contains Thai character, the api returns an undocumented error = -1

**Error**  
http 404 and body is {“code”:-1,“message”:"\n### Error updating database. Cause: **com.saasbee.webapp.exception.ServiceException** : System error please try again later.\n### Cause: **com.saasbee.webapp.exception.ServiceException** : System error please try again later.",“errors”:null,“id”:"",“first\_name”:"",“last\_name”:"",“email”:"",“type”:0}

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

**Which Endpoint/s?**  
[https://marketplace.zoom.us/docs/api-reference/zoom-api/users/usercreate](https://marketplace.zoom.us/docs/api-reference/zoom-api/users/usercreate)

**How To Reproduce (If applicable)**  
Request: {“action”:“autoCreate”,“user\_info”:{“email”:"\*\*\***@",“type”:1,“first\_name”:“Mathawat(มาร์ช/March)”,“password”:"**"}}

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [January 22, 2020, 5:41pm UTC](https://devforum.zoom.us/t/create-user-api-return-error-1/7636/2 "2020-01-22T17:41:52Z")

</div>

Hey @zhangi, thanks for posting and using Zoom!

I have attempted to reproduce your issue, but it worked as expected:

 ![Screen Shot 2020-01-22 at 10.40.31 AM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/7/7becabef9b939c3fd0332e4a5468217016ffd28c.png)

Can you please share the request url, and try the request in Postman and provide screenshots?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![zhangi](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/zhangi/32/2996_2.png) [@zhangi](https://devforum.zoom.us/u/zhangi)\
**Post date:** [January 23, 2020, 4:01am UTC](https://devforum.zoom.us/t/create-user-api-return-error-1/7636/3 "2020-01-23T04:01:23Z")

</div>

![Screenshot 2020-01-23 at 12.00.28](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/1/14aa3be96cbfcecd4685c50df01cbb534a7b600c.png)

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [January 23, 2020, 5:04pm UTC](https://devforum.zoom.us/t/create-user-api-return-error-1/7636/4 "2020-01-23T17:04:24Z")

</div>

Hey @zhangi,

Can you try copying and pasting this JSON and trying again?

```auto
{
  "action": "autoCreate",
  "user_info": {
    "email": "mathawat.k@seagroup.com",
    "type": 1,
    "first_name": "Mathawat(มาร์ช/March)",
    "password": "Test123*"
  }
}

```

(Please change the password to something private.)

Let me know if it works!

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![zhangi](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/zhangi/32/2996_2.png) [@zhangi](https://devforum.zoom.us/u/zhangi)\
**Post date:** [January 24, 2020, 7:05am UTC](https://devforum.zoom.us/t/create-user-api-return-error-1/7636/5 "2020-01-24T07:05:14Z")

</div>

I copied this JSON and tried in Postman and still got the same error.

 ![Screenshot 2020-01-24 at 15.04.47](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/9/9a1850e0254a77d52d0364db3cb4fd9472d49fd1.png)

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [January 24, 2020, 5:15pm UTC](https://devforum.zoom.us/t/create-user-api-return-error-1/7636/6 "2020-01-24T17:15:22Z")

</div>

Hey @zhangi,

Can you share that error message and API Key with me and I will take a look at the logs.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![zhangi](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/zhangi/32/2996_2.png) [@zhangi](https://devforum.zoom.us/u/zhangi)\
**Post date:** [January 28, 2020, 2:07am UTC](https://devforum.zoom.us/t/create-user-api-return-error-1/7636/7 "2020-01-28T02:07:40Z")

</div>

API Key is sensitive so I will not share it here, the error message is:  
{

“code”: -1,

“message”: “\n### Error updating database. Cause: com.saasbee.webapp.exception.ServiceException: System error please try again later.\n### Cause: com.saasbee.webapp.exception.ServiceException: System error please try again later.”

}

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [January 28, 2020, 5:22pm UTC](https://devforum.zoom.us/t/create-user-api-return-error-1/7636/8 "2020-01-28T17:22:28Z")

</div>

Hey @zhangi,

Does creating a user with a non Thai character work?

Can you please send me the JWT you are using in a private message?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 7:12pm UTC](https://devforum.zoom.us/t/create-user-api-return-error-1/7636/9 "2020-08-21T19:12:54Z")

</div>

Closed on August 21, 2020, 7:12pm UTC


