Skip Navigation
Show nav
Dev Center
  • Get Started
  • Documentation
  • Changelog
  • Search
  • Get Started
    • Node.js
    • Ruby on Rails
    • Ruby
    • Python
    • Java
    • PHP
    • Go
    • Scala
    • Clojure
    • .NET
  • 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
    • Compute (Dynos)
      • Dyno Management
      • Dyno Concepts
      • Dyno Behavior
      • Dyno Reference
      • Dyno Troubleshooting
    • Stacks (operating system images)
    • Networking & DNS
    • Platform Policies
    • Platform Principles
  • Developer Tools
    • Command Line
    • Heroku VS Code Extension
  • Deployment
    • Deploying with Git
    • Deploying with Docker
    • Deployment Integrations
  • Continuous Delivery & Integration (Heroku Flow)
    • Continuous Integration
  • Language Support
    • Node.js
      • Working with Node.js
      • Node.js Behavior in Heroku
      • Troubleshooting Node.js Apps
    • Ruby
      • Rails Support
      • Working with Bundler
      • Working with Ruby
      • Ruby Behavior in Heroku
      • Troubleshooting Ruby Apps
    • Python
      • Working with Python
      • Background Jobs in Python
      • Python Behavior in Heroku
      • Working with Django
    • Java
      • Java Behavior in Heroku
      • Working with Java
      • Working with Maven
      • Working with Spring Boot
      • Troubleshooting Java Apps
    • PHP
      • PHP Behavior in Heroku
      • Working with PHP
    • Go
      • Go Dependency Management
    • Scala
    • Clojure
    • .NET
      • Working with .NET
  • Databases & Data Management
    • Heroku Postgres
      • Postgres Basics
      • Postgres Getting Started
      • Postgres Performance
      • Postgres Data Transfer & Preservation
      • Postgres Availability
      • Postgres Special Topics
      • Migrating to Heroku Postgres
    • Heroku Key-Value Store
    • Apache Kafka on Heroku
    • Other Data Stores
  • AI
    • Working with AI
    • Heroku Inference
      • Inference API
      • Quick Start Guides
      • AI Models
      • Inference Essentials
    • Vector Database
    • Model Context Protocol
  • Monitoring & Metrics
    • Logging
  • App Performance
  • Add-ons
    • All Add-ons
  • Collaboration
  • Security
    • App Security
    • Identities & Authentication
      • Single Sign-on (SSO)
    • Private Spaces
      • Infrastructure Networking
    • Compliance
  • Heroku Enterprise
    • Enterprise Accounts
    • Enterprise Teams
    • Heroku Connect (Salesforce sync)
      • Heroku Connect Administration
      • Heroku Connect Reference
      • Heroku Connect Troubleshooting
  • 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
  • Support Channels
  • Status

Language Reference

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

Other Resources

  • Careers
  • Elements
  • Products
  • Pricing
  • RSS
    • Dev Center Articles
    • Dev Center Changelog
    • Heroku Blog
    • Heroku News Blog
    • Heroku Engineering Blog
  • Twitter
    • Dev Center Articles
    • Dev Center Changelog
    • Heroku
    • Heroku Status
  • Github
  • LinkedIn
  • © 2025 Salesforce, Inc. All rights reserved. Various trademarks held by their respective owners. Salesforce Tower, 415 Mission Street, 3rd Floor, San Francisco, CA 94105, United States
  • heroku.com
  • Legal
  • Terms of Service
  • Privacy Information
  • Responsible Disclosure
  • Trust
  • Contact
  • Cookie Preferences
  • Your Privacy Choices