Error 400 when registering a new admin

System Information
  • Strapi Version: 4.5.6
  • Operating System: Linux Mint 20.3 Una
  • Database: SQLite
  • Node Version: v18.13.0
  • NPM Version: 9.2.0
  • Yarn Version: v1.22.19

Hello everyone, I have problem when I start the project with yarn develop
The localhost URL is created and I can access the admin registration page. However, when I fill in the form, it gives me a 400 error in the console, as in the attached image. Could anyone help to solve it?


Welcome to the Strapi Community @jolucas245 :cake:

I would say try a different password, make sure it’s correct and maybe the same ?
400 normally means you sending the wrong data to the server.
Which seems strange if this is the first time your registering an admin.

I would also just for sake of trying suggest the following.

Stop the Strapi server.
Delete .cache and build folder.

Then run yarn develop again to see if this fixes the issue.