Handling Scheduler Reauthentication
This article will help you:
- Learn why customers need to reauthenticate
- How to reauthenticate customers
When a customer re-authenticates their account, or their account has their tokens and permissions revoked, Nylas's Scheduler access tokens will be invalid.
The Scheduling Page will return the "Sorry, we were unable to find any calendars" error .
Invalid Tokens
To fix this, make a GET request to https://api.schedule.nylas.com/manage/pages
, with the account's newest access token after they reauthenticate.
curl -X GET https://api.schedule.nylas.com/manage/pages -H "Authorization: Bearer {MOST_RECENT_ACCESS_TOKEN}"
No Calendars Selected
Changing the calendar names can also cause this error. Confirm valid entries by navigating to Calendars in the Schedule Editor.