cal.com
cal.com copied to clipboard
[CAL-417] “e is undefined” error when adding CalDAV
Issue Summary
I see the following error when trying to add a Nextcloud CalDAV url to my cal.com account. Note: I already added another CalDAV Nextcloud calendar and everything went smoothly.
Steps to Reproduce
- Click on “add CalDAV” calendar in
https://app.cal.com/apps/installed/calendar?hl=caldav-calendar
- Trying to add two different URLs:
https://nuvola.scambi.org/apps/calendar/p/zogAXYXHjYHwksDp
(public calendar link) andhttps://nuvola.scambi.org/remote.php/dav/principals/users/tommi/
- The error I shared pops up
Related to #3457
From SyncLinear.com
Thanks for the report. I'll add it to the list 🙏
Same issue here against a https://sabre.io/baikal/ server
Hey @larseggert could you please provide me with steps to reproduce the error? Thanks
Hey @xplosionmind Could you please create a test account and share credentials with me so that I can test it locally? Thanks 🙏
I have the same problem with my Nextcloud calendar.
My steps to reproduce:
- Install a nextcloud instance with the setup-nextcloud.php from the community: https://nextcloud.com/install/ DOWNLOAD Server --> COMMUNITY PROJECTS --> Web installer
- On your installed Nextcloud platform, go to the Calendar: /index.php/apps/calendar/dayGridMonth/now
- On the bottom left, click on "calendar settings"
- Click on "copy CalDAV address"
- This gives you something like this: https://yourownnextcloudurl/remote.php/dav
- Switch to your cal.com account: /apps/caldav-calendar
- Click on install app
- Fill in the url from step 5.
- Fill in your nextcloud login credencials
- Boom, same error message "e is undefined".
PS: The same CalDAV sync with my nextcloud calendar was successful for my android calendar, with DAVx5: https://docs.nextcloud.com/server/latest/user_manual/en/groupware/sync_android.html#with-the-nextcloud-mobile-app
Does this information help you or is there anything else i can do?
Greetings
Update: The error message "e is undefined" comes in Firefox, in Microsoft Edge this error appears: "Cannot destructure property 'auth' of 'e' as it is undefined."
https://github.com/calcom/cal.com/issues/6697
Could you please create a test account and share credentials with me so that I can test it locally?
Hi @alishaz-polymath, sure! But I do not understand, do you want me to create a test account on the CalDAV server or on cal.com, or both?
just the CalDAV server @xplosionmind Essentially, I'll connect to that account in a local instance of Cal.com and run diagnostics to see what's going on. 🙏
Ok, I did it. Where could I share the credentials privately?
Ok, I did it. Where could I share the credentials privately?
You can send them over to [email protected]
Thanks :)
Any news on that?
Hey guys, just an update that we're going through revamping the CalDAV integration as it is quite unpredictable at the moment. I'll report back once there's more to add. 🙏
Hey @xplosionmind Just as a FYI, I'm currently working on re-building CalDAV setup from scratch, so this might take a bit of time. We're currently planning to fully support iCalendar 2.0 (RFC-5545) as that seems to be a more robust solution altogether. 🙏 I'll keep you guys posted here as I progress. Thank you for your wait in the mean time 🙌