Use syntax error when validating