Since I wasn't able to search for the code online I'll ask a couple of questions and provide answers.
1 - Is your phone storage full? If so you need to make room
2 - Is your time and date correct? If not then fix that and it should work (you need to be within 5 minutes for time)
3 - Is your account properly synced? If not ensure that it is so that. Settings -> email + accounts -> long press -> sync
Are you using WiFi or data?
If none of these work then you need to see if you are able to download apps. If you can then that ensures all your settings are correct.
It could then just be a server error, which means waiting.