Performance Issue: Slow Event Fetching from Outlook Integration

I’m integrating our application with Nylas to fetch calendar events from both Google and Outlook, using the following endpoint :
https://api.eu.nylas.com/v3/grants/$grantId/events

I’ve observed a significant performance difference between the two providers:

  • Fetching events from Outlook frequently takes 20 seconds or longer, even when requesting events over just a one-month period and when the calendar contains very few or no events.

  • Fetching events from Google Calendar is consistently fast and responsive under identical conditions.

Could you help me understand the reason behind these slow responses specifically from Outlook, or suggest improvements to enhance performance?
Thanks a lot

Hi @Niroz thanks for posting.

So from your experience, fetch Outlook events takes significantly longer compared to Google Calendar events. For the Outlook request - does it make a different if fetching fewer days?

Also, could you share the entire call to the endpoint, as a code sample?

Also, it will be useful to try out field selection to reduce the response data size.