No, it would not be grounds for legal action. Remember: there is no right to be hired or to have/get a job, so as a general matter, there are no legal claims for not getting a job: you can only sue things you have a right to.An employer cannot discriminate against applicants for certain reasons, such as race, national origin, or send but that's because there are specific laws barring those things. Since there is no law protecting you from clerical errors, however, there is no recourse given (as stated above) that there is no inherent right to a job.