I am currently writing a backend JSON API built with nodejs & express but this question can probably apply to any backend API's
What is the standard way of handling model validation errors when a bad or incomplete request is sent to the server and what response should be given to the client?
Currently, my application is sending status codes if something was to go wrong. Is this enough?
Edit: I have fully functioning validations on the client side app, so I am not overly fussed, but it would be nice to have all the angles covered.