changed custom validation error code to fit with problem+json