Whenever I attempt to POST to the auth/local api (http://localhost:1337/auth/local) I receive an {
“statusCode”: 500,
“error”: “Internal Server Error”,
“message”: “An internal server error occurred”
}
I am not sure what I’ doing wrong to produce this. This is done via postman
Sorry, I’m not at my computer right not but can send the logs later, it is v3 and I followed the strapi authentication documentation. Sending a JSON to auth/local with postman containing (matching the created user):
{
“identifier”: “reader@strapi.io”,
“password”: “strapi”
}
I have since installed a new strapi with same version and it works fine with exactly the same collections input.
There is incompatibility issue between strapi and the new redis version. You need to downgrade it from version 4.0 to 3.1.2. Just add to your dependencies in package.json the following line and reinstall the dependencies
Normally when you get 500 errors you need to check the STRAPI server logs the console for errors.
500 means the DB crashed or something to do with the DB mostly