Only show these results:

Same server error

Sometimes, Nylas automatically stops accounts if they receive the same error from a mail server too many times. You might see an error from the Nylas API when making a modifying HTTP request, similar to the error message below.

{
"message": "This action can't be performed because the account's sync has been stopped. Please contact [email protected] to resume sync.",
"type": "invalid_request_error"
}

This may happen for one of two reasons:

Temporary issue

In this case, Nylas stopped the account because of a temporary issue. You can restart the account by downgrading it, then upgrading it (see the Account Management API documentation for more infomration).

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

Nylas queues the account to sync, and you can make requests within one minute.

Invalid credentials

In this case, Nylas stopped the account because its credentials were invalidated on the server, or the end user changed their password. Have the end user re-authenticate their account to restart the sync process.