Strapi register 530 error

System Information
  • **Strapi Version3.5.1:
  • Operating System:
  • **Databasesqllite:
  • Node Version:
  • NPM Version:
  • Yarn Version:

Started getting errors on my register route in production but not in development.
I get a 400 Bad request with response code of 530, but the new user does go into the database

{
    "statusCode": 400,
    "error": "Bad Request",
    "message": {
        "code": "EAUTH",
        "response": "530 Invalid username or password",
        "responseCode": 530,
        "command": "AUTH PLAIN"
    },
    "data": {
        "code": "EAUTH",
        "response": "530 Invalid username or password",
        "responseCode": 530,
        "command": "AUTH PLAIN"
    }
}

Trying to rollback on my code to see what might have caused this but I don’t understand what the response code is indicating. Any help would be appreciated.

Even when trying to register a new user using postman I’m getting the same message.

Everything works locally, but not on production.

Managed to solve it.

It was actually an error coming from nodemailer as I had changed the send from email for transactional emails and made a spelling mistake. Interesting though that the error was actually about username and password of that service not the registering.

Hence the confusion.

1 Like