I got the same error. The ICS file is probably not valid. You can open it on other operating systems, but it's not working in Safari. Check if your ICS file is valid—I used this page to validate it: https://icalendar.org/validator.html.