Hi everyone,
I’m using the Nylas SDK to fetch all events from my connected Google Calendar, but I’m only getting 31 events in the response. Additionally, the response does not include a next_cursor
key, so I’m unable to paginate further.
Here’s how I’m making the request:
events = await nylas.events.list({
identifier: grantId,
queryParams: {
calendarId: cid,
limit: 200,
},
});
I expected to receive up to 200 events or at least a next_cursor
for pagination, but that’s not happening. Has anyone encountered this issue before? Any suggestions on how to retrieve all events?
Thanks in advance!