A man of Asian background had his passport photo rejected by a New Zealand government website because it's facial recognition software registered his eyes as being closed.

Richard Lee was trying to renew his passport so he could return to Australia from New Zealand after Christmas on Monday but received an awkward error message when he submitted his picture to Internal Affairs's online passport photo checker.

The automated system told the 22-year-old DJ, who is currently studying Aerospace Engineering and Business Management in Melbourne, that his eyes were closed, despite them being quite obviously open.

Richard Lee was told his eyes were not open when submitting an image of himself to New Zealand's online passport photo checker

'The photo you want to upload does not meet our criteria because subjects eyes are closed,' the message read.

Mr Lee, who was born in Taiwan but grew up in New Zealand, contacted the Department of Internal Affairs shortly after to ask why his photo was not accepted.

A spokesperson told him 'uneven lighting on the face' caused it to be rejected.

'I tried different ones and no luck, so I rang the office they said it's to do with the shadow in my eyes and uneven lighting in the face,' Mr Lee told Daily Mail Australia.

'So I got a few new ones taken at Australian Post and one of them went through, finally.

But his friends had already posted an image of the bungle to Facebook and social media users started suggesting the machine was 'racist'.

The club promoter said the response he received online after the image was posted was 'unexpected' but welcomed

Social media users dubbed the technology was 'racist' while others said they had experienced the same issue

'Technology is getting racist,' one user wrote.

'Dude, his eyes are clearly open,' posted another.

Several others claimed they had experienced the same problems when using facial recognition technology.

Mr Lee said he was not bothered by the incident and did not believe it was a race issue.

'The error message didn't bother me that much, I saw the humor in it and obviously it's a programming error in the recognition software,' Mr Lee said.

'Just a bit annoying with the delay and I'd expect to get a staff reply after 3 failed submissions,' he added.

The DJ uploaded a humorous image to Facebook shortly after the error message was posted using a Snapchat filter that widens the subject's eyes

The club promoter said the response he received online after the image was posted was 'unexpected' but welcomed.

'I posted it initially because I found it hilarious not necessarily racist. But it was really heart warming to see so many of my friends in New Zealand and Australia jumping in and saying something, which is what makes us such great countries to call home.'

He said a lot of social media users of Asian decent were able to see the humour in the situation, but reminded others it can be difficult if you are not confident with your origin.

'Some people get offended way too easily because they're not as confident with their origins... At the end of the day we're all different and of course there are certain situations where you have to stick up and some situations it's just a good laugh.'

'At the end of the day we're all different and of course there are certain situations where you have to stick up and some situations it's just a good laugh,' Mr Lee said

The DJ, known as Richy Fancy, uploaded a humorous image to Facebook shortly after the error message was posted using a Snapchat filter that widens the subject's eyes with the caption: 'I hope they accept this one'.

A spokesperson for the Department of Immigration said the software is 'one of the most technologically advanced in the world' but that rejections were common.

'Up to 20 percent of photos submitted on line are rejected for a large variety of reasons,' they told Daily Mail Australia.

'We provide customers with helpful online resources to make it easier for them to take suitable passport photos and note that in this case a second photo was submitted on the same day and the individual was issued with a NZ passport.'

The suggestions for users who receive a message about their eyes being closed is: 'Retake the photo and make sure the eyes are open'.

The advice offered if you receive Mr Lee's error message is to retake it with your eyes open