iTunes, An unknown error occurred (502)

I purchased a couple of albums from iTunes store last night and there are 3 tracks from one of the albums that just wont download and return: 'An unknown error occurred (502)', this is odd because this is supposed to be a connection error while all the other tracks downloaded but these 3 continually gave the error. I tried again this morning and even switched off all the Network barrier software just in case and the same thing happens.

This seems very odd as I mentioned all the other tracks downloaded before and after these problem tracks tried to download, so the issue appears to be these 3 tracks for some reason.


Any suggestions?

MacBook Pro (Retina, 15-inch, Mid 2014), OS X Yosemite (10.10.1)

Posted on Sep 23, 2015 1:06 AM

Reply
21 replies

Feb 23, 2016 7:18 PM in response to Sinisa_L

I appreciate your corroboration, but turning off the caching service doesn't solve the problem/mystery. You've worked around the problem by disabling a useful service that—for an unknown reason to us, but probably not to Apple—just punishes you, because now you won't benefit from the caching service. Perhaps you don't need it, and can happily re-download OS releases, patches, and apps for all your devices, but this service saves me *hours* of time weekly.

Feb 23, 2016 7:27 PM in response to Matt W (TechnicalMac)

I agree with fact that Caching Service is quite important and in larger network environment essential. Mystery is still there and in my smaller controlled environment I will most likely switch it off every fortnight for as long as iTunes update get in and then switch it back on. On that note I wander if anyone has had same error on El Capitan and OSX Server 5.0.15. Thinking of dedicating this weekend to make a move to "latest and greatest".

Feb 23, 2016 7:51 PM in response to Sinisa_L

Upgrading is, of course, exactly what Apple wants. However, their best intentions do not change the fact that sometimes computers need to remain static and we, as admins, need MUCH more transparency about how and why a service has suddenly decided to stop working so we have the knowledge we need to decide to use a stable, but unsupported system, or move ahead with buggier, but supported systems.


It is interesting to note that while enabled, the caching service's data size has incremented for Mac App Store downloads, but not for iTunes.

Jul 2, 2016 12:17 PM in response to Mike B

I had this error on my Iphone trying to download Google Maps. Turned off the Wi-fi and used the Cellular data instead and the problem went away. I would suspect the average home router has some ports blocked that Itunes tries to use on some downloads. Though I downloaded 2 other apps through the router with no problem.


Suggest trying different networks or go into your router setup and shut off all firewalls and enable all ports. That might fix your problem. And if Apple reads this i might suggest they look at these problem apps and see what they are doing differently from the rest and try a permanent fix at their end.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

iTunes, An unknown error occurred (502)

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.