Connection States Reference
Last updated November 21, 2022
Table of Contents
A connection’s state indicates its current health and status of Heroku Connect operations. You can check your connection’s state via the Heroku Connect dashboard, CLI, or API.
The connection state doesn’t indicate the status of your individual writes to Salesforce. See Understanding the Trigger Log for more info on those states.
Connection States
State Returned by the Connect API or CLI Plugin | Status in the Connect Dashboard | Description |
---|---|---|
IDLE |
OK | Your connection is working properly but not currently checking for changes. |
POLLING_DB_CHANGES |
Polling DB | Connect is polling Postgres for changes to write to Salesforce. |
PAUSED |
Paused | A user manually paused the connection. Resume synchronization in the Heroku Connect dashboard. |
RECOVERY |
Re-enabling | Heroku Connect is recovering sync after a user reauthorized the connection. You can also manually trigger a recovery. |
IMPORT_CONFIGURATION |
Importing config | Connect is importing configuration info from a JSON file. |
SYSTEM_ERROR |
Unexpected error | Connect encountered an unexpected error that interrupted synchronization. Resume synchronization. If the underlying problem persists, check your connection’s logs for any further details. If you’re unable to resolve the issue, please contact Heroku Support for investigation |
DB_UNAVAILABLE |
DB Unavailable | Connect is unable to connect to the Postgres database. Check that the database responds and is set as the correct config var for the app. Resume synchronization in the Heroku Connect dashboard. |
TOO_MANY_ROWS |
Overlimit | You’ve exceeded the authorized number of rows for your Heroku Connect license. Contact sales to purchase a larger license. |
UNAUTHORIZED |
SF Auth Failed | Authorization to Salesforce has expired. Reauthorize Heroku Connect to access your Salesforce data. |
HEROKU_UNAUTH |
Heroku Auth failed | Authorization to the Heroku Postgres database failed. Check your database settings for Connect, reauthorize and resume synchronization. |
INACTIVE_ORG |
Inactive org (sandbox refresh) | Your Salesforce org is inactive or you’ve refreshed your sandbox. Recreate the connection to an active org or refreshed sandbox. |
DESTROY_CONNECTION |
Deleting | Connect is deleting the connection. |
SYSTEM_ON_ICE |
Disabled | Connect disabled your demo connection after 31 days of inactivity. This limit applies to demo plans only. Contact Heroku Support to re-enable your connection. |
Connection States When Creating a New Connection
State Returned by the Connect API or CLI Plugin | Status in the Connect Dashboard | Description |
---|---|---|
NEW |
Creating | Connect is creating a new connection to the Postgres database. |
WAITING_FOR_DB |
Waiting for db connectivity | Connect is waiting to connect to the database. |
CONNECTION_SETUP |
Provisioning | Connect is setting up the connection to Salesforce. |
BAD_PROVISION |
Failed provisioning | Connect encountered an error during provisioning. Check that the database responds and is set as the correct config var for the app. |
NEED_AUTHENTICATION |
Missing SF Auth | Connect is missing your Salesforce authentication info. Check your Salesforce authentication info and reauthorize Heroku Connect. |