Creating user directly in db

It’s possible that you’re not using an ObjectID for the id in the database.

You shouldn’t be adding users directly from the database though, we have invite functionality in the Admin application, and if email is not configured, you can pull out the invite tokens from the database.