21 November 2026 · 5 min read
When an API says success but nothing was saved
How a production pipeline passed every check while two thirds of its work did nothing, and the validation pattern that catches it.
A scheduled pipeline had run cleanly for months. Every execution was green, no errors, no alerts. It was supposed to update thousands of records in a third-party pricing tool. When the records were checked by hand, most of them had never changed.
What was actually happening
The API returned a status of success with an empty data payload whenever the record it was asked to update did not exist on its side. No error code, no message. From the workflow's point of view, every call succeeded. Comparing what the API claimed against what actually landed showed that roughly two thirds of the completed tasks had written nothing at all.
This is the most expensive kind of failure in automation: the quiet one. A workflow that crashes gets fixed the same day. A workflow that reports success while doing nothing can run for months, and every report built on top of it is wrong.
The fix: validate the result, not the status
- Check that the response contains the thing you asked for, not just that the request returned 200
- Where the API allows it, read the record back after writing and compare the fields that matter
- Pre-check that the target record exists before sending the update, and route the missing ones to a separate list a person can act on
- Count successes by confirmed writes, not by completed requests, and alert when the two numbers drift apart
In this case a catalogue pre-check went in front of the update step. Records that existed were updated and confirmed; records that did not were logged with a clear reason instead of being silently marked complete.
How to tell if your workflows have this problem
Pick one automation that writes to another system and check twenty of its recent successful runs against the destination by hand. If the numbers do not match, the status codes are lying to you. It is a ten-minute check, and it is usually the first thing done in a workflow audit.
Seeing this in your own workflows?
Send a note with the tools involved and what you are seeing.
Email me