Deleting a user from Custom Database does not delete user from application's list of users

After following this guide, I am using DynamoDB as my custom database.

Until roughly 20 minutes ago, I didn’t notice any issues with deleting users directly from DynamoDB during testing.

An issue I noticed is that each user I delete from my DynamoDB database table stays in the list of Users under my application. Not only that, but I also am unable to delete any of these users. Instead, I receive an error saying:

Error! There was a problem deleting <USER_EMAIL>.

Additionally, if I go to the Authentication → Database → DynamoDB-Connection → Custom Database, then Save and Try the Get User database action script for any of email of a user I deleted from DynamoDB, I get the following error:

The profile is: undefined

There’s more…

After re-creating the user in my DynamoDB table, using an API call from my web application’s UI, and try sign this user up, I get the following error:

The error above indicates to me that something is wrong with the User list in my Auth0 application.


Not being able to get rid of these accounts is a major blocker for us since these emails/accounts will be returning users.

Also, in case I need to run through tests like this again, I need to be able to remove users from the User list even if I have deleted them from my Custom Database not by using the Delete database action script.

Please help!!!

It has been more than 2 weeks.
Can I please get some eyes on this request for help?

This issue is a blocker for us to continue using Auth0 for authentication!

Hi @acecauis,

The Custom database connection gives the responsibility for managing users to Auth0. That is the central point for any user manipulation. Users need to be both added and deleted from it. Your Auth0 applications will try to access the users saved in the Auth0 User Store so when you’re about to make any change to the database, make it through the Management API.

For your tests use the Management API to delete users instead of deleting them directly from the database

If you have any other question feel free to reach out.

Have a good one,
Vlad