Database Connection Failure Pattern
criticalConnection ManagementUpdated Feb 19, 2026
Detects recurring database authentication or connection errors that prevent dbt from executing, often caused by expired credentials, network issues, or permission changes.
Sources
Technologies:
How to detect:
Monitor for Runtime Errors containing 'Failed to connect', 'authentication has expired', or 'Database error' messages in dbt logs. Track frequency of connection timeouts or authentication failures across job runs.
Recommended action:
Run dbt debug to validate connection settings and credentials in profiles.yml. Verify database user permissions, check IP whitelisting rules, and re-authenticate OAuth tokens if applicable. Review warehouse availability and network connectivity.