Skip to content
Learn › Help: open the docs menu

Fix Mammoth connection and data refresh failures

Project Admin · Updated 8 Nov 2026

A Live Connection (a saved link to a database, app or API that Mammoth reads at refresh time) can fail because credentials changed, the network blocked it, or the source changed. A failing connection shows Error on the Connections page, and the automation that used it shows Error with the reason in Last run result. Only a Project Admin can repair a connection. For pipeline and column errors after a source changes, see Fix errors after a source's columns change.

Read a connection's health status

Health comes from a daily check and from real reads and exports. See Manage saved connections.

StatusWhat it means
ConnectedThe last read worked
ErrorThe key expired, the source refused it, or Mammoth could not reach the source
UnknownNot checked yet

A revoked, rotated or expired credential fails the next refresh, and the Connectors launcher lists the connection under Needs attention with the reason key expired. Source downtime, network issues and rate limiting also fail the run; an unreachable source shows unreachable under Needs attention.

Fix an expired key or failed sign-in on a source connection

Import and export use separate credentials, so you fix them separately. When an import connection (PostgreSQL, MSSQL and other source connectors) loses authentication through an expired token, a rotated password or a revoked credential, the dataset refresh fails with an authentication error.

  1. Open the failed automation and read Last run result for the reason.
  2. Open the connection from Needs attention, or from the Connections page.
  3. Click Edit connection and enter a new key or sign in again (Project Admin only).
  4. Click Run now on the automation to confirm it works.

See Manage automations for what an Error status means on an automation.

Fix export credentials for a destination

An export fails when the destination's write credentials (PostgreSQL, BigQuery and other export destinations) have expired or been revoked. They are separate from any source connection.

  1. Open the export configuration and update the destination credentials.
  2. Click Validate Connection in the export form.
  3. Apply the change and re-run the export.

Mammoth manages the credentials for databases on the Mammoth Managed tab: contact support if those fail. See Send to destinations.

What happens when a refresh automation fails

  • Mammoth does not retry a failed run. Fix the cause, then click Run now instead of waiting.
  • A recurring schedule still runs at its next time. That is the schedule continuing, not a retry.
  • When one automation refreshes several datasets, Mammoth checks each connection separately, so some datasets can refresh while others fail.

Fix network and firewall problems

If a connection fails now and then and its credentials are valid, the cause may be the network.

  1. Confirm your database or service accepts connections on its port.
  2. Allow the Mammoth IP address shown in the connection form in your firewall.
  3. Check the port. The defaults are 5432 for PostgreSQL, 3306 for MySQL and 1433 for SQL Server, and you can use a custom port.

For a PostgreSQL server reachable only through a bastion host, open Connection options on the PostgreSQL form, tick Connect through an SSH tunnel, and fill in SSH host, SSH port, SSH user and SSH sign-in. See Allow Mammoth through your firewall for each connector's IP address and ports.

Fix refreshes that fail on a source's rate limit

If a source limits how often it accepts requests, refreshes fail until the limit resets. There is no automatic retry: the automation runs at its next scheduled time, or click Run now once the limit resets. To hit limits less often, spread automation schedules so refreshes don't hit the same source at once, and consolidate datasets where you can.

Where connection failures don't show up

The Activity Log records connections being created, edited or deleted, not a connection's health, so these failures don't appear there. Check the automation's status, Last run result and the error in the interface instead. See Activity log.

Webhooks push data into Mammoth instead of Mammoth pulling it, so they aren't covered here. See Receive data by webhook.

When to contact support about a connection

Contact support@mammoth.io when errors persist, or for help with IP address allow rules or SSH tunnel setup. Include the connector type, the exact error message from the notification or error indicator, and the steps you've already tried.

Was this page helpful?

Something wrong? support@mammoth.io