An unknown error has occurred app store

An unknown error has occurred


This message An unknown error has occurred when i try login to APPSTORE in my MacBookAir.'

MacBook Air, OS X Mountain Lion (10.8.1), Problem to log in to app store

Posted on Aug 31, 2012 3:45 AM

Reply
Question marked as Top-ranking reply

Posted on Oct 4, 2012 10:25 AM

wagaya wrote:


Really bizarre. Hearing some people suggest that it's a problem on Apple's end is discouraging, as it suggests anything else I try may automatically fail. Yet if I can use the App Store from another user account, that suggests there has to be something lurking in my main account's Library (probably) that's causing the problem...


After running around in circles trying to get this resolved for me I finally found a (fairly easy) solution - the key point here is that the AppStore works just fine form another user account on the same computer (using the same AppleID) so it has to be something in ~/Library rather than /Library (thus ruling out the NetworkInterfaces.plist fix - which I tried and which didn't work for me).


Here is a step-by-step of what worked for me:


  1. Create a new user account - let's name it "Test" - I did not make this an administrator account
  2. Log into that new user account (skipping the AppleID/iCloud screen)
  3. Select "Software Update…" from the Apple menu - you will be asked to enter an administrator name and password in or to check for system updates - just provide your normal (admin-enabled) user name and password
  4. If you have any updates available, click "Update All" and log into the AppStore with your normal AppleID/password (this should work since you are in a new user account)
    (If you don't have any updates available, I assume that you can also log in using the menu item in the Store menu of the AppStore application though I have not tried that)
  5. As soon as the download starts, you can quite the AppStore application
  6. Log out of your test account and back into your normal account
  7. Open /Applications/Utilies/Terminal
  8. Type the following command:
    sudo cp /Users/test/Library/Cookies/com.apple.appstore.plist Library/Cookies/
  9. Open the AppStore again and you should be able to log back in


What does this do? It seems that the com.apple.appstore.plist file in your normal user account has become corrupted - we use a new account and create a new one (which is interchangebale since we use the same AppleID) and move that one back to the main account with the corrupt file.


AndreasUser uploaded file

198 replies

Sep 26, 2012 8:02 PM in response to OlofMork

I've had the same problem. I went through all the troubleshooting that others have mentioned here, as well as some other things.


I have spent a couple of hours on the phone with Apple support, and they suggested a few other things, as well as reinstalling the OS from my recovery partition (which I did).


Still no joy.


Interestingly, this problem does not happen when I log into the Mac as another (test) user. That user has just the standard OS installed with no add ons, and no non-Apple system tweaks (such as 1Password, Weatherbug, etc).


My fourth phone call with Apple suggested that I wipe the hard drive, reinstall the OS from the recovery partition and a Time Machine backup. Finally, they said that this is an issue "on their end" that they are working on, and they hope to have a fix for it, but offered no timeframe.


Not that big a deal for me, because I can always log into the other account and update important stuff. Otherwise, I'll wait for the fix.

Sep 28, 2012 7:11 AM in response to George Katele

Same here. I have a secondary user account that works fine with the App Store, but my main account only generates "unknown error".


I've tried different Apple IDs, changing passwords, deleting and trashing caches and preferences and networkinterfaces.plist and every other file mentioned in this thread and others... and, of course, plenty of restarts and permission repairs and Safe Boot starts and what not. Everything but reinstallation (the one length I'm not willing to go for this problem).


All no good; my main account only spits out "unknown error" when trying to log in to the App Store.


Really bizarre. Hearing some people suggest that it's a problem on Apple's end is discouraging, as it suggests anything else I try may automatically fail. Yet if I can use the App Store from another user account, that suggests there has to be something lurking in my main account's Library (probably) that's causing the problem...


Interesting, too, that different things are working for different people. I hope some more new solutions pop up, for those of us who still have no help! My thanks to everyone offering suggestions –

Oct 4, 2012 11:09 AM in response to carnecro

carnecro wrote:


You can remove the cookie directly in your account (`rm Library/Cookies/com.apple.appstore.plist`), when AppStore starts new cookie will be created. I think it's one of many hints in this thread and it does not work for me.


I tried deleting the plist too and it didn't work for me either - while the AppStore created a new com.apple.appstore.plist it was completely empty so it didn't work. Creating the file form another account and copying over worked (as that cookie is not corrupt/empty) - give it a try…


AndreasUser uploaded file

Oct 27, 2012 6:29 AM in response to Hesekiel

I have the same problem. I have a MacBookPro upgraded from Lion to Mountain Lion and no problem with my AppleID for Icloud, MacAppStore, FaceTime and iTunes. But using the same AppleID on the Imac upgraded also from Lion to Mountain Lion, the MacAppStore dont accept login, alltime i have the unknown error. Icloud, iTunes and Face Time working correctly. I've contacted Apple support and i've tried to move cache.db, com.apple.appstore.plist and com.apple.network.identification.plist to trash and then restart and try login on App Store, but it doesn't help. For making updates for apps on the Imac I must work now with a second user with administration rights, and I also used the same Apple ID for login on the App Store, and the App Store works correctly. I've looking on different communities, but I dont find the solution.

Sep 15, 2012 5:23 PM in response to Dave Simple

My problem is clearly not network related. If I create another user and login as that user then use my account with App Store then I can successfully log in. Must be something in my own account.


I've tried all the other things like removing ~/Library/Caches/com.apple.appstore/Cache.db and ~/Library/Cookies/com.apple.appstore.plist. There must nbe another corrupted file somewhere in my account that is causing the problem.

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.

An unknown error has occurred app store

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