My error value just "Invalid value", not described as example : { "errors": [ { "username": "username must be an email" }, { "password": "password must be at least 5 chars long" }, ] }
that is from validator library or from backend?
If you didn't specify a custom error message, then it'll assume the default message from the library
Ok i got it, express-validator.github.io/docs/c... thanks
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
My error value just "Invalid value", not described as example :
{
"errors": [
{
"username": "username must be an email"
},
{
"password": "password must be at least 5 chars long"
},
]
}
that is from validator library or from backend?
If you didn't specify a custom error message, then it'll assume the default message from the library
Ok i got it, express-validator.github.io/docs/c... thanks