Good evening rohailgul,
Welcome to the Apple Support Communities!
If you received an error message from the iTunes Store stating to try again later, there may have been an issue with the servers, and this would be reflected on our System Status page.
If subsequent attempts are not successful, try the troubleshooting steps in the resource below:
If you can‘t connect to the iTunes Store, iBooks Store, or App Store
Take care.