Airbyte Implementation Mistakes: Syncs, Schemas and Recovery

An Airbyte implementation needs to prove that source changes arrive with the right identity, ordering and meaning. A successful job does not establish that a report is correct. Test inserts, updates, deletions, repeated delivery and schema changes before connecting the output to revenue reporting or customer activation, and plan recovery before you need it.

Jafrin Akter AloLast updated 12 min read
On this page
A white zipper joins lime and pink tracks beside the headline Fix Airbyte Sync Mistakes, illustrating consistent data alignment.

The useful unit of review is the stream. A single connection can contain streams with different keys, update behavior and historical requirements. Treating them all as interchangeable tables is how a working integration produces a misleading dashboard.

Start with one important consumer: perhaps the account health report or a renewal audience. Write down what one row means and which source changes must alter the result. Our warehouse and CDP implementation work connects that business definition to the extraction, modeling and validation rules. The following checks help you do the same in your own deployment. Repeat the tests against your exact source, destination and connector versions.

Prioritize missing changes, duplicate business entities and destructive recovery before tuning the schedule.

Airbyte Implementation Mistakes: Syncs, Schemas and Recovery
SymptomFirst evidence to inspectRepair to testAcceptance result
Source update never arrivesSource cursor before and after that operationA supported cursor or extraction methodThe corrected value arrives within the deadline
Customer or revenue total grows on replayBusiness key and version orderingCurrent-state deduplicationReplaying identical input leaves the result unchanged
Recovery empties an audienceSource retention and chosen recovery operationBounded refresh with consumer protectionComplete history and intended memberships reconcile

Which Airbyte sync mode produces the table you need?

Choose the mode from the required output grain and history. Airbyte separates source reading from destination writing. Incremental reading, full refresh, append and deduplicated output solve different problems. Available combinations depend on the source, destination and stream. Check the sync-mode documentation alongside your connector's capabilities.

Before selecting a mode, complete this sentence: “The downstream table contains one row per ___, representing ___.”

For a current subscription report, the blanks might be “subscription” and “its most recent known state.” For an audit analysis, they might be “subscription change” and “the state observed at that change.” Those are different datasets. Counting every appended version as a separate current subscription inflates customers and recurring revenue.

Avoid treating a replicated observation as a complete audit trail. If a source changes several times between polls, the API may expose only the latest state. A warehouse can preserve everything it received without preserving everything that ever happened.

Use a current-state model for operational reporting and a separately defined history model where the source supports the required evidence. If you are still selecting ingestion, use a Fivetran and Airbyte pilot plan to compare the same source changes before committing. The MRR modeling guide explains why this distinction matters for subscription metrics.

Why can an incremental sync miss a source update?

An incremental sync can miss an update when the source cursor does not advance for that change. A cursor determines which records an incremental read considers new or updated. Airbyte's incremental append documentation warns that updates can be missed if the cursor field is not updated. It also describes at-least-once delivery and inclusive cursors, which can resend records.

A field called updated_at is not proof that every relevant operation updates it. Application imports, administrative corrections and related-object changes may follow different paths.

For a test record in a nonproduction environment, exercise the actual operations the business uses:

  1. Create the record and confirm its initial arrival.
  2. Change a field used in reporting and confirm that the source cursor changes.
  3. Change it through a bulk import or administrative path, if one exists.
  4. Apply two changes within the cursor's smallest time unit.
  5. Run another sync with no further source changes and inspect repeated delivery.

Record the source value, source cursor and destination value for each step. If a change does not advance the cursor, changing the schedule alone will not repair the extraction logic. You need a supported alternative, such as a different source endpoint, an appropriate lookback or a connector's CDC mode where available. For a PostgreSQL source, the CDC snapshot, identity and WAL checks explain the source-side requirements behind that alternative.

The CRM to warehouse sync options guide shows why cursor coverage, deletions and source-specific history need separate tests.

Do not invent a universal lookback duration. Measure how late your source corrections arrive, then test a window that covers the requirement without creating unmanageable rereads. Late-arriving data also needs downstream correction rules, not just another extraction.

Which key prevents repeated delivery from inflating revenue?

