Contribute
Register

AppStore: The operation couldn’t be completed. (com.apple.commerce.client error 500.)

Joined
Dec 23, 2013
Messages
95
Motherboard
GA-Z87X-UD3H
CPU
i7-4770K
Graphics
GTX 770
Mac
  1. Mac mini
Mobile Phone
  1. iOS
Well there is a software update command but no option to log out that I could see:

Simons-iMac:~ simonvoigt$ sudo softwareupdate --help

usage: softwareupdate <cmd> [<args> ...]



** Manage Updates:

-l | --list List all appropriate update labels (options: --no-scan, --product-types)

-d | --download Download Only

-e | --cancel-download Cancel a download

-i | --install Install

<label> ... specific updates

-a | --all All appropriate updates

-R | --restart Automatically restart (or shut down) if required to complete installation.

-r | --recommended Only recommended updates

--fetch-full-installer Install the latest macOS Installer

--full-installer-version The version of macOS to install. Ex: --full-installer-version 10.15

--background Trigger a background scan and update operation

--ignore <label> ... Ignore specific updates

--reset-ignored Clear all ignored updates



** Other Tools:

--dump-state Log the internal state of the SU daemon to /var/log/install.log

--evaluate-products Evaluate a list of product keys specified by the --products option

--history Show the install history. By default, only displays updates installed by softwareupdate.

--all Include all processes in history (including App installs)



** Options:

--no-scan Do not scan when listing or installing updates (use available updates previously scanned)

--product-types <type> Limit a scan to a particular product type only - ignoring all others

Ex: --product-types macOS || --product-types macOS,Safari

--products A comma-separated (no spaces) list of product keys to operate on.

--force Force an operation to complete. Use with --background to trigger a background scan regardless of "Automatically check" pref



--verbose Enable verbose output

--help Print this help
 
Joined
Nov 1, 2019
Messages
20
Motherboard
Gigabyte Designare Z390
CPU
i7-9700K
Graphics
RX 580
Mac
  1. iMac
  2. MacBook Pro
Mobile Phone
  1. iOS
I have tried the terminal commands. I also made sure of the UIID in the configplist. No luck. When trying to download the apps i get an endless spinning circle. Nothing downloads. Any one have any ideas?
 
Joined
Dec 29, 2015
Messages
9
Motherboard
Lenovo Small form factor with Intel Q67 Chipset
CPU
Intel® Core i5-2400 Processor (6MB Cache, 3.10 GHz)
Graphics
Nvidia Geforce GT 610
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
I've tried all the suggestions in this post, except the ones that voigtstr (as I don't know what to do with all that).
Nothing works for me.
Unable to install any application from Apple Store. :(
 
Joined
Jun 16, 2019
Messages
33
Motherboard
Gigabyte Designare
CPU
i9-9900k
Graphics
Vega 56
Mac
  1. Mac Pro
Mobile Phone
  1. iOS
I have the same problem. Tried logging in/out, tried the defaults write, tried everything else mentioned in this thread.

I can log in... app store runs and shows apps but when I try to download an app I own it spins for a long time and then eventually gives up.

in the console I get one suspecious looking error from the appstore.

AMSURLRequest: Failed to fetch GUID schemes from bag

Which seems suspicious but I can't find any solution...

The crazy thing is it used to work.... Actually when I first installed everything worked (handoff, imessage, app store). Within a month or so Imessage and facetime/continuity stopped working but I didn't care so much.

About 6 months later 8 months later I noticed I couldn't get app store downloads any more... Anyone have a suggestion?

Mojave 10.14.6
 
Joined
Mar 30, 2020
Messages
4
Motherboard
Gigabyte Z390 Aorus Pro WIFI
CPU
i7-9700
Graphics
RX 580
I have the same problem. Tried logging in/out, tried the defaults write, tried everything else mentioned in this thread.

I can log in... app store runs and shows apps but when I try to download an app I own it spins for a long time and then eventually gives up.

in the console I get one suspecious looking error from the appstore.

AMSURLRequest: Failed to fetch GUID schemes from bag

Which seems suspicious but I can't find any solution...

The crazy thing is it used to work.... Actually when I first installed everything worked (handoff, imessage, app store). Within a month or so Imessage and facetime/continuity stopped working but I didn't care so much.

About 6 months later 8 months later I noticed I couldn't get app store downloads any more... Anyone have a suggestion?

Mojave 10.14.6

Hey, I have the same problem, I can open the App Store, but when I try to download an app, it just spins forever.

Hackintoshs-iMac:~ hackintosh$ /Applications/App\ Store.app/Contents/MacOS/App\ Store ; exit;


2020-04-05 11:25:30.258 App Store[771:17374] Could not get real path for Address Book lock folder: open() for F_GETPATH failed.


2020-04-05 11:25:30.258 App Store[771:17374] Unable to open file lock: <ABProcessSharedLock: 0x7fe6f80b8030: name=(null), lockFilePath=(null), localLock=<NSRecursiveLock: 0x7fe6f80b7fc0>{recursion count = 0, name = nil}, fileDescriptor=-1> Error Domain=NSPOSIXErrorDomain Code=14 "Bad address" UserInfo={ABFileDescriptor=-1}
 
Joined
May 3, 2020
Messages
1
Motherboard
Asus ROG Z270 > Need full model > See Rules!
CPU
i7-7700K
Graphics
GTX 1060
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
Make sure to log out of the Appstore and close it before running this terminal command.
Code:
defaults write com.apple.appstore.commerce Storefront -string "$(defaults read com.apple.appstore.commerce Storefront | sed s/,8/,13/)"
It works!! Thank you, very much!!
 
Joined
Oct 9, 2011
Messages
43
Motherboard
Gigabyte GA-Z170X-Gaming-5
CPU
i7 6700
Graphics
GTX 970
Hi all,

Non of this solution was working me to me now... I have restored my hack from CCC backup and it is impossible to make App store working. Just to clarity, I have logged out from iCloud and App Store as well, executing commands. Nothing...

I always see (even I am not logged) 3 updates pending. I have uninstalled these apps, and these are still there, again, after restart!

I have tried to repair permissions, delete com.apple.applestore files...

I strongly belive it is a permissions thing. I had problems yesterday with evernote app (I had to delete totally and download it again web internet). Maybe this permission issue is affecting App Store.

Anyone could recommend a deep permission repair or any solution for it?

Thanks
 
Joined
Feb 5, 2011
Messages
35
Motherboard
Gigabyte Z390 UD
CPU
i5-9600k
Graphics
RX 580 8gb XFX
Mobile Phone
  1. Android
no luck for me but this worked
"
cd ~
rm Library/Preferences/com.apple.storeagent.plist
rm -rf Library/Caches/com.apple.SoftwareUpdate
rm -rf Library/Caches/com.apple.storeagent

rm -rf Library/Preferences/ByHost
chmod 755 Library/Cookies


man what command is this that you posted here?

I did what I was told and simply reset my Mojave HD, deleted all programs and files, and deleted files from other HDs.

guy that crazy and irresponsible thing.
 
Joined
Feb 5, 2011
Messages
35
Motherboard
Gigabyte Z390 UD
CPU
i5-9600k
Graphics
RX 580 8gb XFX
Mobile Phone
  1. Android
guys, help me for god's sake to reverse this because everything on my hard drives has been deleted and are working files, important that by executing this command were deleted
 
Top