UNION, N.J. (CBSNewYork) — Several thousand prospective students received acceptance notices from Kean University earlier this week only to find out it was a mistake.

Most of the students who received the email had either incomplete applications or were pending decisions, according to the university.

“I was so excited that I ran upstairs and I was like, ‘I got accepted into Kean! I’m so excited,'” an applicant told 1010 WINS’ Rebecca Granet. “That’s like saying, ‘Oh you won a million dollars, oh wait I’m sorry, I have to take it back.”

The error was discovered within 30 minutes and those who received the notice were contacted by the school, the university said.

“It said, ‘Please disregard the last email we sent you, it was in error,'” the applicant said.

The email was intended as a reminder to students who had been accepted to apply for scholarships, according to the school.

“The University Administration deeply regrets the error, and has apologized to students adversely affected,” the university said in a statement. “Students who are accepted to Kean University receive letters in the mail indicating their status. The University has taken corrective steps to prevent a reoccurrence.”

A computer glitch is to blame for the error, the university said.

Higher Education Consultants Association President Eric Delehoy said he is glad the school apologized, but still cannot help but feel bad for the students.

“They still had some consequences oh exciting students about being accepted,” he told WCBS 880’s Levon Putney.