Links
Iphone's Archive
All About Iphone
How To Fix iTunes Error 5002
Author: bius
If you've upgraded to iTunes version 8.x recently, you may have experienced a problem when trying to view items in your shopping cart, or agreeing to upgrade apps that you already have installed:
We could not complete your iTunes Store Request.
An unknown error occurred (5002).
That's really helpful... (Read more after the fold.)
If you get the 5002 error attempting to browse your shopping cart, the favored solution is to go to iTunes Preferences, then the Store tab, and select "Buy and download using 1-Click" instead of "Buy using a shopping cart." (Clearing the items in your cart also seems to eliminate the error message.)
Another (Mac OS X-specific) flavor of the 5002 arises if there are permission errors in or around the iTunes Music folder. According to a thread on the Apple Support Forum, the follow steps can fix the permissions problem:
1. Log in using an administrator account.
2. Locate your iTunes Music folder. If you are not sure where your iTunes Music folder is located, launch iTunes, open Preferences from the iTunes Menu and click Advanced. This will show you where the iTunes Music Folder is located.
3. Select the iTunes Music folder.
4. From the File menu, choose Get Info.
5. Click the disclosure triangle to open the Ownership and Permissions section of the Info window.
6. Set the permissions as follows (you may be prompted to enter an administrator account password):
* Owner: access Read & Write
* Group: access Read Only
* Others: access Read Only
7. Click the "Apply to enclosed items" button.
8. Close the Get Info window.
If the error is generated by app update attempts, (carefully!) take the following steps, courtesy of WikiAnswers:
1. Back up Mobile Applications from /Users/myusername/Music/iTunes by dragging them to another disk -- simply moving them elsewhere on the same disk doesn't work, since iTunes keeps track of their location. Duplicating the folder would likely work too, if you haven't got anywhere else to copy them.
2. Once you have the Mobile Applications folder backed up, and have verified and reverified that you've got a copy and haven't simply moved the folder, open iTunes WITHOUT YOUR IPHONE/IPOD CONNECTED and select all your applications and delete them. (if your iPhone/iPod were connected, it would now start helpfully deleting apps)
3. When they're all gone, quit iTunes
4. Start iTunes again and verify that you have no apps listed.
5. Drag your backup Mobile Applications folder to your open iTunes window -- if you have default iTunes settings (copy/manage my music), then iTunes will start re-adding your applications. The nice thing about this is that it also eliminates all the duplicate apps and renames along the way -- all those updates you keep doing don't get rid of older versions, so these just pile up as "Application 1", 2, 3, etc. You may end up saving a lot of disk space. Many apps have gone through name changes too, so you may clear up some confusion and duplication too.
6. Read the iTunes notices carefully -- you will likely get something like "an OLDER version of this app already exists, do you want to replace it" (you DO), or "a NEWER version of this app already exists, do you want to replace it" (you DON'T), or sometimes a mention that this app already exists as the same version (replace it).
7. Quit iTunes, then restart it to "set" the changes