# Delete user with space in ID

**URL:** <https://community.auth0.com/t/delete-user-with-space-in-id/9629>\
**Category:** Get Help\
**Tags:** user-id, user, delete, delete-user, user-creation\
**Created:** [March 1, 2018, 11:53pm UTC](https://community.auth0.com/t/delete-user-with-space-in-id/9629 "2018-03-01T23:53:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tim.costrop](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@tim.costrop](https://community.auth0.com/u/tim.costrop)\
**Post date:** [March 1, 2018, 11:53pm UTC](https://community.auth0.com/t/delete-user-with-space-in-id/9629/1 "2018-03-01T23:53:17Z")

</div>

I’ve created a user with the management API (java auth0 framework) with a fixed ID. This id however had a space in it, and now it is impossible to delete this user.  
If I try this, I keep getting a 500: Internal Server Error. Is there any way to delete this user?  
Shouldn’t this be prevented in any way if this breaks the system?

---

<div class="post-metadata">

**Author:** ![richard.dowinton](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/richard.dowinton/32/16150_2.png) [@richard.dowinton](https://community.auth0.com/u/richard.dowinton)\
**Post date:** [March 6, 2018, 9:55am UTC](https://community.auth0.com/t/delete-user-with-space-in-id/9629/2 "2018-03-06T09:55:30Z")

</div>

I’ve been able to reproduce this problem. I’ve discussed this with our engineering team who have confirmed it’s a bug. We’re tracking it internally but have no ETA for a fix just yet.

Because the dashboard uses the same API to delete the user, as far as I can tell there’s no temporary workaround available.

---

<div class="post-metadata">

**Author:** ![tim.costrop](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@tim.costrop](https://community.auth0.com/u/tim.costrop)\
**Post date:** [April 11, 2018, 7:19am UTC](https://community.auth0.com/t/delete-user-with-space-in-id/9629/3 "2018-04-11T07:19:55Z")

</div>

Thanks for the reply, fortunately we noticed this early on in development and were able to completely remove the users DB, and recreate it. Good to know we have to actually take care not to have any spaced in the id.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [July 25, 2019, 12:42pm UTC](https://community.auth0.com/t/delete-user-with-space-in-id/9629/4 "2019-07-25T12:42:33Z")

</div>


