Unable To Connect To The Internet; Getting Error Code NINTENDO ERROR CODE 51331.

I am receiving a NINTENDO ERROR CODE 51331 on my console and I am not able to connect to the internet. I have performed the connection test but still I am not able to sort it. Need help immediately.

