Google Calendar Query

458 views
Skip to first unread message

Casey Zandbergen

unread,
Apr 13, 2016, 8:36:23 PM4/13/16
to Node-RED
I am attempting to query a google calendar but I am getting the following error:

failed to fetch calendar list: [object Object]

The documentation indicates I should be able to leave the Google Calendar Query node blank and it should retrieve the next event in the calendar.

Here is the flow I am using.  Any help is appreciated.

[{"id":"461049a2.6f89d8","type":"inject","z":"cf014d84.65562","name":"","topic":"","payload":"Event","payloadType":"str","repeat":"","crontab":"","once":false,"x":198,"y":451,"wires":[["ce3320a1.480d3"]]},{"id":"1afb97ae.c2a5a8","type":"debug","z":"cf014d84.65562","name":"","active":true,"console":"false","complete":"true","x":740,"y":454,"wires":[]},{"id":"ce3320a1.480d3","type":"google calendar","z":"cf014d84.65562","google":"","name":"","calendar":"","x":417,"y":440,"wires":[["1afb97ae.c2a5a8"]]}]

Mark Setrem

unread,
Apr 15, 2016, 6:55:39 AM4/15/16
to Node-RED
I only use the Google Calendar node with a specified calendar - can you point to the node-red documentation that suggests you can leave the calendar name blank?

From memory I pretty sure you need to have enabled access to the Google+ Api as well as the Google Calendar API for it to work.


Casey Zandbergen

unread,
Apr 15, 2016, 10:59:20 AM4/15/16
to Node-RED
See under the Calendar Query here http://flows.nodered.org/node/node-red-node-google.

I have both of the mentioned API's enabled and am able to connect.

Mark Setrem

unread,
Apr 15, 2016, 11:06:29 AM4/15/16
to Node-RED
Thanks I'd not noticed that before. Have you tried defining a calendar and seeing if that works?

Casey Zandbergen

unread,
Apr 15, 2016, 11:48:38 AM4/15/16
to Node-RED
Yes, adding a calendar name yields the same result.


On Wednesday, April 13, 2016 at 7:36:23 PM UTC-5, Casey Zandbergen wrote:

Sebastian Lehrbaum

unread,
Dec 11, 2016, 2:55:55 PM12/11/16
to Node-RED
For those who are finding this post, like me, enabling the calendar api under https://console.developers.google.com/apis/api/calendar/overview solved it for me.
Reply all
Reply to author
Forward
0 new messages