Someone Else's Switch: The Day a Supplier API Goes Dark
Photo: SmashingIt99, CC0, via Wikimedia Commons
The build is red. The dashboard is a 404. The support inbox replies with a cheerful automated message about high volumes. Somewhere between the morning stand-up and the second coffee, you realise a supplier API your client work depends on has gone dark. Not crashed for ten minutes. Gone.
This is not a rare event. Small services get acquired, pricing models get rewritten, free tiers get tightened and maintainers move on. For a studio, the awkward bit is that the dependency often lives inside a dozen client projects before anyone writes its name on a risk list. The fix is not to build everything yourself. The fix is to make supplier exits boring.
Start with a dependency ledger, not a panic spreadsheet
You do not need a enterprise-grade configuration management database. You need one honest list that someone can open in thirty seconds. Ours lives in the studio repo as a plain markdown file, with a link from the project README.
For each service, we record: what it does, which projects use it, who owns the relationship, what we pay, what data passes through it, where the credentials live, and what happens if it stops answering. That last column is the one people skip. Do not skip it.
Include the unglamorous stuff as well: email delivery, file storage, maps, authentication, analytics, font hosting, error tracking, even the CDN in front of the marketing site. If a client project cannot send a password reset or display a map without it, it belongs on the list.
The four questions that change the mood
When we review a dependency, we ask four questions. They are deliberately plain.
- What breaks first if this disappears?
- Can we switch, and how long would that take?
- What does the client see while we are switching?
- Who tells the client, and when?
The answers do not need to be perfect. A payments API might be a two-week job to replace, with a manual invoicing workaround in the meantime. A map provider might be a feature flag and a quiet afternoon. The point is to know which is which before the status page turns amber.
We also mark each service as green, amber or red. Green means a known alternative and a tested fallback. Amber means we could move but it would hurt. Red means we have built a business process on someone else's undocumented behaviour and we should probably talk about that.
A one-hour quarterly review that actually happens
Supplier risk reviews fail when they are annual, enormous and owned by nobody. Ours is quarterly, one hour, and has a short agenda.
- Fifteen minutes: add any new services added since the last review.
- Twenty minutes: re-rank the red and amber items. Has pricing changed? Has the changelog gone quiet? Has the company been acquired?
- Fifteen minutes: check that the fallback still exists. A documented alternative that was retired six months ago is not a fallback.
- Ten minutes: decide which client conversations need to happen this quarter.
We run it on the first Thursday of the quarter, before client work gets busy. It is not a technical deep dive. It is a hygiene pass. The output is a short note in the studio log, not a forty-slide deck.
Build a small escape hatch on purpose
You do not need to abstract every API behind an internal service. That way lies over-engineering and a codebase nobody wants to touch. But for the handful of suppliers that would genuinely hurt, a thin adapter is worth it. One module that wraps the supplier's calls, one place to change when the replacement arrives.
We also keep a break-glass runbook for red dependencies: where the credentials are stored, which environment variables need changing, what the replacement options are, and a rough estimate of engineering hours. It is not a full migration plan. It is the first hour of one.
Data is part of the plan too. If a supplier holds client data, we check that we can export it in a useful format. Under UK GDPR, a processor disappearing does not remove the client's rights or our obligations. That is a conversation for contracts and data processing agreements, not a paragraph in a blog post, but it belongs on the risk list all the same.
Telling the client without causing a scene
Clients do not need a supplier risk lecture. They need to know what happened, what it means for them, and what you are doing. Keep it short and specific.
We use a third-party service for [function] on your [project]. The supplier has announced [change]. Your site is still working normally, and we have a fallback ready. We are monitoring it and will update you by [date]. If we need to switch, the expected impact is [brief description]. No action is needed from you today.
That is the shape. No blame, no jargon, no pretending there is zero risk. If the supplier has genuinely gone dark and something is broken, lead with the impact and the workaround. Save the post-mortem for when the fire is out.
The goal is not immunity
You cannot prevent a supplier from being acquired or deciding that its API is now an enterprise product. You can prevent the discovery happening through a broken build on a Friday afternoon. Put the dependency ledger somewhere obvious. Book the quarterly hour. Keep one fallback honest. And when a supplier disappears, aim for a boring internal note rather than a studio-wide incident.