Mac calendar app (iCal) displays error message “server responded with an error”

apple.stackexchange https://apple.stackexchange.com/questions/338085

  •  20-05-2021
  •  | 
  •  

Domanda

After upgrading to Mojave, the mac calendar app displays the following error when starting the app.

"server responded with an error"

Is this a problem with Mojave and the gmail server? The error message does not give any further details on the cause of the error.

When I use the mac email app, everything works as it should with receiving and sending emails through gmail.

The attached screen shot shows the error in detail. Error displayed when starting iCal app

È stato utile?

Soluzione

Try following sequence.

In System Preferences, Internet Accounts, deselect all Calendars to stop the sync.

Wait for a while for the process to stop.

Than click on the "Revert to Server"

enter image description here

Re enable Calendars.

Altri suggerimenti

You may need to empty your iCalendar cache. You can find detailed instructions online, but the main points are:

  1. Backup your iCalendar data, particularly if you have locally stored data.
  2. Delete cache files in /Users/$USER/Library/Calendars/ -- basically files with the word "Cache" in the title; there were 3 or 4 files when I did it.
  3. Open iCalendar and reconnect.

Note: This persistent error seemed to start for me when I was performing a Calendar action and had a hard network failure while the action was in progress.

I tried the answers posted here with no success. But seems that what have made the Calendar work again, was removing the accounts from the Internet Accounts, restarting the system, and then adding them again.

The entire process was a sum of of the answers here, plus the accounts removal. It was something like this:

  1. Quit Calendar, and kill the CalendarAgent process;
  2. Delete the "Cache" files from ~/Library/Calendars;
  3. Go to Internet Accounts, disable everything;
  4. Restart the laptop;
  5. Go to Internet Accounts again, and remove all accounts;
  6. Restart the laptop;
  7. Go to Internet Account for the third time, and add back all your accounts;
  8. Restart the laptop;
  9. Hopefully Calendar will be working again as mine did and is still doing.

Note 1: Before this whole process, I also tried to delete every file from the ~/Library/Calendars, and that didn't help anything.

Note 2: all my accounts are Google accounts and I didn't backup anything. I have no iCloud or local calendars.

By deleting all Cache files in the Calendar Libraries (in Catalina), I compromised the software and now iCal no longer runs. I used Terminal cuz I didn't see files via Finder. Careful with deleting files if you are not familiar with the system

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a apple.stackexchange
scroll top