Enable Stopped Accounts
Sometimes accounts are automatically stopped if they receive the same error from a mail server too many times. You might see an error from our API when making a modifying HTTP request.
"message": "This action can't be performed because the account's sync has been stopped. Please contact firstname.lastname@example.org to resume sync.",
The account was stopped because of a temporary issue. Restart the account by using the Account Management API to downgrade and upgrade the account. The account will be queued to sync, and you can make requests within a minute.
curl -X POST -u YOUR_APP_SECRET https://api.nylas.com/a/YOUR_APP_ID/accounts/ACCOUNT_ID/downgrade
curl -X POST -u YOUR_APP_SECRET https://api.nylas.com/a/YOUR_APP_ID/accounts/ACCOUNT_ID/upgrade
- The account sync was stopped because credentials were invalidated on the server or a user changed their password. Have the user re-authenticate their account to restart sync.