Better AuthBA
Better Auth10mo ago
A2m

Invalid body parameters

Hello ! I have a very strange problem, i'am switching my backend from NextJS to AdonisJS, I'm setting up better-auth on AdonisJS (NodeJS Framework) but i have a problem when i call this endpoint : POST / http://localhost:3333/api/auth/sign-in/email / { "email":"test@gmail.cum","password":"Test"}

And (maybe) better-auth return this :

{
"code": "VALIDATION_ERROR",
"message": "Invalid body parameters"
}


Front -> NextJS -> signIn.email
Backend -> AdonisJS
---

I haven't found any similar problems on the discord/github
Was this page helpful?