You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{
"timestamp" : "2018-04-27T02:14:12.161+0000",
"status" : 500,
"error" : "Internal Server Error",
"message" : "Validation failed for classes [de.ul.swtp.modules.contactmanagement.Contact] during persist time for groups [javax.validation.groups.Default, ]\nList of constraint violations:[\n\tConstraintViolationImpl{interpolatedMessage='must not be blank', propertyPath=address, rootBeanClass=class de.ul.swtp.modules.contactmanagement.Contact, messageTemplate='{javax.validation.constraints.NotBlank.message}'}\n\tConstraintViolationImpl{interpolatedMessage='must not be blank', propertyPath=lastName, rootBeanClass=class de.ul.swtp.modules.contactmanagement.Contact, messageTemplate='{javax.validation.constraints.NotBlank.message}'}\n\tConstraintViolationImpl{interpolatedMessage='must not be blank', propertyPath=firstName, rootBeanClass=class de.ul.swtp.modules.contactmanagement.Contact, messageTemplate='{javax.validation.constraints.NotBlank.message}'}\n]",
"path" : "/contacts"
}
The text was updated successfully, but these errors were encountered:
leoek
changed the title
Api Returns statuts 500: internal server error if a validation fails.
Api Returns statuts 500 (internal server error) if a validation fails.
Apr 27, 2018
actual:
expected:
status 400 and a useful message
request to reproduce:
The text was updated successfully, but these errors were encountered: