Google Calendar - API Integration

Hi,
I’m struggling with retrieving list of events for calendars other then primary. Also the primary calendar retrieves only 6 events while in my google calendar i have much more there.

This is the current API Connector setup:
Events:

Calendars:

No errors while testing in debug mode…

Also i used the the same setup while using Calendar from Google plugin and it was retrieving all events…

Would really appreciate any help!

For the limited events issue, Google Calendar API defaults to returning 250 results max but also has a maxResults parameter you can set explicitly. Try adding maxResults as a parameter in your API connector call and set it to something like 2500.

For the non-primary calendars, you need to pass the calendar’s ID (not just “primary”) in the calendarId parameter. You can get the calendar ID from Google Calendar settings — it usually looks like an email address. Make sure that field is dynamic in your API connector so you can swap it out per calendar.

What are you passing in for calendarId when you try to pull from a non-primary calendar?

Thanks for your help, i had maxResults set to 250 and dynamic calendarId. I’ve tried messed up with q parameter though and now it works :slight_smile:

Great find!