Given a subscribed calendar with a url like
https://example.com/example.ics
To force Google Calendar to refresh and reload the contents right now, unsubscribe from the calendar and subscribe to a new calendar with a URL like
https://example.com/example.ics#1
Adding the anchor tag will force Google Calendar to think of it as a new calendar
Many people who come to this gist are not looking for a one time forced refresh but instead to refresh recurringly. If that's you, you should check out @derekantrican 's Google App Script
https://github.com/derekantrican/GAS-ICS-Sync
Which can refresh a calendar automatically every N minutes
Thanks to @rattrayalex for pointing people to this script
Hello everyone. So I installed the script and it was working with very few errors on the first few days. Now it's at a 95% error rate and not syncing my calendars as it was before. Any ideas why this would happen? Have others experiecned this? I'm assuming the code/script is up to date?
The error for failed attempt is as follows:
Error DNS error: http://icsUrl1 at callWithBackoff(Helpers:939:9) at fetchSourceCalendars(Helpers:80:5) at startSync(Code:159:21)