Skip Navigation
Show nav
Heroku Dev Center
  • Get Started
  • Documentation
  • Changelog
  • Search
  • Get Started
    • Node.js
    • Ruby on Rails
    • Ruby
    • Python
    • Java
    • PHP
    • Go
    • Scala
    • Clojure
  • Documentation
  • Changelog
  • More
    Additional Resources
    • Home
    • Elements
    • Products
    • Pricing
    • Careers
    • Help
    • Status
    • Events
    • Podcasts
    • Compliance Center
    Heroku Blog

    Heroku Blog

    Find out what's new with Heroku on our blog.

    Visit Blog
  • Log inorSign up
View categories

Categories

  • Heroku Architecture
    • Dynos (app containers)
    • Stacks (operating system images)
    • Networking & DNS
    • Platform Policies
    • Platform Principles
  • Command Line
  • Deployment
    • Deploying with Git
    • Deploying with Docker
    • Deployment Integrations
  • Continuous Delivery
    • Continuous Integration
  • Language Support
    • Node.js
    • Ruby
      • Working with Bundler
      • Rails Support
    • Python
      • Background Jobs in Python
      • Working with Django
    • Java
      • Working with Maven
      • Java Database Operations
      • Working with Spring Boot
      • Java Advanced Topics
    • PHP
    • Go
      • Go Dependency Management
    • Scala
    • Clojure
  • Databases & Data Management
    • Heroku Postgres
      • Postgres Basics
      • Postgres Getting Started
      • Postgres Performance
      • Postgres Data Transfer & Preservation
      • Postgres Availability
      • Postgres Special Topics
    • Heroku Data For Redis
    • Apache Kafka on Heroku
    • Other Data Stores
  • Monitoring & Metrics
    • Logging
  • App Performance
  • Add-ons
    • All Add-ons
  • Collaboration
  • Security
    • App Security
    • Identities & Authentication
    • Compliance
  • Heroku Enterprise
    • Private Spaces
      • Infrastructure Networking
    • Enterprise Accounts
    • Enterprise Teams
    • Heroku Connect (Salesforce sync)
      • Heroku Connect Administration
      • Heroku Connect Reference
      • Heroku Connect Troubleshooting
    • Single Sign-on (SSO)
  • Patterns & Best Practices
  • Extending Heroku
    • Platform API
    • App Webhooks
    • Heroku Labs
    • Building Add-ons
      • Add-on Development Tasks
      • Add-on APIs
      • Add-on Guidelines & Requirements
    • Building CLI Plugins
    • Developing Buildpacks
    • Dev Center
  • Accounts & Billing
  • Troubleshooting & Support
  • Integrating with Salesforce
  • Heroku Enterprise
  • Heroku Connect (Salesforce sync)
  • Heroku Connect Reference
  • Connection States Reference

Connection States Reference

English — 日本語に切り替える

Last updated November 21, 2022

Table of Contents

  • Connection States
  • Connection States When Creating a New Connection

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.

Keep reading

  • Heroku Connect Reference

Feedback

Log in to submit feedback.

Using Custom Triggers with Heroku Connect Heroku Connect API

Information & Support

  • Getting Started
  • Documentation
  • Changelog
  • Compliance Center
  • Training & Education
  • Blog
  • Podcasts
  • Support Channels
  • Status

Language Reference

  • Node.js
  • Ruby
  • Java
  • PHP
  • Python
  • Go
  • Scala
  • Clojure

Other Resources

  • Careers
  • Elements
  • Products
  • Pricing

Subscribe to our monthly newsletter

Your email address:

  • RSS
    • Dev Center Articles
    • Dev Center Changelog
    • Heroku Blog
    • Heroku News Blog
    • Heroku Engineering Blog
  • Heroku Podcasts
  • Twitter
    • Dev Center Articles
    • Dev Center Changelog
    • Heroku
    • Heroku Status
  • Facebook
  • Instagram
  • Github
  • LinkedIn
  • YouTube
Heroku is acompany

 © Salesforce.com

  • heroku.com
  • Terms of Service
  • Privacy
  • Cookies
  • Cookie Preferences