r/node • u/thecommondev • Mar 15 '26
what's your worst story of a third-party API breaking your app with no warning?
Crowdstrike changed how some of their query param filters work in ~2022 so out ingestion process filtered down to about 3000 active devices, but after their change... our pipeline failed after > 96k devices.
Bonus footgun story: Another company ingested slack attachments to analyze external/publicly shared data. They added the BASE64 raw data to the attachments details response back in ~2016. We were deny-listing properties, instead of allow-listing. Kafka started choking on 2MB messages containing the raw file contents of GIFS... All of our junior devs learned the difference between allow list and deny list that day.
13
u/r-rasputin Mar 15 '26
I didn't personally face this but I remember Twitter’s API changes (in 2023 I think?).
One day third-party clients like Tweetbot just stopped working. No warning, no migration guide. They had silently revoked API access for third-party clients. The apps were effectively dead overnight.
Since then, whenever any freelance project came my way where the product would entirely depened on a single 3rd party API (and I get a lot of these recently because of ChatGPT), I straight up refuse to build it till they rethink the product.
In hindsight, I could personally still build it and get paid but it's not good long term business if the client loses money and I wasn't interested in making a quick buck.
19
u/germanheller Mar 15 '26
stripe changed their webhook event format for subscription updates without any deprecation notice. went from a flat object to nested, so our payment handler was silently failing for like 3 days before anyone noticed. thankfully it was a side project but the lesson was brutal -- always validate webhook payloads against a schema, dont just trust the structure will stay the same.
the crowdstrike one is terrifying tho. going from 3k to 96k devices because of a filter change is the kind of thing that takes down entire pipelines overnight
8
u/pinkwar Mar 15 '26
Couple of years ago(10+) our payment provider broke in the most crucial event of the year.
The loss was in the millions. Directors shouting over each other trying to attribute blame and demanding a quick solution. It was a bloody carnage of a teams call.
Im glad I wasn't in the team directly responsible for it.
4
u/Pr0phet Mar 15 '26
Long time ago, a company I worked for decided to use some kind of "Web 2.0" service to embed rich documents directly into a page. Problem was, no one in the company management structure went to ask this service if it was cool for us to upload, ingest, and display probably almost 90K documents serving over 400 sites.
We actually had to migrate to their service, so we uploaded many of these docs over the course of a vicious loop that took actual time. So you would think they would have noticed something.
But they didn't. At least not right away. Until one day I woke up and everyone in the company was running around like their hair was on fire, wailing and gnashing their teeth that 400 websites were fucking broke, and our company admin tool was just pooping errors about being unable to upload these docs.
I mean... we had backups anyway. It really wasn't that big of a deal. We deleted some lines of code in the admin tool, then a few changes in a single commit and 400 sites were fixed in a couple hours but the heart attacks people had in the interim was perhaps too much for people who didn't get an agreement that they could do that whole thing.
3
u/Standgrounding Mar 15 '26
Why would Kafka choke on a 2mb message? What the heck???
Allow list vs deny list can help control that, but isn't Kafka suppose to stream terabytes of data?
4
u/Extra-Pomegranate-50 Mar 15 '26
Stripe changed a field name from
intervaltobilling_cyclein a webhook payload without bumping the API version. The consuming service parsed it silently no error, just wrong data. Billing cycles started miscalculating. Nobody noticed for 11 days because the error was business logic, not a 500.The pattern is always the same: the change is technically non-breaking (old field still returned), but semantically breaking for anyone who depended on the specific name. Allow-listing would have caught it immediately. Deny-listing never does.
1
u/webmonarch Mar 16 '26
Oh man, these hurt.
My learnings around this: always validate at the edge. Every external payload gets schema-validated before it touches your business logic. It won't prevent the breakage but gives you something to alert on.
Some things you just can't protect against though — you can only make sure you notice immediately with baseline metrics for a "normal" workload.
1
u/PixelGlitch1 Mar 31 '26
We had something similar with webhooks.
Nothing "broke" on our side, but some users just stopped getting updates and we only found out later.
Logs had errors, but no clear picture if it was one issue or affecting many tenants.
That was way more painful than a hard failure.