Skip to content
This repository has been archived by the owner on Oct 13, 2020. It is now read-only.

org-gcal calendar id is nil, so API request fails #13

Open
taylor-gl opened this issue Oct 12, 2019 · 0 comments
Open

org-gcal calendar id is nil, so API request fails #13

taylor-gl opened this issue Oct 12, 2019 · 0 comments

Comments

@taylor-gl
Copy link

taylor-gl commented Oct 12, 2019

I'm trying to set up the google calendar layer for spacemacs. Even though my calendar id is set like this in my .spacemacs file:

(setq org-gcal-file-alist '(("[MY-CALENDAR-ID]@group.calendar.google.com" . "~/Dropbox/emacs/calendar.org")))
I get an error like this when I try to test out adding a calendar event by capturing from calfw:

condition-case: Before first headline at position 3045 in buffer *cfw-calendar* REQUEST [error] Error (error) while connecting to https://www.googleapis.com/calendar/v3/calendars/nil/events.

REQUEST [error] Error (error) while connecting to https://www.googleapis.com/oauth2/v3/token. (error http 404)

deferred error : (error "Got error 404: (error http 404)") deferred error : (error "Got error 401: (error http 401)")

I don't know why it's failing, but it looks like the word nil is being put into the url where the ID should go. Am I doing something wrong? Or is this an issue for anyone right now?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant