A2m
BABetter Auth
•Created by A2m on 3/7/2025 in #help
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":"[email protected]","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
6 replies