What happens when a vendor changes their API and our integration breaks?
If you are lucky it fails loudly and stops. The dangerous version is a field that quietly goes empty or changes meaning - the job still runs, the data still looks plausible, and reports drift for weeks. Guard against it with validation on ingest: expected fields present, values inside known sets, row counts inside a normal range, and an alert when they are not.
Hard breaks are the good outcome
An endpoint removed, an authentication method retired, a required parameter added - these fail immediately and visibly. Someone gets paged, the fix is obvious, and the damage is bounded by how quickly you notice.
Soft breaks are the expensive ones. A field is deprecated and starts returning empty. A new value appears in a status list your mapping does not recognize and gets bucketed as other. A number switches from one unit to another. Every job completes successfully. Reports shift by a few percent, then more, and by the time someone questions it you are reconstructing three months of history.
Validate on the way in and refuse bad batches
The defense is a contract check at ingest, run before anything is written downstream.
- Required fields present. Not just present in the schema - populated at a rate consistent with history.
- Enumerated values known. Any status, type or source value you have never seen before halts the batch for review rather than silently mapping to a default.
- Row counts in range. Compare against the same weekday over recent weeks. Zero rows on a Tuesday is a failure, not a quiet day.
- Null rate per field. A field that was ninety percent populated and is now empty is the clearest early signal of a soft break.
Track the vendor like a dependency
API changelogs, deprecation notices and version sunset dates should reach a person on your side, not an unmonitored inbox created during implementation. Subscribe with a shared address. Note version end-of-life dates on a calendar with a lead time long enough to actually do the work.
Where a vendor offers a sandbox, use it before their changes reach production. Where they offer versioned endpoints, pin a version deliberately rather than tracking latest, and upgrade on your schedule. This is standard practice in API integration work and it converts emergencies into planned tasks.
Keep raw payloads so you can repair history
Store the unmodified responses you receive, not just the transformed rows you keep. Storage is cheap and it is the difference between fixing a mapping error by replaying stored data in an hour, and re-pulling months from a vendor that may no longer expose the older records.
This single habit has rescued more integrations than any amount of clever code. It also lets you answer, definitively, whether a discrepancy came from the vendor or from your own transformation - the argument that otherwise consumes a week. It is a default in how we build the Bluefrog Intelligence Platform pipelines.
Topics: schema drift · API versioning · reliability · data validation
Have a version of this question about your own business?
The useful answer usually depends on which systems you run and how they're connected. That's a conversation, not a blog post.