debug validation error