Got error after trying to connect to outlook calendar

Here is nylas response:
{“request_id”:“3644915744-e817a4f9-dc8f-4bb6-b6a4-74ca4c760233”,“error”:{“type”:“grant.login_id_invalid”,“message”:“Unable to get cached auth login data. Login ID (‘state’) might have expired or is already used”}}

Hi Anatoliy,

Looks like the Login ID (‘state’) might have expired or is already used. This typically happens when the OAuth state token expires before the authentication flow completes successfully. What they can do:

  • Retry the Microsoft account connection and complete the entire flow within 30 minutes and finish the authentication flow.

Common Causes:

  1. Taking longer than 30 minutes to complete the OAuth flow.
  2. Refreshing the page or clicking back during authentication.
  3. Opening the authorization link multiple times.
  4. Browser privacy settings blocking cookies.
  5. Network issues during the authentication.If the issue persists after following these steps, please let us know:
  • How long the user waits between starting and completing OAuth?

  • Whether they refresh/navigate during the flow

  • If this happens on every attempt

1 Like