Forum Discussion
An error occurred. (Error code: 9) (Extra code: 0)
Hi All
I tried to update my EDGE, and got error as picture below. Could you help me how to fix it? I am using EDGE on Mac
CyrilYu run these commands would resolve the problem
sudo rm -rfv /Library/LaunchDaemons/com.microsoft.EdgeUpdater.* sudo "/Applications/Microsoft Edge.app/Contents/Frameworks/Microsoft Edge Framework.framework/Versions/118.0.2088.46/Helpers/EdgeUpdater.app/Contents/MacOS/EdgeUpdater" --install --system --v=2
then restart edge browser, open `edge://settings/help`, problem should resolved
(found solution after extract MicrosoftEdge-118.0.2088.46.pkg and read scripts/postinstall)
- markusiofceaCopper ContributorCan it be that this is fixed in 118.0.2088.57?
My Edge browser on MacOS Sonoma 14.0 now shows "Microsoft Edge is up to date.". No more error 9.- FeejusBrass ContributorI just tried to download the latest version and installed it on my mac M2. It works.
- CyrilYuCopper Contributor
If you have a new Mac or one that has never had Edge installed, installing Edge should proceed without any issues or errors.
However, if you do encounter an error, it's likely due to an incorrect login item. mjj792msncom suggested unchecking this login item as a solution, but many, including myself (I succeeded once), have found this method ineffective. This Microsoft Corporation login item can be located in /Library/LaunchDaemons/. Be cautious: if you delete these items, you won't be able to retrieve them. The primary issue is that even after fully uninstalling Edge, this login item remains outdated, resulting in the error code: 9.
- FeejusBrass Contributor
I appreciate your explanation. However, it appears that this information mainly highlights that the software is malfunctioning and requires attention from Microsoft.
As for my second point, and as you correctly pointed out, even after clearing the LaunchDaemons and ensuring that no files remain, if I reinstall Edge by downloading it from scratch, why does the error recur?
I took the step of removing Edge using AppCleaner, which should have removed all associated files including the Edge file in /Library/LaunchDaemons/.
- CyrilYuCopper ContributorI also find this very strange. No matter how you delete Edge, the 'login item' will never automatically download to your computer. However, on a Mac that has never had Edge installed, the 'login item' can be downloaded normally.
- donchoCopper Contributor
Same issue here. I haven't tried any fixes yet. MacBook Pro M1, MacOS Sohoma 14.0 (23A344).
- mjj792msncomCopper ContributorYa same here when I first unchecked the box and went back to the update page it told me to restart to complete the update so I restarted the laptop and now I am back to receiving the same message again.
- Flsmith3Copper ContributorSame here.
Have uninstalled, reinstalled. No change - mjj792msncomCopper ContributorI went into system settings and under general there is a box called login items, in this box there are a number of boxes that can be checked. I unchecked a box called Microsoft Corporation, and this fixed the problem.
- tsanchaiCopper ContributorThere is no items in my Login items list that name Microsoft Xorporation as you stated. Mine is M1 MacBook Pro. The problem still persist. Wait for Microsoft to fix it
- anders1231645Copper Contributor
- anders1231645Copper ContributorSame issue here. Is any from Edge team on it???
- tsanchaiCopper Contributor
anders1231645 Seems that Microsoft Edge team don’t care. Man users care minority lol
- FeejusBrass ContributorI have the exact same issue with version 118.2088.46. Looks like more of a backend issue as the client tries to connect to a URL to check for updates but fails.
Steps taken by me so far:
1. Uninstall MS Edge on MacOs Sonoma 14.1 23B5067a (using app cleaner)
2. download the latest build for Mac M1 (Apple silicon) from Micrsoft website
3. Install, and i still get this error.
Also with Microsoft Autoupdate, i can only update MS suite teams and onedrive. There is no "MS edge" in the list.
Thanx- FeejusBrass ContributorI attempted to download the "Beta" version but noticed that it was identical to the official build, exhibiting the same behaviour. As a temporary measure, I have uninstalled Edge. I'm hopeful that this issue will be resolved soon.
- markusiofceaCopper Contributor
I just installed 118.0.2088.46. I guess it was just released minutes ago. When I try to check for updates I still get the Error code:9.
I am starting to think that it is a backend issue. Not a client side problem.
- tsanchaiCopper ContributorSame here on my M1 MacBook Pro running Sonoma. Microsoft should fix this very simple error. So bad they just left it to occur
- beetlemanptmCopper ContributorI solved the problem by uninstalling Microsoft Edge for Mac from the Applications folder of my MacBook Pro then I deleted the Microsoft folder in the Library folder and deleting the EdgeUpdater folder which is in the Microsoft folder in the Application Support folder of my MacBook Pro. As a result, the "An error occurred. (Error code: 9) (Extra code:0)" error message no longer appears and a message that says "Microsoft Edge is now up to date" message appears.
- markusiofceaCopper Contributor
beetlemanptm I followed these steps. Didn't work for me. I still get the error code 9 on Edge Version 117.0.2045.55 when checking for updates.
On the update page it offers a learn more link which I clicked where it says to check if https://msedge.api.cdp.microsoft.com is reachable.
When I try to reach this URL it receive the following error:
This msedge.api.cdp.microsoft.com page can’t be found
No webpage was found for the web address: https://msedge.api.cdp.microsoft.com/
HTTP ERROR 404Maybe the problem is somewhere here.- Lucent_StarscapeCopper Contributor
I have submitted a ticket to Microsoft Edge team, but the solution they gave to me was useless and the problem still exists. Do you think if it is a bug that v117.0.2045.55 created? I wish developers would attach importance to this problem and solve it ASAP, because it is so annoying.