-
-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Parsed 0 events from ical sources" from Moodle Calendar URL export #177
Comments
The URL returns an empty calendar. Does it require some additional type of authentication? |
I don't think it requires any additional authentication since the link downloads the icalexport.ics file if I try the link in incognito but it didn't work when I import through URL in Google Calendar and GAS. The body response I got from postman is this:
|
So it looks like the ICS is being returned, but is empty. I would expect an auth issue would mean you get nothing back. Maybe something isn't set up properly for publishing in Moodle? Or maybe there's no events that match the "filters" you have in the URL (
Likely not an issue - a URL doesn't have to end in ".ics" or ".ical" to be a valid calendar.
Are you willing to share this? |
I see this, are you referencing those directions? https://docs.moodle.org/310/en/Using_Calendar#Dynamic_Link_to_Moodle_Calendar |
Yes
Okay I felt silly for not being thorough. I didn't realise that there were a size difference in ics file when I try in incognito and when I try it while logged into my Moodle. It does require an authentication to get the events Here's the result
|
Ok, may be related to #157? I might contact you later to test out that feature |
I did a quick test on the Moodle Demo Page and the export link created on there seems to work fine regardless of incognito mode on/off. As this does not look like a general Moodle problem maybe the admins of your uni's webpage can help you out with this one. |
I think this can help with this issue. |
Hi, I'm trying to import a Moodle calendar URL link into the script but it did not fetch any events from the url
URL:
https://smartv3.ums.edu.my/calendar/export_execute.php?userid=50129&authtoken=3240f8f614fb86a8445eda299e87fd6a85ca5afd&preset_what=all&preset_time=recentupcoming
Log:
When I input the URL in the browser, it downloads the .ics file and I'm able to import it to Google Calendars with the events, but when I use the URL directly in Calendar, it couldn't find any events. I also noticed that the URL is not in iCal format, so I'm not sure if that is the cause.
The text was updated successfully, but these errors were encountered: