Event types
backfill.failed
Artie sends this event when a backfill stops with an error. The payload carries the error and, for a table-level failure, the table.
Each delivery has severity set to error and message set to Backfill failed. To receive the event, select backfill.failed under Events on a webhook in Monitors > Webhooks.
Deliveries for one failure
A failure while Artie reads or writes a table’s rows, or prepares or completes the table in the destination, sends at least two deliveries. First come one or more with table, then one that reports the whole backfill with only error. A table read in parallel shards can send one delivery with table for each shard that fails.
Other failures send only the delivery with error, even when one table caused them. The table name may then appear only in the error text. These failures include:
- Artie can’t load the source table’s metadata or start scanning it, for example because the table doesn’t exist.
- Artie can’t create the destination table for an empty source table.
- Deduplication fails. Artie first sends
dedupe.failedwithtable.
A failure that is not tied to one table, for example when Artie can’t initialize the source or the destination, also sends one delivery with only error.
Properties that can be missing
error is in every delivery. Make your handler accept a payload without the other three properties.
| Property | Missing when |
|---|---|
table | The delivery reports the whole backfill. Its error text may still name the table that failed. |
schema | Any delivery. Backfill events never include it, even though the payload schema lists it. |
rows_written | No rows were written before the failure, table is missing, or the destination failed while preparing the table or during the final table swap. |
The example payload on this page doesn’t show a real delivery. It includes schema, and its error, read tcp connection reset by peer, is a transient error that Artie never delivers. The payload schema also marks table as required.
Failures that send no event
A backfill pod that runs out of memory sends oom.killed instead. A pod that stops before it reports its error, for example a crash, sends no event.
A cancelled backfill sends no event, for example when Artie shuts it down or when another table in the same backfill failed first. Artie also skips delivery when the error text matches a transient failure, for example connection reset by peer or context canceled. For retries and request headers, see Webhooks.
Payload
application/json
Backfill failed
delivery_metadataobjectrequiredShow child attributes
attemptintegerrequired1-based delivery attempt number for this event.
destinationstringrequiredDestination connector type (e.g. bigquery).
environment_namestringHuman-readable name of the environment. Omitted when the event has no environment.
environment_uuidstring<uuid> | nullUUID of the environment the event belongs to. Omitted when the event has no environment.
eventstringrequiredEvent type identifier (e.g. replication.failed).
messagestringrequiredHuman-readable summary of the event.
pipelinesobject[]requiredShow child attributes
namestringrequireduuidstring<uuid>required
propertiesobjectrequiredEvent-specific fields included in the
propertiesobject of a webhook delivery. The set of keys depends on the event type. Every field is optional; omitted keys should be treated as absent. Artie may add new fields at any time—clients must tolerate unknown keys and should not assume a fixed schema beyond this contract.Show child attributes
errorstringrequiredFull error string (scrubbed).
rows_writtenintegerRows written before the failure.
schemastringSchema containing the table whose backfill failed (scrubbed).
tablestringrequiredTable whose backfill failed (scrubbed).
severitystringrequiredSeverity of the event.
sourcestringrequiredSource connector type (e.g. postgresql).
source_reader_uuidstring<uuid>requiredtimestampstring<date-time>requiredTime the event occurred (RFC 3339).
{
"delivery_metadata": {
"attempt": 1
},
"destination": "snowflake",
"environment_name": "Production",
"environment_uuid": "33333333-3333-3333-3333-333333333333",
"event": "backfill.failed",
"message": "Backfill failed",
"pipelines": [
{
"name": "Production Postgres → Snowflake",
"uuid": "22222222-2222-2222-2222-222222222222"
}
],
"properties": {
"error": "read tcp connection reset by peer",
"rows_written": 420000,
"schema": "public",
"table": "orders"
},
"severity": "error",
"source": "postgresql",
"source_reader_uuid": "11111111-1111-1111-1111-111111111111",
"timestamp": "2026-06-20T12:00:00Z"
}Was this page helpful?
- Need help? Message us on Slack or email [email protected].
- Want a walkthrough? Book a demo.
- LLM? Read llms.txt.