SignUp (email) -- "Failed to create user" | "Unprocessable Entity" #142

Closed
opened 2026-03-13 07:35:05 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @nathanielrich on GitHub (Oct 25, 2024).

We are trying to implement better-auth, but we’re already running into issues with the signup process. Unfortunately, we couldn’t use the databases from better-auth, but we adjusted our own to be compatible.

Error message:
"Failed to create user" | "Unprocessable Entity"

The problem is that I don’t even know where to start looking for a solution. However, I think it might be because the configured database tables (in the better-auth config) are not in the "public" schema of the DB. We’re using a separate schema (postgres).

Screenshots
image
image
image

Originally created by @nathanielrich on GitHub (Oct 25, 2024). We are trying to implement better-auth, but we’re already running into issues with the signup process. Unfortunately, we couldn’t use the databases from better-auth, but we adjusted our own to be compatible. Error message: "Failed to create user" | "Unprocessable Entity" The problem is that I don’t even know where to start looking for a solution. However, I think it might be because the configured database tables (in the better-auth config) are not in the "public" schema of the DB. We’re using a separate schema (postgres). **Screenshots** ![image](https://github.com/user-attachments/assets/375c80bb-97a2-4933-80e8-59ab82f82ccd) ![image](https://github.com/user-attachments/assets/77b37188-6f9d-4950-99a6-646331dad9ee) ![image](https://github.com/user-attachments/assets/cb6abc96-1b0e-4bdc-8eb3-9c8b9beeb126)
Author
Owner

@nathanielrich commented on GitHub (Oct 25, 2024):

okay got the error... i have additional fields which are not null... fixed...

@nathanielrich commented on GitHub (Oct 25, 2024): okay got the error... i have additional fields which are not null... fixed...
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#142