Use the source business key at the intended grain, with a valid version rule. Airbyte documents _airbyte_raw_id as a random identifier for an incoming record. It is not a replacement for a source order, account or subscription key. The metadata reference also distinguishes extraction time from loading time and notes that some destinations do not populate the latter.

A repeated source record can arrive with a different delivery identifier. If your model treats that identifier as the customer key, it will manufacture new customers every time the source is reread.

Choose a stable key at the grain you need. An order-line stream needs a line-level key or a validated combination, not just the order ID. A multi-account integration may need the source account identifier as part of the key when IDs are only unique within an account.

The following fictional fixture can run in SQLite or a compatible SQL engine. It illustrates deduplication without querying or changing a real warehouse. source_version is an assumed ordering field supplied by this example; it is not an Airbyte column that every connector provides. The fictional amounts are in USD.

SQL
WITH delivered (
  source_account, order_id, source_version, amount
) AS (
  VALUES
    ('store-a', 'order-7', 1, 80),
    ('store-a', 'order-7', 2, 100),
    ('store-a', 'order-7', 2, 100),
    ('store-b', 'order-7', 1, 50)
), ranked AS (
  SELECT *, ROW_NUMBER() OVER (
    PARTITION BY source_account, order_id
    ORDER BY source_version DESC
  ) AS version_rank
  FROM delivered
)
SELECT SUM(amount) AS current_amount
FROM ranked
WHERE version_rank = 1;

The current total is USD 150; the fixture was executed locally in SQLite and returned that value. Summing the delivered rows produces USD 330. Deduplicating only on order_id would also be wrong because two stores reuse the identifier.

The equal highest versions in this fixture are identical. In production, conflicting rows with the same ordering value require an explicit tie rule or an exception to investigate. An arbitrary winner is not a reliable financial definition. Deletions also require their own source-specific handling; this simple example does not implement tombstones.

How do you prove that deletions reach the downstream model?

Test an actual deletion and inspect the source signal, replicated row and downstream outcome. A row that disappears from an API response is not necessarily sent as a deletion event. It may be outside the requested date range, hidden by permissions, archived, filtered or absent because the source is temporarily incomplete.

For every important entity, document the difference between:

  • A source that emits a deletion marker.
  • A complete snapshot whose absence can be interpreted under agreed rules.
  • An incremental endpoint that stops returning deleted records.
  • A source that intentionally expires history.

Then perform one deletion test in a safe environment. Inspect the source response and destination behavior, rather than inferring support from the presence of a sync mode.

For a customer audience, keeping a deleted or ineligible record can trigger an inappropriate message. For historical revenue, deleting an old transaction from the reporting model may erase a legitimate past result. The correct downstream response depends on the business object and retention requirements.

If you need to reconstruct current membership from snapshots, first prove each snapshot is complete. A partial extraction should fail validation, not quietly remove thousands of customers from an active audience.

Why is a new column empty on older records?

A new column can remain empty on older rows until they change or a backfill populates them. Airbyte's schema change documentation describes separate propagation and backfill behavior. Without a backfill, a new field may populate only when existing rows are updated. Removing a cursor or primary key is a breaking change that pauses the connection for review.

Suppose a business adds an account segment field. If only recently changed accounts receive it, a report may show apparently strong performance for the new segment while older accounts remain unknown. That is a coverage problem before it is a marketing insight.

For a new field, measure its population by record age. Compare newly created, recently updated and long-unchanged records. Ask whether null means genuinely unknown, not applicable or not yet backfilled. Those meanings should not be merged automatically.

Airbyte's automatic new-column backfill requires automatic propagation and detection during a sync. Manually refreshing and applying the schema does not trigger that automatic backfill. The documented Cloud exemption covers affected streams containing new or renamed columns; other streams in the same sync remain normally billed, and destination compute can still cost money. Backfill settings.

Choose how changes are reviewed based on downstream consequences. A raw exploration dataset may tolerate automatic additions. A customer activation model needs a named reviewer when a new field changes eligibility. A stopped sync also needs an owner who understands how quickly the affected audience becomes stale.

