Unprocessable Entity on Signup
Hey, just ecountered an Error I haven't seen. This happens when trying to signup via the authClient. This is my code:

11 Replies
What does your server logs say?
@Zetax
No errors or anything, just the logging indicating that it returned that response

can I see your auth config + any potential schema files you may have
My auth config and schemas: https://gist.github.com/simplyzetax/ccfc1127ae55440a31b7e614670ae40f
If you want to use
uuid
, you must disable ID generation from Better Auth, and allow your DB to generate the IDs.
In BA, in your auth config, set advanced.database.generateId
to false
.
Then in your drizzle schema, set your id to this: uuid('id').defaultRandom().primaryKey(),
@ZetaxThis key does not exist for me apparently. I'll try updating

Still does not exist
Update Better-Auth to latest.
Worked after restarting TS server
What version?
Oh, good.
That fixed it, I'll mark this as resolved
Thank you