JC-1508 Fixed validation error codes.