Skip to navigation

ingestion.stalled

Fires when ingestion from a source Connection has been unhealthy for one hour by default. Ingestion is unhealthy when its runs fail or stop advancing toward the source’s latest position. Polytomic checks when an ingestion run finishes and sends this event once per stall. stalled_since can be well before the event’s created_at. The sync_id and sync_name fields are absent when ingestion belongs to the Connection.

Payload fields

FieldTypeAlways presentDescription
organization_idstring (UUID)YesOrganization ID
source_connection_idstring (UUID)YesSource connection ID
source_connection_namestringYesName of the source Connection
sync_idstring (UUID)NoBulk Sync ID, absent when ingestion belongs to the Connection
sync_namestringNoName of the Bulk Sync, absent when ingestion belongs to the Connection
stalled_sincestring (RFC 3339 timestamp)YesWhen ingestion became unhealthy
errorstringNoMost recent ingestion error

Example

This example shows a webhook delivery, with the fields above in event. See the events overview for the delivery format.

{
"id": "f4b95203-e037-53a5-b3df-811ec0bdbe10",
"created_at": "2024-01-01T02:00:00Z",
"type": "ingestion.stalled",
"event": {
"organization_id": "be80a27e-0e80-4dcb-bee9-1666f02eeb83",
"source_connection_id": "ad56197c-1bca-4256-a410-fb1ffde295c0",
"source_connection_name": "Production Postgres",
"sync_id": "dcc891b3-4a25-4b8b-bba8-48104cd66525",
"sync_name": "Postgres to Snowflake",
"stalled_since": "2024-01-01T00:00:00Z",
"error": "replication slot not found"
}
}