Validation

Validation errors are specified with an HTTP status code and list of error validation messages and their data fields.

HTTP/1.1 422 Unprocessable Entity

{
 "message" : “Validation error”,   
 “validation_errors”: [{
   “params”: [“part[0][name]”],
   “messages”: “can’t be blank”
  }]
}