I was able to download it after trying it again but i would still get this error when booting it up.That's an internal server error for eShop. It's either because your connection to your AP is weak so you're dropping too many packets from Nintendo's server while trying to download; or the server itself is having issues. I assume it's the latter though.