Read connector migration notes before its upgrade cutoff and replay the same acceptance fixtures. Assign an owner for renamed fields, changed keys and reauthentication; a new version needs the same business reconciliation as the original connection.

Can a successful Airbyte job still contain invalid values?

Yes. A destination may accept a record while changing a field it cannot represent. Airbyte's metadata documentation describes _airbyte_meta.changes, which can record modifications such as a value being written as null after a serialization problem.

Monitor fields according to their consequence. A null campaign description is different from a null transaction amount or customer key. Set checks for required keys, numerical validity, allowed statuses and unexpected null growth in critical columns.

When a check fails, retain a small redacted sample, the stream, connector version and sync reference. Compare the source value to the replicated value and to the modeled output. That identifies whether the problem began during extraction, destination conversion or transformation.

Do not turn every null into zero to make a chart render. Zero revenue and unknown revenue lead to different decisions. Keep the exception visible and decide whether the report can publish with a qualification or must wait for correction.

When should you use Refresh instead of Clear?

Use a supported Refresh when the required recovery can retain queryable data; Clear intentionally empties the selected destination data. Airbyte's Clear documentation says the operation removes destination records and creates data downtime. If the source no longer retains the historical data, another sync may not recover it.

A supported Refresh keeps prior data queryable until successful completion, then swaps or merges the new result. It rereads source records, blocks scheduled syncs while running and can preserve or remove history depending on the chosen option. Check mode and destination support before choosing it.

Documented operation scope. The availability of Refresh options depends on the stream's sync mode and destination.

When should you use Refresh instead of Clear?
Recovery operationExisting destination dataHistorical riskCheck before proceeding
ClearEmptied; a subsequent sync is neededSource may no longer reproduce old recordsBackup, downstream stop and reload plan
Refresh and Remove RecordsOld data remains queryable during refresh; completed result replaces its historyUnavailable source history can disappear from the completed resultSource completeness and retained history
Refresh and Retain RecordsEarlier records are kept and new data merged according to modeCopies can raise storage and compute workCorrect deduplication and intended history retention

The last two are not interchangeable deletion strategies. Retaining earlier records can be the right recovery choice while still requiring separate handling for source deletions. A successful refresh also does not repair a cursor that will miss tomorrow's changes.

Before any destructive recovery, establish the affected streams, the last trusted output, historical availability and the restoration path. Preserve data that cannot be recreated. Identify every downstream job that might interpret an empty or partial result as a real business change.

For a renewal audience, for example, an empty intermediate table must not automatically mean “remove all accounts from renewal follow-up.” Pause that consumer or put a completeness gate in front of it while recovery runs.

Estimate reread cost separately using the Airbyte pricing guide. If comparing providers, how Fivetran bills a re-sync of unchanged rows is a separate pricing rule; do not apply it to an Airbyte job. Check the actual platform meter and destination cost before recovery.

Trace the first incorrect stage before selecting a recovery operation. Preserve history that cannot be reproduced, protect downstream consumers, and resume only after the replay meets the stream’s actual business acceptance checks.

How the workflow fits together
Locate the first incorrect stage in an Airbyte stream, repair the cause and scope recovery, hold destructive actions when history or restoration is unresolved, then protect consumers and reconcile replayed results before resuming operation.
Read diagram as text
  • Trace an affected source record to the failed output to The first incorrect stage is identified?.
  • The first incorrect stage is identified? to Inspect cursor keys logs and destination metadata: No.
  • Inspect cursor keys logs and destination metadata to Trace an affected source record to the failed output.
  • The first incorrect stage is identified? to Repair the cause and choose the smallest recovery scope: Yes.
  • Repair the cause and choose the smallest recovery scope to Historical data and restoration requirements are protected?.
  • Historical data and restoration requirements are protected? to Hold destructive recovery and preserve unreproducible data: No.
  • Historical data and restoration requirements are protected? to Protect consumers and run the bounded replay: Yes.
  • Protect consumers and run the bounded replay to Grain history critical values and totals pass acceptance?.
  • Grain history critical values and totals pass acceptance? to Keep consumers gated and inspect the failed cases: No.
  • Keep consumers gated and inspect the failed cases to Trace an affected source record to the failed output.
  • Grain history critical values and totals pass acceptance? to Resume with the reconciled output and owned recovery procedure: Yes
