:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
chore(warehouse-sources): match the rewritten ssh tunnel error in sync diagnosis (#99738)
posthog[bot]bee51419ec08
diff --git a/products/warehouse_sources/skills/diagnosing-failed-warehouse-syncs/SKILL.md b/products/warehouse_sources/skills/diagnosing-failed-warehouse-syncs/SKILL.mdindex 853de440e060..fe493107ba37 100644--- a/products/warehouse_sources/skills/diagnosing-failed-warehouse-syncs/SKILL.md+++ b/products/warehouse_sources/skills/diagnosing-failed-warehouse-syncs/SKILL.md@@ -88,18 +88,18 @@ almost certainly stuck, even though the status isn't `Failed`.Map the `latest_error` string to a root cause. Common patterns:-| Error substring | Root cause | Fix |-| ------------------------------------------------------------ | ---------------------------------------------------------- | ------------------------------------------------------------------------------------- |-| `authentication failed`, `401`, `403`, `invalid credentials` | Credentials expired or rotated | User rotates creds, then `external-data-sources-partial-update` with new `job_inputs` |-| `Could not establish session to SSH gateway` | SSH tunnel misconfigured or remote host down | User checks SSH host/key/bastion |-| `Primary key required for incremental syncs` | Table has no PK and sync_type is `incremental`/`cdc` | Either add PK in source, or switch schema to `full_refresh` |-| `primary keys for this table are not unique` | Declared PK columns aren't actually unique | Pick different PK columns via `partial-update` |-| `Integration matching query does not exist` | Source's saved integration was deleted | Recreate the source |-| `column "X" does not exist`, `does not have a column named` | Schema drift — incremental field or tracked column removed | Use `incremental-fields-create` to re-detect, then `partial-update` |-| `relation "..." does not exist` | Source table was dropped/renamed | Remove schema or rename source-side |-| `SSL`, `connection refused`, `timeout`, `unreachable` | Network / firewall / host reachability | User side — check host/port/allowlist |-| `replication slot`, `publication`, `wal_level` | CDC prerequisites broken | Run `check-cdc-prerequisites-create`; may need slot recreate |-| `Schema exceeds row limit`, `billing` | Billing limit | Upgrade plan or disable the schema |+| Error substring | Root cause | Fix |+| ------------------------------------------------------------------------------------ | ---------------------------------------------------------- | ------------------------------------------------------------------------------------- |+| `authentication failed`, `401`, `403`, `invalid credentials` | Credentials expired or rotated | User rotates creds, then `external-data-sources-partial-update` with new `job_inputs` |+| `Could not establish session to SSH gateway`, `Could not connect to your SSH tunnel` | SSH tunnel misconfigured or remote host down | User checks SSH host/key/bastion |+| `Primary key required for incremental syncs` | Table has no PK and sync_type is `incremental`/`cdc` | Either add PK in source, or switch schema to `full_refresh` |+| `primary keys for this table are not unique` | Declared PK columns aren't actually unique | Pick different PK columns via `partial-update` |+| `Integration matching query does not exist` | Source's saved integration was deleted | Recreate the source |+| `column "X" does not exist`, `does not have a column named` | Schema drift — incremental field or tracked column removed | Use `incremental-fields-create` to re-detect, then `partial-update` |+| `relation "..." does not exist` | Source table was dropped/renamed | Remove schema or rename source-side |+| `SSL`, `connection refused`, `timeout`, `unreachable` | Network / firewall / host reachability | User side — check host/port/allowlist |+| `replication slot`, `publication`, `wal_level` | CDC prerequisites broken | Run `check-cdc-prerequisites-create`; may need slot recreate |+| `Schema exceeds row limit`, `billing` | Billing limit | Upgrade plan or disable the schema |If `latest_error` is null but the schema is `Failed`, retrieve the schema directly — the error may only be populatedon the detail view.