Reference

Troubleshooting

Common errors and how to resolve them, organized by where in the product they occur.

Warehouse connection errors

TEST_DATA_SOURCE_CONNECTION_FAILED

Cause: Lighthouse couldn't reach your warehouse with the credentials provided.

Fix: Double-check the credentials — especially account identifier format for Snowflake and service account JSON for BigQuery. Make sure the database user exists and has the correct permissions. If your warehouse requires IP-based allowlisting, contact support@lighthouseai.co for current IP ranges.

Snowflake: warehouse / database / schema mismatch

Cause: The values you entered don't match the session defaults Snowflake returns for that user.

Fix: Run SELECT CURRENT_WAREHOUSE(), CURRENT_DATABASE(), CURRENT_SCHEMA() as the Snowflake user you're connecting with. Make sure the fields in Lighthouse exactly match these values. If the user's default role doesn't have the right defaults, specify the role field.

BigQuery: dataset test failed

Cause: The service account doesn't have permission to access the specified dataset.

Fix: The service account needs three roles: BigQuery Data Viewer and BigQuery Job User at the project level, plus BigQuery Metadata Viewer on the specific dataset (dataset-level, not just project-level). Also confirm the dataset name is spelled correctly — BigQuery dataset names are case-sensitive.

Connection blocked — test not run

Cause: You tried to save a data source without running the connection test first.

Fix: Click Test Connection and wait for a green success state before saving.

Metric errors

INVALID_METRIC_DEFINITION

Cause: One or more required sections in the metric configuration are incomplete or have validation errors.

Fix: Look for red highlights in the metric builder — each incomplete section will be flagged. Common issues: no aggregation column selected, time window without a datetime column, or threshold conditions that are incomplete.

SCHEDULE_FREQUENCY_LIMIT_EXCEEDED

Cause: The metric's schedule is set to run more frequently than your plan allows.

Fix: Change the metric schedule to at least the minimum interval for your plan (4 hours on Free, 1 hour on Professional, 5 minutes on Enterprise). Or upgrade your plan.

LIVE_METRICS_LIMIT_EXCEEDED

Cause: You've reached the maximum number of active metrics for your plan.

Fix: Pause or delete metrics you're no longer actively using. Or upgrade to a plan with a higher limit.

DELETED_COLUMN / NOT_A_METRIC_COLUMN

Cause: A column referenced in the metric definition was removed from the dataset, or its role was changed so it's no longer valid.

Fix: Open the metric builder and re-select a valid column. The invalid column will be flagged with a warning. Update the dataset column roles if needed.

WRONG_QUERY_RESULT_FOR_METRIC

Cause: The metric query returned the wrong number of rows or is missing expected columns.

Fix: For SQL metrics: verify your query returns exactly one row per segment combination. For Business metrics: check that the time window and filters are producing the expected result by running a preview query.

DUPLICATE_SEGMENTS_IN_RESULT

Cause: The metric query returned duplicate segment keys — two or more rows with the same combination of segment column values.

Fix: For SQL metrics: ensure your GROUP BY clause correctly produces unique segment combinations. For Business metrics: check that the segment columns you selected have unique values per time window.

QUERY_EXECUTION_FAILED

Cause: The warehouse returned an error when Lighthouse ran the metric query.

Fix: Check your warehouse query logs for the specific SQL error. Common causes: table or column was renamed or dropped, the warehouse user lost permissions, or the warehouse was paused (Snowflake auto-suspend).

METRIC_RUN_ON_PAUSED_DATA_SOURCE / DATASET

Cause: A metric tried to run but its parent data source or dataset is paused.

Fix: Resume the data source or dataset from the respective settings page. The metric will resume on its next scheduled run.

Slack errors

COMMUNICATION_SOURCE_CHANNEL_NOT_FOUND

Cause: The Slack channel selected for this metric no longer exists or the Lighthouse bot was removed from it.

Fix: Re-select a valid channel in the metric's notification settings. If using a private channel, ensure the Lighthouse bot is still a member of that channel (invite it in Slack with /invite @Lighthouse).

COMMUNICATION_SOURCE_TOKEN_EXPIRED / INVALID

Cause: The Slack OAuth token for your workspace has expired or been revoked.

Fix: Go to communication sources settings and reconnect your Slack workspace via OAuth.

Plan and quota errors

See the Plans & Billing page for metric limit and frequency limit errors (LIVE_METRICS_LIMIT_EXCEEDED and SCHEDULE_FREQUENCY_LIMIT_EXCEEDED).

Still stuck?

If you're hitting an error that's not listed here, reach out to support@lighthouseai.co. Include the error code, the warehouse type, and a brief description of what you were doing when the error appeared.

Note
Enterprise plan customers have access to dedicated SLA support with a guaranteed response time. Professional plan customers receive priority support.