Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

127
Views
"ER_DATA_TOO_LONG" Error for password. Don't know what seems to be the issue

Keep getting this "ER_DATE_TOO_LONG" error on Postman saying that "Data too long for column 'password' at row 1". My password data type is VARCHAR(255) so it has no reason to say it's too long. Confused and stucked. Would be glad if someone assist me.

    console.log("test");
    var username = request.body.username;
    var email = request.body.email;
    var password = request.body.password;
    var first_name = request.body.first_name;
    var last_name = request.body.last_name;
    var gender = request.body.gender;
    var address = request.body.address;
    var mobile_number = request.body.mobile_number;
    var user_profileimage = request.body.user_profileimage;
    var age = request.body.age;
    password = bcrypt.hashSync(password,10);
    userDB.addUser(username,email,password,first_name,last_name,gender,address,mobile_number,user_profileimage,age, function(error, result){
        if(error){
            respond.json(error);
        }
        else{
            respond.json(result);
        }
    })
}```
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!