Open full diagram

What should you keep in the acceptance pack?

Maintain a small set of synthetic records that represents the failure modes above. It should be easy to run after a connector upgrade or schema change. The purpose is to prove the business output remains correct, not merely that the connection still authenticates.

Checklist

  • A new record appears once in the intended current-state model.
  • An update changes the expected field without creating a second business entity.
  • Repeated delivery does not change the result.
  • Reused IDs across source accounts remain separate.
  • A source deletion or archival action produces the agreed downstream outcome.
  • A new field has the expected historical coverage.
  • An incompatible critical value is detected and investigated.
  • A recovery rehearsal protects consumers from incomplete data.

Airbyte's job logs help investigate extraction and loading failures; downloading a job's logs includes its attempts. Keep that technical evidence alongside the business reconciliation result. Neither is a substitute for the other.

Hand over the stream's key, cursor, mode, history requirement, owner and recovery procedure with the dashboard. If that ownership or reconciliation is missing, bring the affected stream and one representative record to the $99 martech audit, or request a detailed warehouse repair scope.

Keep reading

Browse all Data Warehouse guides

Questions people ask

How should a team choose a reconciliation tolerance?

Set the tolerance from the consumer's requirement and explain which differences it permits. A current customer key may require exact agreement, while an unfinished reporting period may allow a documented timing difference. Separate those cases instead of applying one percentage everywhere. Record the missing records and value involved, then have the consumer's owner approve any exception before publishing the result.

Does an Airbyte credential rotation require a full reload?

A credential change alone does not establish a need to reread the source. Verify that the new identity sees the same approved objects and fields, inspect the connector's authentication instructions and preserve the existing state unless the migration requires otherwise. Then run a bounded sync and reconcile expected changes. Unchanged credentials can also hide a permission change, so compare visibility as well as authentication success.

How should you validate an Airbyte source with no reliable row count?

Use several independent checks: known records, date coverage, key uniqueness, financial totals where available and source-specific completeness signals. A matching count can conceal substituted records, while an unavailable count does not prevent every useful test. Record what the source API can establish and what remains unknown. Keep high-impact consumers gated when the evidence cannot support a complete snapshot.

What changes when several teams extract from the same source account?

Coordinate their extraction schedules, source limits and change notifications through one named source owner. A team testing a historical reread should know which other consumers depend on that account and when they need fresh data. Keep each connection's scope and permissions explicit. Review the combined demand before adding another pipeline so one team's recovery does not unexpectedly delay another team's work.

How do you retire an obsolete Airbyte stream safely?

Find the reports, models and activation jobs that read it, then move or retire those consumers before disabling extraction. Confirm the retention and recovery requirements for its existing data and record the final trusted point. Disabling a stream and deleting its historical destination data are separate choices. Keep a named owner until the downstream checks and any required cleanup are complete.

Sources

  1. Airbyte: sync-mode documentation.
  2. Airbyte: incremental append documentation.
  3. Airbyte: metadata reference.
  4. Airbyte: Backfill settings.
  5. Airbyte: Clear documentation.
  6. Airbyte: Refresh.
  7. Airbyte: job logs.
Portrait of Jafrin Akter Alo

Written by

Jafrin Akter Alo

Data Engineer and Co-founder at Martechdevs and Growth and Analytics Partners

Jafrin writes practical guides to marketing technology, customer data, analytics and AI workflows. Martechdevs is a Growth and Analytics Partners company.

View LinkedIn profile

Book a Free Call

Thirty minutes on your stack and what it needs. Free, and no pitch.

Thirty minutes, and you leave with a plan

We look at what you have, what it is costing you and what to do about it first.

  • 30 minutes
  • Video call, link on booking
  • No obligation

What we'll cover

  • Your current stack and where it hurts
  • Quick wins we can ship first
  • An integration roadmap
  • Timeline, scope and next steps

Calendar not loading? Open it in a new tab or email hello@martechdevs.com.