Skip to contentManaged Kafka is live: Apache Kafka on AWS for half the cost of MSK

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.failed with table.

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.

PropertyMissing when
tableThe delivery reports the whole backfill. Its error text may still name the table that failed.
schemaAny delivery. Backfill events never include it, even though the payload schema lists it.
rows_writtenNo 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_metadataobjectrequired
    Show child attributes
    • attemptintegerrequired

      1-based delivery attempt number for this event.

  • destinationstringrequired

    Destination connector type (e.g. bigquery).

  • environment_namestring

    Human-readable name of the environment. Omitted when the event has no environment.

  • environment_uuidstring<uuid> | null

    UUID of the environment the event belongs to. Omitted when the event has no environment.

  • eventstringrequired

    Event type identifier (e.g. replication.failed).

    Available options: backfill.failed

  • messagestringrequired

    Human-readable summary of the event.

  • pipelinesobject[]required
    Show child attributes
    • namestringrequired
    • uuidstring<uuid>required
  • propertiesobjectrequired

    Event-specific fields included in the properties object 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
    • errorstringrequired

      Full error string (scrubbed).

    • rows_writteninteger

      Rows written before the failure.

    • schemastring

      Schema containing the table whose backfill failed (scrubbed).

    • tablestringrequired

      Table whose backfill failed (scrubbed).

  • severitystringrequired

    Severity of the event.

    Available options: info, warning, error

  • sourcestringrequired

    Source connector type (e.g. postgresql).

  • source_reader_uuidstring<uuid>required
  • timestampstring<date-time>required

    Time the event occurred (RFC 3339).

Example payload
{
  "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?