lfos / calcurse

A text-based calendar and scheduling application
https://calcurse.org
BSD 2-Clause "Simplified" License
989 stars 93 forks source link

Error while checking for OPTIONS at URL 403 Forbidden #488

Open AbeEtan opened 6 months ago

AbeEtan commented 6 months ago

Hello lovely people!

Everything is perfect. I am now stopped at this error. I have enabled this in my google settings but nothing.

org-caldav-check-dav: Error while checking for OPTIONS at URL https://apidata.googleusercontent.com/caldav/v2/myusername@gmail.com/events/: 403 Forbidden

image

Here is my config in my init.el file

;; Set up google calendar with org agenda
(package-install 'oauth2)
(package-install 'org-caldav)
(require 'org-caldav)
(setq org-caldav-oauth2-client-id "wefewfewfwefe.apps.googleusercontent.com")
(setq org-caldav-oauth2-client-secret "eferfewfefrefer")
(setq org-caldav-url 'google)
(setq org-caldav-calendar-id "myemail@gmail.com")
(setq org-caldav-files '("~/onedrive/RoamNotes/20231023001029-abe_calendar.org"))
(setq plstore-cache-passphrase-for-symmetric-encryption nil)

Please advise.

Thank you!

AbeEtan commented 6 months ago

Found the solution. You need to enable calDav API See here: https://github.com/dengste/org-caldav/issues/168

I also just realized that I posted this issue on the wrong repository! Sorry!