How to investigate AuthApiError

I'm getting an AuthApiError: Database error creating new user error when using createUser, but it doesn't give any more details. How can I figure out exactly what is causing this error to occur?
Was this page helpful?